A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Detect URLRequest variable change?

Threaded View

  1. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    You create a variable somewhere at the beginning of your script:
    var varChanged:String = "";
    Then after this line you write:
    var gamertagText = evt.target.data.gamertag;
    if(varChanged != null && varChanged != gamertagText)
    {
    trace("no");
    }
    else if(varChanged == gamertagText)
    {
    trace("yes");
    }
    varChanged = gamertagText;
    Last edited by cancerinform; 11-21-2009 at 08:25 PM.
    - The right of the People to create Flash movies shall not be infringed. -

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