Help - Search - Members - Calendar
Full Version: flash movie help
Forums > Resource Center > Graphics Help > Graphics Help Resolved Topics
DrNick311
How do I get a flash movie to play only once? Do I need to fix something in Flash MX or does it need to be in the code?

This is what I'm using:

CODE
<!-- begin code provided by createblog.com -->

<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="400" HEIGHT="280" id="NAME" ALIGN="">
<PARAM NAME=movie VALUE="YOUR_SWF_FILE"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://homepages.stuy.edu/~jnelson/lp.swf" menu=false quality=high bgcolor=#FFFFFF  WIDTH="400" HEIGHT="280" NAME="NAME" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" loop="FALSE"></EMBED>
</object>

<!-- end code provided by createblog.com -->


I thought that setting Loop to False would stop it, guess I was wrong wacko.gif
tofumonzter
You have to stop it at the last frame in ActionScript. wink.gif
xquizit
yep, add a stop(); script in the last frame of your movie.
DrNick311
I got it working, thanks _smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.