-
how to retrieve data from an array
I am an experienced AS2 developer and no doubt that is my down fall here.. but I am trying to access data from an array. The array is in the root and I am trying to get it's data into a submovie. In as2 it would have been:
mylabel.text = _root.myarray[1];
So, i have tried:
mylabel.text = root.myarray[1];
and
mylabel.text = (this.root as Array).myarray[1];
and tons of other configurations..
I get the 1119 error no matter what i do. I am beginning to think I just can't get the info from the array in a sub movie..
any suggestions?
thanks, jim
-
figured it out.. was a simple error.. the array was a var inside a function.. geezz time for bed..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|