Not signed in (Sign In)

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

    • CommentAuthorGL2006
    • CommentTimeDec 25th 2006
     
    Hi,

    First of all, great product! I've implemented it and it works fine, except for the Express Install.
    I've tested with so_tester.swf and it works fine there, so I must be doing something wrong.

    When I open one of my flash movies, I add a new scene and make it the first scene, even before the preloader.
    Then, I copy the two frames from so_tester.fla with the actionscript code and paste them into the new scene in my flash movie file.

    But, when I export the movie as .swf, I get the following errors:
    -----------------
    **Error** C:\expressinstall.as: Line 31: '{' expected
    var ExpressInstall = function():Void {

    **Error** C:\expressinstall.as: Line 34: Unexpected '}' encountered
    }

    Total ActionScript Errors: 2 Reported Errors: 2
    -----------------

    Any idea why this happens? When I open so_tester.fla and export as .swf, it works fine, but when I export my own flash movie, it reports errors in expressinstall.as, which seems very weird to me.

    Thanks in advance!
    Leon
    • CommentAuthorGeoff
    • CommentTimeDec 26th 2006
     
    you need to publish your swfs as AS2.0

    you could also try using the updated version of swfobject at svn.deconcept.com/swfobject/trunk/

    the expressinstall works differently with that one and is a bit easier to use, just look at the example (expressinstall.html)
    • CommentAuthorGL2006
    • CommentTimeDec 26th 2006
     
    Great, that was it! Thanks a lot Geoff, it works perfectly now.
    I'll check out the updated version as well, thanks again!
    • CommentAuthorGL2006
    • CommentTimeDec 26th 2006
     
    Hi Geoff,

    One quick additional question:
    I've tried version 1.5 and although it works like charm with Firefox (2.0.0.1), I'm not getting the express install dialog box in IE (6).
    I just wanted to check with you if this is something you are aware of (1.5 is just beta right?).
    • CommentAuthorGeoff
    • CommentTimeDec 27th 2006
     
    when you right click the area where the swf should be, do you get 'movie not loaded' - or do you get the normal swf menu?

    it could be that your path to the swf isn't set right.
    • CommentAuthorGL2006
    • CommentTimeDec 28th 2006
     
    Hi Geoff,

    It works in Firefox, but doesn't in IE 6, when I right-click with IE 6 in the swf area, I get the following options: "Cut,Copy,Paste,Delete,Select All".
    Please visit this page:
    http://www.gcms.com/geoff/expressinstall.html
    The directory contains: expressinstall.html, expressinstall.swf, so_tester.swf and swfobject.js. All these files have been copied from the 1.5 release, without modifying anything.

    The swf shows up in both Firefox and IE at my pc, as I have Flash Player 9 installed, which is required as entered in the html document.

    Now, go to this page:
    http://www.gcms.com/geoff/expressinstall2.html
    It's the same as expressinstall.html, except I changed the required version to 10, which doesn't exist, but it should trigger the expressinstall.

    In Firefox, it works like a charm, but in IE, I just see the background color of the swf and don't see the express install dialog.

    I hope it makes sense :)
    Thanks a lot for your help Geoff
    • CommentAuthorGL2006
    • CommentTimeDec 28th 2006
     
    Hmm, this is really weird, I just asked a friend to check..and for him, the expressinstall2 works in IE, but doesn't in Firefox..even though we have the same Firefox version installed.
    Is this because I'm requiring version 10 while it doesn't exists yet maybe?
    • CommentAuthorGL2006
    • CommentTimeDec 28th 2006
     
    I just uninstalled the flash player, installed version 6 after that and visited the http://www.gcms.com/geoff/expressinstall.html page again..and it didn't show the express install dialog, so this must be an issue with IE (6). Any chance you can reproduce this and see the bug?