flash (macromedia):
i have a graphic appearing and scrolling across the stage in scene 1, i need the graphic to scroll endlessly in scene 2. is there a way to loop just one scene and not go back to the first scene unless it is reloaded. thanks
put a label on the first frame of scene 2 (eg "loop") then on the last frame of scene 2 put script this.gotoAndPlay("loop"); to make it go back to the frame your labelled "loop" -- All the best, Jeckyl
sorry, i don't know why i'm not getting this. in scene 2, i've labelled the first frame in a layer i've named 'actions' and have added the 'gotoAndPlay' script in the last frame of the same layer. yet, when it reaches the last frame it loops back to the first scene like it hasn't even registered. also, will this script, if i can ever get it to work, loop just scene 2 endlessly. thanks
yes. something that i did earlier while trying to figure it out was probably causing it to screw up. i started all over and, sure enough, it worked.
It should work .. hard to know what you've really done without seeing it. Are you using Test Movie to test it, or just playing the timeline (playing the timeline will not do scripting)? And yes .. it will loop endlessly (that's pretty much what you were asking for), unless you provide some means of stopping it (eg a button that goes to a frame in another scene when you click on it etc) -- All the best, Jeckyl
Don't see what you're looking for? Try a search.
|