A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Levels and variables

  1. #1
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    Hi...

    I have a Flash site which consists of several stacked swf files. On _level3 is the main interface, which contains a log in form. When submitted, the form sends variables to a php script, which echoes back the variable "status=confirmed" or "status=failed". This is all working fine...

    The issue is, in order to utilize that variable in the _level3 interface, I need to target it as _level0.status. Is there an easy way to have the variable returned to the level which initially sent it, or will it always return to _level0?

    Thanks for any help...

    K.

  2. #2
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    if you do a loadVariables command:

    loadVariablesNum ("script.php", 3, "POST");

    rather than:

    loadVariablesNum ("script.php", 0, "POST");

    loadVariablesnum will do exactly the same as the getUrl function!

    Hope that helps!
    Regards FlashGuru

  3. #3
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    Of course!

    An oversight on my part...couldn't see the forest for the trees...

    Thanks a lot, it works perfectly now...

    K.

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