Welcome to WebmasterWorld Guest from 54.242.138.24

Forum Moderators: open

Message Too Old, No Replies

Flash pause and play

     

andrewsmd

7:20 pm on Jan 27, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



I have a swf file embedded in my html page. Right now it just loads on the page load. I was wondering how I stop that from starting automatically and how to put in a play pause ff and rewind buttons (if possible). Here is my code
<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="640" HEIGHT="480 id="loginCallout" ALIGN="">
<PARAM NAME=movie VALUE="myFile.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=green >
<EMBED src="myFile.swf" quality=high bgcolor=#333399 WIDTH="640"
HEIGHT="480" NAME="myFile" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT>

Thanks

rocknbil

3:31 pm on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You'd do this directly in the Flash. Put stop(); in frame 1. Create buttons and attach movie.play(), movie.stop(), and movie.goToAndPlay(1) to the buttons for your actions, where "movie" is the movie clip object.

andrewsmd

5:07 pm on Jan 28, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Is there a flash editor I can do that with? I did this in camtasia and just produced the video as .swf.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month