Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 19th, 2004, 04:27 PM
Jotunheim Jotunheim is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 13 Jotunheim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old January 19th, 2004, 06:48 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,837 Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)Tann San User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 2 Days 11 h 49 m 20 sec
Reputation Power: 632
Facebook MySpace
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.
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old January 19th, 2004, 08:05 PM
Jotunheim Jotunheim is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 13 Jotunheim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Multidimensional Arrays Lose Values Between Frames?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT