A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: GetUrl vs Load Variables

  1. #1
    Senior Member
    Join Date
    Mar 2001
    Posts
    169
    After reading flash's documentation on the subject I am not better off. In html I would type (a href=?test=works) when clicked it would refresh the page but add the ?test=works part at the end. Simple.

    I try to repete the process in flash,
    geturl ("?test=works")
    //refreshes the page but no ?test=works in the url
    //I try
    load variables ("?test=works")
    //nothing

    What method should be used? And how should it be used?
    I need to understand this basic element so I can expand upon it. Thanks

    (whats the deal with load variables and load variblesnum? does num deal only with number?)

  2. #2
    Hack
    Join Date
    Mar 2000
    Location
    Madison, WI
    Posts
    1,753
    use the getUrl action. In the "variables" parameter at the bottom, choose "send using GET"

    This will send every variable in that timeline as querystrings in your url. I've never tried it without a page name, but I guess it would work --

    test="works";
    getUrl ("","GET");

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