Jump to content

Swf File Start


Pauls74462
 Share

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...