Jump to content

Swf File Start


Recommended Posts

it depends on how it has been created? does it play when you click the swf file, if it does all you have to do is set it as 'false' for the 'autostart' in the object AND the embed <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="207" HEIGHT="145" id="kick" ALIGN=""><PARAM NAME=movie VALUE="kick.swf"><PARAM NAME=quality VALUE=high><param name="LOOP" value="false"><param name="autostart" value="true"><EMBED src="kick.swf" WIDTH="207" HEIGHT="145" autostart="true" ALIGN="" quality=high bgcolor=#000000 NAME="kick"TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> if it uses javascript to run the swf file, look again for 'autostart' and change the 'true' value after it to "false"<script type='text/javascript'><!--//AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','335','height','40','src','swfmoviename','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','swfmoviename','title','Swf Title','menu','false','scale','exactfit','wmode','transparent','autostart','true'); //end AC code//--></script>

Link to post
Share on other sites

As far as I'm aware, the autostart parameter is only for audio and video file formats, such as wav, mid, mp3, mpg, avi, and mov.EDIT:Looking through Adobe's documentation, SWF files allow the "play" parameter which is the Flash equivalent to autostart.To prevent the movie from playing immediately, give it a false value

<object data="movie.swf" type="application/x-shockwave-flash" width="550" height="400"><param name="movie" value="movie.swf"><param name="play" value="false">This content requires Flash Player<br><a href="http://www.adobe.com/go/getflashplayer">Get Flash Player here</a></object>

Edited by Ingolme
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...