A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: A simple LoadVariables problem?

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    1

    A simple LoadVariables problem?

    I have a relatively easy Q.

    I have used Flash 4, but recently purchased MX. I am doing my first simple app with this version.

    When I try and loadVariables from an external text file, I can hit the file, load the vars, but then it seems that I cannot do anything with them. I am simply loading a string which I will split into an array. In the debugger i can see the string that I load from the external file, and on loadVariables I can address it so that it goes to either _root or any submovie that I desire, but once it gets there I cannot seem to access this string in order to split it. I cannot even load the string into another var. It is as though it is not there. newVar=myString results in newVar being "undefined".

    I suspect that I am missing something very simple.

    Any ideas?

    Myque_Abstraqt

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Location
    Top Shelf
    Posts
    757
    are you making sure your variable string (which is loaded for parsing by the flash player) follows the format:
    "&myvar1=value1&myvar2=value2&myvar3=value3&myvar4 =value4"
    This information is subject to change without notice and
    is provided "as is" with no warranty.

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