A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: !!! Passing Variables via URL

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    2
    Hello!

    I want to pass a variable to a flash movie like this:

    In the HTML Code which embeds the movie i write this code:

    <PARAM NAME="MOVIE" VALUE="mymovie.swf?name=value">

    I know that this works on most Browsers. Does anybody know on which browsers this doesn't work???

    It very urgent!

    Pls answer

    Thank you
    knusperpixel

    P.S. Sorry for my bad english...

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    you should add
    <embed src="mymovie.swf?name=value" ....
    to reach those browsers that dont understand the <object> stuff. Also, if your value ever contains spaces or funny characters, make sure to urlencode it

    Musicman

  3. #3
    Junior Member
    Join Date
    May 2002
    Posts
    2
    you should add
    <embed src="mymovie.swf?name=value" ....
    to reach those browsers that dont understand the <object> stuff.

    Ok, sorry. I did know that :-)

    My question is: which browser/system combination will not be able to pass the vars to flash, even if you embed your flash movie correctly (with swliveconnect=true).

  4. #4
    Junior Member
    Join Date
    May 2002
    Posts
    3
    any browser should work. I've tested:
    pc: ie(all), netscape 4.*, netscape 6/mozilla, opera
    mac: ie, netscape

    oh. wait...
    lynx don't work

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center