Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthormista3
    • CommentTimeMar 30th 2006
     permalink
    Hi folks,

    I've got a site at http://tinyurl.com/o3pqq using a verions 8 swf file, and with FlashObject detecting which version of Flash player you have....

    BUT... if you view the site on a computer with Flash player 7 install, the upgrade script doesn't seem to be activating, and instead you see the site, which obviously doesn't work properly as you don't have the right version.....

    Could someone have a gander and see if I've missed something?

    Many thanks

    3.
    • CommentAuthormista3
    • CommentTimeMar 30th 2006
     permalink
    FIXED... the alternate usage script (see below) doesn't actually seem to work properly. However using the longer script it is working fine now! Hmmm

    // used for express install - not required for plain FlashObject use
    // for more info, see http://blog.deconcept.com/flashobject/

    #include "expressinstall.as"

    // initialize the ExpressInstall object
    var ExpressInstall = new ExpressInstall();

    // if the user needs to upgrade, show the 'start upgrade' button
    if (ExpressInstall.needsUpdate) {

    // this is optional, you could also automatically start the
    // upgrade by calling ExpressInstall.init() here instead of the following lines

    // attach the custom upgrade message ** NOTE: see notes in Upgrade Message movieclip re: types of content to use
    var upgradeMsg = _root.attachMovie("upgradeMsg_src", "upgradeMsg", 1);
    upgradeMsg._x = Stage.width / 2;
    upgradeMsg._y = Stage.height / 2;

    // attach the button actions that will start the ExpresInstall updater
    upgradeMsg.upgradeBtn.onRelease = function() {
    ExpressInstall.init();
    }
    // if expressinstall is invoked, stop the timeline.
    stop();
    }

    // -----
    // alternate usage:
    // -----
    /*

    // test to see if install is needed:

    if (ExpressInstall.needsUpdate) { // returns true if update is needed
    ExpressInstall.init(); // starts the update
    stop();
    }

    // otherwise, start the movie normally

    */
Add your comments
    Username Password
  • Format comments as (Help)