Not signed in (Sign In)

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

    • CommentAuthorundersiege
    • CommentTimeJan 10th 2008
     
    I've used swfObject on my new games portal, http://www.ussgames.com

    If you play any of the games, there are 3 swf files embedded in the page. The main game, a comments system and a ratings system.

    Often the comments and rating system don't react until I click on them (and this is not the eolas thing, I know about it, which is why I use swfobject). It only seems to happen in Firefox, not in IE.

    Has anybody had this problem before? Does anybody know how to solve it?

    On both the comments swf and the ratings swf, I use flashvars which are passed as part of the swf url, eg myflash.swf?myVar=1. They also both use wmode=transparent.

    Any help with this is much appreciated!
    • CommentAuthorphilip
    • CommentTimeJan 10th 2008
     
    without seeing the page ourselves there's not much we can suggest. got a link?
    • CommentAuthorundersiege
    • CommentTimeJan 10th 2008
     
    Errm, http://www.ussgames.com

    Just click on any game and you will see what I'm talking about. As I say the problem only seems to affect Firefox.
    • CommentAuthorphilip
    • CommentTimeJan 10th 2008
     
    duh... sorry, i didn't see the link (still waking up this morning) :P
    • CommentAuthorphilip
    • CommentTimeJan 10th 2008 edited
     
    i don't have any problems when viewing with FF2 on Windows XP.

    you can use SWFObject's addVariable method to pass variables to the SWF.

    this

    var so3 = new SWFObject("comments.swf?username=HAXED&gameid=47&loggedin=0", "comments", "400", "125", "9");
    so3.addParam("wmode","transparent");
    so3.write("flashcomments");


    would become this

    var so3 = new SWFObject("comments.swf", "comments", "400", "125", "9");
    so3.addParam("wmode","transparent");
    so3.addVariable("username", "HAXED");
    so3.addVariable("gameid", "47");
    so3.addVariable("loggedin", "0");
    so3.write("flashcomments");



    - philip
    • CommentAuthorundersiege
    • CommentTimeJan 10th 2008 edited
     
    I had a feeling that might have a little something to do with it. I'll give that a go an let you know how I get on...

    That problem doesn't seem to happen all the time by the way... Did you try the ratings system? You probably wont notice any issues with the comments because you need to be logged in to use it, but the ratings system is open to anybody. Sometimes I have to click twice on the rating I want to get it to register.
    • CommentAuthorundersiege
    • CommentTimeJan 10th 2008 edited
     
    I've changed the way the variables are passed, but it's still the same, unfortunately.

    Personally I think it is some firefox bug with transparent swfs.

    I really want to thank you for such a quick response! Thanks!
    • CommentAuthorAran
    • CommentTimeJan 10th 2008
     
    • CommentAuthorundersiege
    • CommentTimeJan 19th 2008 edited
     
    It's fixed now - it was the transparency! A friend of mine mentioned that firefox breaks it too.

    Thanks for the links - very interesting.