Questions tagged [flash-cs4]

Flash CS4 Professional is a tool for creating Flash Applications. It is part of the Adobe Creative Suite 4.

Filter by
Sorted by
Tagged with
0 votes
1 answer
173 views

AS3 Error: Access of undefined property Event

I'm making a game in Flash CS4 using AS3 and I've been trying to make a Play button that works. I already know how to make it work but while debugging I always get "Access of undefined property ...
Kiffolisk's user avatar
0 votes
1 answer
46 views

Use an objects name to make changes to the object

I have created multiple instances of one object each with there own instance names with numbers on the end. I would like to iterate through these names (they have numbers on the end), modify there ...
Antfere's user avatar
  • 90
0 votes
1 answer
134 views

Create associative array with arrays as values

In cs4 I am attempting to create an associative array where the values are arrays. These arrays have just two elements and I want to call one of these two elements like this: var array1:Array = [5, "...
Antfere's user avatar
  • 90
0 votes
0 answers
86 views

*RPG-Engine Troubleshoot (AS3): "Multiple Levels" code snippet returns a "null" HitTestObject

*Hello! I'm working on an open-source game engine scripted in AS3 and I am attempting to have the MC advance to another area/level... *How it Works/The Idea... When the MC obtains a key, it ...
CodeBlue's user avatar
0 votes
1 answer
72 views

First question! NPC walk-cycle randomizer is working as intended (boundaries do need tweaking), but not playing the nested walking animations? (AS3)

Pretty much, the walking animations won't work with the switch statement I think? That's what it looks like, but the randomizer itself works fine. What I wanted to do was rewrite the working code for ...
CodeBlue's user avatar
0 votes
0 answers
55 views

How can I rotate an object around its local Y axis rather than the global Y axis using actionscript-3?

I have a flat object, eventually it will be a circle, but for now I just have a 2d square on the stage. I tip it back 75 degrees, and then rotate it around the y axis. I have this code which has ...
Chris Parker's user avatar
2 votes
0 answers
27 views

Transparency became blue, Flash

My project has many layers with transparency, but suddenly they turned blue Because of what it can and how can I fix it? Reloading does not work
Candyse's user avatar
  • 51
0 votes
2 answers
133 views

How to rotate triangle such that its base is flat straight?

considering my English is not very good. I will try to use picture Hopefully you can get what I mean. Basically what I want is I want to rotate the triangle such that the base of the triangle is ...
ddeark's user avatar
  • 13
0 votes
1 answer
37 views

HitTestPoint not working, collisions not happening

I'm trying to create something similar to Impossible Quiz Question 5 (1st quiz). However the hitTestPoint appears to be not reading. I'm not exactly sure where my error is. Here is my full line of ...
ChevyLuke's user avatar
-1 votes
1 answer
38 views

Actionscript code errors

I am currently working on a personal project on a money counter and am really stuck with my code. If somebody can assist me, the final textbox with the answers is not showing up in my project. The ...
L4ROCQUE's user avatar
0 votes
1 answer
56 views

Object does not return to original position when released cs4

I am making a drag and drop activity where multiple items are to be placed at the same target. I have action code on the main time line and then code attached to a sprite. Problems: When I release ...
user7259892's user avatar
0 votes
1 answer
69 views

Flash CS4 AS3 Event not working

I can't attach a simple event handler to a lousy movie clip. Not a single tutorial worked for me and I followed them carefully. Over an hour wasted for nothing... again! Here's what I did: Layer1: ...
Bruno's user avatar
  • 623
0 votes
1 answer
967 views

how to drag and drop button to target button in flash

I want to create a button which can be dragged and dropped toward another button so that the button location (x, y) is dragged into the location of the destination button. My code: sejarah.onPress = ...
Arif Alami's user avatar
0 votes
1 answer
128 views

Accessing animation of nested symbols using AS3 in Flash CS4

It's for my college project again. I am making a Zombie shoot-em-up game. I created a Zombi symbol with the default Zombie sprite. Inside the symbol I placed three more sprites that are ZombiAttack, ...
Rishi's user avatar
  • 155
0 votes
1 answer
191 views

Cannot view data returned by amfphp

I've recently set up amfphp 2.2.1 on my win7pro (iis7.x) local host in the hope of getting away from XML between phph and Flash. I Followed the inital 'hello world' tut on amfphp website and ...
Filious's user avatar
  • 107
0 votes
2 answers
70 views

Add your Stage in a ScrollWindow ActionScript 3.0

I'm gonna try explaining my situation with images, to make sure that everyone will understand what i want to succeed. First of all i have 3 files: GenImage.fla which is linked to class GeneralImage....
VagPel's user avatar
  • 5
0 votes
1 answer
456 views

Does Flash CS3 export SVG's?

The only reason I use flash is for vector editing. I do not like what Adobe has done to the drawing tools in CC. No longer can I drag shapes and the anchor point be on the outside automatically. ...
David Provost's user avatar
1 vote
1 answer
70 views

Flash CS4, Inactive buttons

I have no syntax errors when I run this code. I checked the variables and the functions in the action panel and it works fine. But, when I remove the codes from the action panel, and try to run the ....
Term Jay's user avatar
0 votes
0 answers
63 views

how to have a image refreshing acording to the clock?

I want to have 3 computers side by side refreshing a fullscreen image at certain times. how can i do that? computer 1 - refresh one image every day at 00:00am (365 images/year) computer 2 - refresh ...
Rogério Machado's user avatar
0 votes
1 answer
26 views

Actionscript 3 button within movieclip

function OPTIONbtn(e:MouseEvent):void { trace("play"); var ClickSound:click_sound = new click_sound(); //attach sounds var myChannel:SoundChannel = ClickSound.play(); var optionBOX:...
Jayfee Ramos's user avatar
0 votes
0 answers
588 views

Video not showing using netstream(bytes)

im working on video streaming i have a php api that return the video and then play it using byte array,but video is not showing, but when i look at the trace is hows the downloaded bytes and ...
darrel's user avatar
  • 51
0 votes
1 answer
211 views

ActionScript 3 if condition error

I have the following code in my game: var type:Number = Math.random() * 1000; var lifeCoinLevel:Number = 1; var lives:Number = 2; var maxLives:Number = 3; var coins:Array = new Array(); if(...
garyry's user avatar
  • 61
1 vote
1 answer
126 views

Dragging movie clips in Action Script 3

Hi so recently I have been attempting to Drag a movie clip in AS3 but I'm having some trouble picking up with the hit tests anyone got any ideas? Just to clarify, the issue is that when the movieclips ...
Trows's user avatar
  • 391
0 votes
2 answers
63 views

Accessing checkboxes within a movieclip

I've run into a bit of a pickle here, and am wondering if anyone could help me out. I current have a main MovieClip (mc_investigations) on the stage, and within it are 18 checkboxes (cb_1, cb_2 etc). ...
user2022801's user avatar
0 votes
2 answers
205 views

PHP not recognising Flash undefined var

I'm having a problem with Flash AS3 and PHP 5.3.29 I have a var that I want to pass to PHP. This var will in certain cases be undefined or will have a value. if(!isset($_POST['varName']) || empty($...
Filious's user avatar
  • 107
0 votes
1 answer
1k views

Error 1084 in AS3 (expecting identifier before dot)

I'm trying to access a function I've defined in an .as file I've imported. However, I keep getting error 1084. Can somebody please tell me what I'm doing wrong? Here is the code from my .fla file: ...
15leungjs1's user avatar
0 votes
1 answer
256 views

Error 1046: Type was not found or was not a compile-time constant: Program

I'm trying to link my .as file to my Flash program. Below is the code from my .as file: package com.project { import flash.display.Sprite; import flash.events.*; public class Program extends Sprite{...
15leungjs1's user avatar
2 votes
1 answer
2k views

Error 1131: Classes Must Not Be Nested

I'm using Flash CS4 Professional to build a draggable element. However, whenever I input my code, I get error 1131. Can somebody please tell me what I'm doing wrong? stop(); class Scrollbar extends ...
15leungjs1's user avatar
-1 votes
2 answers
866 views

Error 1105: Target of Assignment must be a Reference Value

Flash says the code is on my second line, but I've done some reading and it says this error is mainly due to me trying to assign a value to a value, and I've looked back over my code, and I can't seem ...
15leungjs1's user avatar
0 votes
1 answer
2k views

Flash CS4 Error 1084: Expecting Identifier before Var

I have an identifier, 'this', before my 'var' function. However, it still tells me that I need an identifier before my 'var' function. Below is my code: this.var mc=new MovieClip(); addChild(mc)="...
15leungjs1's user avatar
0 votes
2 answers
80 views

Instance name not working

My code looks like this var newFrame:MovieClip = new MovieClip(); newFrame.graphics.lineStyle(lineWidth, xmlData.config.frame.@color); newFrame.graphics.beginFill(0x000000, 0); newFrame.graphics....
Sterna's user avatar
  • 21
-1 votes
1 answer
498 views

How can I change colors of list component with AS3?

I have tried all kinds of solutions but nothing works. Does someone know how I can change color of background, selected item, etc.
Sterna's user avatar
  • 21
0 votes
1 answer
233 views

How to create a two function button in Adobe Flash- light on/off?

I am trying to create a light switch as an exercise and I am struggling with the on/off functions. The idea is to create a button (with a if -loop) that turns the light on on mouse click and turns it ...
Yoana's user avatar
  • 75
0 votes
0 answers
59 views

Flash CS4 large project can't be exported?

My project on flash CS4 is getting larger, the .fla file is 55 MB and the .swf is 30 MB, I am now trying to export my movie or test it, neither of that works now, I am completely unable to run my ...
Power's user avatar
  • 91
0 votes
1 answer
46 views

AS3 DropShadowFilter() with a 3D instance

I have an instance on stage that has a DropShadowFilter() added by code, when I change rotationXor rotationY of that instance, the angle of DropShadowFilter() goes crazy, so my question How can I ...
Power's user avatar
  • 91
0 votes
1 answer
401 views

How do I check if objects in a frame are loaded yet or not after a gotoAndStop(5) action?

I am facing a problem, where there is a function executed the next line right after a gotoAndStop(130) action, the function depends in its work on the objects inside this frame. but the problem is ...
Power's user avatar
  • 91
0 votes
1 answer
112 views

AS3 Document class - having to import classes which are directly accessible in Timeline code

I am trying to get started with Document class in AS3 with Flash CS4. There is some existing code in the timeline, but for now I've been trying to write just the new code in the Document class. I ...
eternalthinker's user avatar
0 votes
1 answer
377 views

how to change boolean values with timerEvent in as3

I had written this small code to change a boolean value for 0 to 1 and vice versa every second but it doesnt work. The result is it always stays as 0. I must be making some stupid mistake. Please ...
Anando's user avatar
  • 72
0 votes
1 answer
257 views

Can INTERACTIVE applications (for offline usage) be made in HTML5 like in Flash (using Actionscript)?

My plan was to create an interactive map thingy using .swf file that I'd make in Flash CS4 and perhaps incorporate it in my Visual C++ application, add some components and make an .exe file out of it. ...
0lt's user avatar
  • 293
0 votes
2 answers
150 views

AS3 : displaying multiple (unlimited) achievements for 2 seconds each

I'm working on a very simple (1st project) "game" with various achievements. In fact, that's pretty much all there is to the game. Let's say we have 3 possible achievements: Game started You played ...
FMaz008's user avatar
  • 11.2k
0 votes
1 answer
216 views

Flash, Drag and select multiple characters in game

I am learning to make games in Flash. I know I should probably use HTML5 or other platforms but let it be like this. I will learn those stuff later.. My question is like this, I want to select ...
Waleed's user avatar
  • 1,097
0 votes
1 answer
43 views

flash as3 hitdetection function triggering other function

I am trying to code a script in which a movieclip drops a rope and catches fishes that follows it up if it touches it. here is the issue , i am using hitTestObject to detect collision . Ofcourse the ...
Anando's user avatar
  • 72
0 votes
1 answer
55 views

make a movie clip come back up after going down to a certain depth automatically

hi please have a look at the code. When I press keyboard the object goes down however what I want is that when it reached a certain depth it should come back..any help would be appreciated , thank you ...
Anando's user avatar
  • 72
0 votes
1 answer
435 views

Collision Detection with ActionScript 3.0

Hey I am beginner Flash Action Script 3 developer. I am using hitTestPoint() to detect collision between a car and a stage drawing. Car is moving in the stage so I am using hitTestPoint(). There is ...
Waleed's user avatar
  • 1,097
0 votes
3 answers
260 views

as3 space bar function not workingf

I have written a code to move a MovieClip on pressing space bar. So if someone presses space bar ..it activates a boolean variable from false to true and if its true the object moves ..but its not ...
Anando's user avatar
  • 72
1 vote
1 answer
718 views

How to get a Numeric Stepper and sliders to work together in Flash CS4 AS3

Hi I am working on a piece of coursework for school and I want to have a page where I have sliders that reflect a numeric stepper and vice versa however whenever I find a tutorial online it keeps ...
Mattyhammers's user avatar
0 votes
2 answers
331 views

Call the object inside the library by code

I am a newbie. I'm on my project to make a interactive map. I do not want to make it with a many objects, but by the code. I want to ask you, is it possible to show the object in library by the code? ...
Emma Barus's user avatar
0 votes
1 answer
25 views

How to I control 16 images on 16 frames?

I have a fla with 16 frames, and in each frame there is a png from the library. I have a script that publishes each frame in the fla as an individual png. What I am doing now is manually modify each ...
Discipol's user avatar
  • 3,147
0 votes
0 answers
136 views

Flash CS4 - can I increase FLV-video playing speed by AS3?

There is a cycled video in a background loaded in Movie Clip. Is it possible to increase flv-video playing speed(in a certain moment) by AS3?
Indra's user avatar
  • 3
-1 votes
1 answer
138 views

How to do transition to next frame

I'm a beginner in AS3 and Flash. There are index.swf and intro.swf, which is loaded in first frame of index file. In intro.swf I placed a button, which should send command to index.swf main timeline ...
Indra's user avatar
  • 3

1
2 3 4 5
14