This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2006 > Looping Scenes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Looping Scenes
Donjworks

2006-04-06, 6:44 pm

Hello,
Im a newbie to this world of Flash Sites, and I need some help. I need to loop
a single scene, until the viewer presses a button to change scenes. Im not sure
if this is possible, but any information is welcome!

Thanks,
Donjworks.

http://www.freewebs.com/donjworks

David Stiller

2006-04-06, 6:44 pm

Donjworks,

> I need to loop a single scene, until the viewer presses a
> button to change scenes. Im not sure if this is possible,
> but any information is welcome!


Put a frame label into the first frame of that Scene. In the last frame
of that Scene, add ActionScript that says ...

this.gotoAndPlay("whatever you put for the frame label");

That will loop your Scene. For the button, set up another frame label
outside the range of these looping frames and have it send the playhead to
that one.


David
stiller (at) quip (dot) net
Dev essays: http://www.quip.net/blog/
"Luck is the residue of good design."


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews