Make SWF Auto Play

Joined
Jan 24, 2008
Messages
1,200
Reaction score
340
I currently use SwishMax 2.0 to create SWF movies. What I am trying to is have them auto play when someone loads my website page (instead of needing to do a mouse rollover or release, etc).

Any ideas?
 
Just create a function and call it like:

function init()
{
//what to do
};
init();
 
Try changing your code to this:

Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="500">
<PARAM name="PLAY" value="true">
<EMBED src="file.swf" width="700" height="500" play="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></EMBED>
</OBJECT>
 
Back
Top