A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Passing variables thru URL's

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Posts
    174

    Arrow

    I found a post about passing variables thru url's to swf's on this page, only I forgot to bookmark it. I know I have to add something to my object and embed tag to do this. Does anyone know how this works ? Or has anyone seen something on this topic ?
    Thanks in advance

    ------------------
    Shaman@Operamail.com
    <EMBED src="/cgi-bin/ubb/Members/sigs/00000666.swf" quality=high WIDTH=103.5 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Posts
    1

    Post

    I just stick 'em in with the "src=", like this...
    src="whatever.swf?VariableName1=whatever&VariableN ame2=whatever&VariableName3=whatever"

  3. #3
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    Passing vars through a URL? No problem! Check out this <a href="http://www.rjscs.com/scotty/demos/demoquery.html?var1=Flash%20is&var2=FUN!">demo</a>.

    It uses a little JavaScript to pass the URL query string to the Flash Movie.


    <EMBED src="/cgi-bin/ubb/Members/sigs/00000205.swf" quality=high WIDTH=500 HEIGHT=50 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  4. #4
    Senior Member
    Join Date
    Mar 2000
    Posts
    174

    Unhappy

    Thanx to you both,

    It was the demo of scottris I was searching for. It works now. Now I do have another question and I hoped you guys could help me out. I was wondering when I use a frameset and I want to pass variables from one page thru the index to the top frame where a flash header is playing, what do I have to add to the index for passing the variables ?
    Hope to hear from you again

    ------------------
    Shaman@Operamail.com
    <EMBED src="/cgi-bin/ubb/Members/sigs/00000666.swf" quality=high WIDTH=103.5 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

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