homepage Welcome to WebmasterWorld Guest from 54.211.231.221
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Flash pause and play
andrewsmd




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

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




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved