A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: The Satay Method Question

Hybrid View

  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Earf
    Posts
    69

    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

  2. #2
    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

  3. #3
    Member
    Join Date
    Aug 2003
    Location
    Earf
    Posts
    69
    emarine,
    Thanks I will look into it!

  4. #4
    Member
    Join Date
    Aug 2003
    Location
    Earf
    Posts
    69

    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

  5. #5
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center