Results 1 to 4 of 4

Thread: SWF Object

  1. #1
    Join Date
    Oct 2006
    Location
    New York, NY, USA
    Posts
    262
    Thanks
    42
    Thanked 24 Times in 24 Posts

    Default SWF Object

    May I have comments on SWFObject, which I first found a couple of years ago at Geoff Stearns’ http://www.deconcept.com/?ver=9&jumpto , and now see at http://code.google.com/p/swfobject/wiki/documentation described as “Open source project by Geoff Stearns, Michael Williams, and Bobby van der Sluis, formerly known as SWFFix .”
    It is featured at sites created by http://www.livebooks.com, such as http://www.emisaeki.com:

    <script type="text/javascript">
    function doInit() {
    var so = new SWFObject("./sources/index_website_loaderLiveBooks_5_7_19.swf", "liveBooks", "971", "636", "7", "#FFFFFF", true);
    // flash object parameters
    so.addParam("wmode", "normal"); //normal or transparent
    so.addParam("menu", "false");
    // flash movie variables
    so.addVariable("local", "http://emisaeki.com/");
    so.addVariable("bgColor", "0xFFFFFF");
    so.addVariable("refreshSwitcher", "0");
    so.addVariable("splash_page_type", "3");
    so.addVariable("splash_bar_type", "loaderLiveBooks");
    so.addVariable("splash_bar_color1", "0xFF6600");
    so.addVariable("splash_bar_color2", "0x999999");
    so.addVariable("splash_text", "Photographed+by+Clifton+parker+%0D+retouched+by+Emi+Saeki");
    so.addVariable("splash_text_color", "0x000000");
    so.addVariable("splash_graphic_type", "2");
    so.addVariable("splash_timer", "1");
    so.addVariable("splash_graphic", "data/pages/splash/080508192947_1flower1.jpg");
    so.addVariable("hide_url", "0");
    so.addVariable("upload_email", "emirobinson@gmail.com");
    so.addVariable("files_version", "_5_7_19");
    // address bar variables
    so.addVariable("pt", getQueryParamValue("pt"));
    so.addVariable("pi", getQueryParamValue("pi"));
    so.addVariable("mi", getQueryParamValue("mi"));
    so.addVariable("at", getQueryParamValue("at"));
    so.addVariable("a", getQueryParamValue("a"));
    so.addVariable("p", getQueryParamValue("p"));
    so.addVariable("s", getQueryParamValue("s"));
    so.addVariable("pw", getQueryParamValue("pw"));
    so.addVariable("cpi", getQueryParamValue("cpi"));
    so.write("flashcontent");
    }
    </script>

    Is this more Flash or JavaScript? Is it “AJAX” or server-side dependent XML involved? Does it currently do more than ordinary Flash Player? Does Dynamic Drive have any such scripts?

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    SWFObject is a way to embed your Flash files onto your HTML page. It's JavaScript -- no server-side anything involved. It was initially designed to get rid of the "click here to activate" issue in IE and Opera. If that's not of special concern to you, you can use regular <embed>/<object> codes.

    The latest version of SWFObject is the here. And it's not just those two sites that use it. Adobe is now bundling it with CS4. Most Flash professionals use it.

  3. #3
    Join Date
    Oct 2006
    Location
    New York, NY, USA
    Posts
    262
    Thanks
    42
    Thanked 24 Times in 24 Posts

    Default Thanks

    Your input is appreciated. Thanks for the info.

    I hear Flash CS4 will have some major changes.

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by auntnini View Post
    I hear Flash CS4 will have some major changes.
    Will have? It already released. It does!

Bookmarks

Posting Permissions

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