Forum Moderators: open

Message Too Old, No Replies

Flash looping

play it once

         

buksida

8:32 am on Jan 19, 2004 (gmt 0)

10+ Year Member



Hi, great site been reading for a while and decided to get posting. First little problem I have is with a Flash intro I've done that always loops when I only want to play it once. I have tried unselecting 'loop' in Publish settings but it still does it. Any ideas? Cheers.

richardb

8:56 am on Jan 19, 2004 (gmt 0)

10+ Year Member



Try using the following action script in the last frame of your movie

"stop();"

Rich

thehittmann

10:31 am on Jan 19, 2004 (gmt 0)

10+ Year Member



you can do it as a parameter also
loop="false"

buksida

5:58 am on Jan 21, 2004 (gmt 0)

10+ Year Member



worked a treat, thanks (i know it was simple but I'm only a newbie at this!).

another quick Q if i can: how do i get the 'loading' bar to show while the animation is loading? Its only small but I'd still like to show it (we have very slow internet connection in Thailand!)

treetopper

5:29 pm on Feb 2, 2004 (gmt 0)

10+ Year Member



Insert extra 2 frames at the start of your animation. Make a 'loading' animation and put it in the first frame . In the second frame insert script code to tell the animation to play - (ie move to frame 3) once the last frame of your animation is read. The movie will then start with the loading animation and then play starting at frame 3 once the entire animation is downloaded. You will find details of the scripting required on the macromedia site.