A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: get variables from url

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    4

    get variables from url

    Hello,

    I'm currently using FlashMX and was wondering if I could read variables like Request.QueryString

    For instance; www.yoursite.com?var1=10&var2=20

    I want to be able to get var1 and var2 in my movie.

    Any insight would be greatly appreciated.

    Thanks,
    -DRod

  2. #2
    Flash maniac katiyuki's Avatar
    Join Date
    Sep 2000
    Location
    San Francisco
    Posts
    382

    hi

    im not really sure, but look up information for "asfunction". this might be what you want.

    kat
    back to flashing...woohoo!

  3. #3
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    When you link to your swf in the object/embed tag(s) to the same thing as your example except after the swf....

    EXAMPLE:
    "myMovie.swf?var1=12&var2=something"

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