Welcome, Guest
  • Author Topic: Loading Variables  (Read 1059 times)

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Loading Variables
    « on: 07/09/02, 14:26 »
    I´m working with Flash, PHP and MySQL. I´m developing an interface who shows landscapes from Spain, about 1500 photos (a lot !!!)
    So, the Flash movie query all the time the database, searching info about the photos to display. I use text files+PHPSESSID to exchange the information, but I want to use directly the response from the server.
    OK, in the tutorial "Using PHP and MySQL with Flash", it says that you can use a page with only the pair name/value and without HTML at all. It use the comand loadVariablesNum ... and it works with Flash 5, but in the documentation of Flash 5 it says nothing about loadVariablesNum (a command from MX)

    Anybody has use loadVariablesNum in Flash 5?

    It works because I have the Flash Player 6?

    My goal is to query a database and use directly the response with PHP+Flash 5
    (In ASP I use the Request object)

    I aprecciate any coment
    Regards
    Jorge
    www.estudiobaires.com



    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:Loading Variables
    « Reply #1 on: 07/09/02, 16:05 »
    Hi,

    loadvariablesNum is actually a remnant from F4
    loadvariables('script', target, 'method') // target could be _root, this, name of a mc
    loadvariablesNum('script', level, 'method') // level is a number. e.g. 0 or 1
    Now the loadvariablesNum with level 1 can be expressed as loadvariables with a target name _level1 etc., so it is somewhat redundant.

    Musicman