Click to See Complete Forum and Search --> : What do I change so the slideshow plays just once?


mickapoo
05-28-2009, 04:28 PM
I'm a COMPLETE newbie, so please don't be too hard on me. I have a Flash slideshow, and instead of having it repeat, I just want it to play one time. I did not create the Flash file itself, so I don't know if there is something there that needs to be changed, but I was wondering if, in this code snippet I could specify that it only play one time instead of continuing to loop?

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="2000" HEIGHT="2000" id="flashslide" ALIGN="">

<PARAM NAME=movie VALUE="flashslide.swf?imglist_fn=getimglist.txt&img_path=img&interval=3000&w=780&h=170">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=scale VALUE=noscale>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="flashslide.swf?&imglist_fn=getimglist.txt&img_path=img&interval=3000&w=780&h=170" quality=high scale=noscale wmode=transparent bgcolor=#FFFFFF WIDTH="2000" HEIGHT="2000" NAME="flashslide" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>



Thank you for your help!

Eye for Video
05-28-2009, 05:16 PM
The code above does not show any controls for looping or not. Even if it did, the .swf itself may be set to loop or not loop. So you really need to look at options that came with the slide show (or get inside the .fla), not just the code to place it on the page.
EfV

omerhassan
05-31-2009, 07:01 AM
If your slideshow is just an animation over a Timeline, then there's a really simple way of doing this:
find the last frame of your Timeline,
press F6 (to insert a key frame if it's not already there),
right-click the key frame and click Actions,
now type "stop();" in the Actions window and this slide show won't loop again.

Remember to add the stop() action at the very last frame or your animation will stop before it is supposed to.
If you're unable to type in your actions, you might have to turn off Script Assist.