The Satay Method Question
Howdy,
With the following code:
Code:
<object type="application/x-shockwave-flash" data="images/homepageflash.swf"
width="360" height="276">
<param name="movie" value="images/homepageflash.swf" />
<img src="noflash.gif" width="200" height="100" alt="" />
</object>
Can I make the "noflash.gif" link to another webpage if clicked?
Also he mentions:
"Just include one sacrificial movie at the front of your site that has the codebase attribute. "
What would that exact code be?
I see:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="360" height="276">
<param name="movie" value="images/homepageflash.swf">
<param name="quality" value="high">
<embed src="images/homepageflash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="360" height="276"></embed>
</object>
Would I just have to include:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="360" height="276"></object>
?
Thanks,
Computerpain
now using SWFObject... expressinstall.swf help
Howdy,
I now have my flash element embedded using the following code :
Code:
<script type="text/javascript" src="include/swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("images/homepageflash02.swf", "3mindemoteaser", "360", "276", "8", "#FFFFFF");
so.write("flashcontent");
</script>
This all works great.
I wanted to then add the Express Install feature to my flash element. According to the documentation for SWFObject I just need to add the following line :
Code:
so.useExpressInstall('expressinstall.swf');
That seems pretty simple. However, I cant seem to fine the file expressinstall.swf. I see expressinstall.as is part of SWFObject zip when i downloaded it... but where can I find expressinstall.swf and is it really that easy to implement?
Thanks,
computerpain