To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-28-2007, 06:51 PM   #1
computerpain
Member
 
Join Date: Aug 2003
Location: Earf
Posts: 67
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
computerpain is offline   Reply With Quote
Old 02-28-2007, 06:58 PM   #2
e-marine
Junior Member
 
Join Date: Jun 2003
Posts: 16
computerpain-

You may want to take a look at SWFObject. Included at the site is why SWFObject is better than the Satay method. I used the Satay method for about a year until I came across SWFObject.
__________________
When quitting is no longer an option, you're half way there -- Semper Fi
e-marine is offline   Reply With Quote
Old 03-01-2007, 11:00 AM   #3
computerpain
Member
 
Join Date: Aug 2003
Location: Earf
Posts: 67
emarine,
Thanks I will look into it!
computerpain is offline   Reply With Quote
Old 03-01-2007, 03:24 PM   #4
computerpain
Member
 
Join Date: Aug 2003
Location: Earf
Posts: 67
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
computerpain is offline   Reply With Quote
Old 03-01-2007, 04:34 PM   #5
e-marine
Junior Member
 
Join Date: Jun 2003
Posts: 16
Odd. I just downloaded the file and expressinstall.swf was included. Anywho, click the following to download a zip file containing expressinstall.swf.

Expressinstall

And yes... it is that easy to implement. Good luck.
__________________
When quitting is no longer an option, you're half way there -- Semper Fi
e-marine is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:58 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.