I need adobe Flash help asap.

.jr

Active member
Simple shit I cant seem to get to work. I cant get a stop script or a button to work properly. Im using actionscript 3, select a frame, go to actions and type in stop(); but nothing happens. Help me..
 
I may need to look at your project file to help you out and I won't have access to Flash until tomorrow. Each movieclip, including the main timeline, has it's own timeline. That means if you put the script in the wrong timeline, it won't affect the timeline you want it to affect. Make sure there is an "a" in the timeline where you want it to stop.
 
If your button is cycling and you want it to stop, there are two ways. The simplest is to put stop(); in the button's timeline on the frame where you want it to stop, or if you have button instance of myButton you could do something like the following in the main timeline:

var stopFrame:int = 1; //the number of the frame

myButton.addEventListener(Event.ENTER_FRAME, onStopFrame);

function onStopFrame(event:Event){

if (event.target.currentFrame == stopFrame){

event.target.stop();

}
 
It is, its just not stopping. And its due tomorrow.

^^Its an animation, not web design. Ill give you $5 to do this 30second animation in html.
 
Back
Top