|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Multidimensional Arrays Lose Values Between Frames?
I'm populating a multidimensional array from an XML file, and that seems to be working fantastic, but when I skip ahead a few frames, all the values in the array are zero length or Null, is there some trick I need to do to preserve the data?
I've tried doing everything at _root.[ArrayName], but that's not cutting it. Does anyone have any suggestions? I'm sure this is something dumb, but I'm pretty new to flash. Thanks. |
|
#2
|
|||
|
|||
|
Hi, not sure what's causing that. A quick solution might be to create an empty movie clip and store the array in that. Then you can reference the array via that clip anywhere on the timeline.
|
|
#3
|
|||
|
|||
|
I found it, turns out I wasn't waiting for the xml to complete loading so I added a wait instruction and it works like a champ now.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Multidimensional Arrays Lose Values Between Frames? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|