Not signed in (Sign In)

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

    • CommentAuthorShadyCat
    • CommentTimeJan 9th 2007
     
    Hi,
    I want to redirect the user on a different page if they don't have flash player 8 installed. Is it possible to do that using SWFObject? I can see there are some redirect attributes in the script, but I'm no t familiar with js and I'm not sure how to use them.
    • CommentAuthorGeoff
    • CommentTimeJan 9th 2007
     
    Sure you can... It's not recommended, but you can do it like this:

    so = new SWFObject(....);
    so.addAttribute("redirectUrl", "http://www.example.com");
    so.write("target");
    • CommentAuthorShadyCat
    • CommentTimeJan 9th 2007
     
    hmmm
    doesn't work here
    when I add this row all the flash content doesn't display in the browser even when there is flash player, but it doesn't redirect too
    • CommentAuthorShadyCat
    • CommentTimeJan 9th 2007
     
    found the error
    it should be setAttribute, not addAttribute and it works :)
    • CommentAuthorGeoff
    • CommentTimeJan 9th 2007
     
    Whoop, sorry about that :)