| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
|
How would you action script this??
What I have is an XML file with nodes that hold all the info about certian movies for this project. There are 2 different series that each movie node could belong to, the featured series and the dave series. I am trying to create 2 arrays, by parsing the XML file and determining what series each video is in then adding it to the correct array. When I attempt to call a part of the array like this : trace(featuredSeries[0]; I get undefined. I can trace the whole array but not a specific part of it. Also considering this array is defined in a certain function, will I be able to use it throughout the project??? any help is appreciated. Thanks Code:
|
|
|
|
|
|
#5 (permalink) |
|
Senior Member
|
I figured out whats going on but still need a little guidance. What is happening is that each node is being added into the Array, regardless of rather it meets the right requirements or not, but the nodes that do not meet the requirements are just added into the array as Empty vars (therefore giving me the undefined). I need to figure out a way around this. Please give me any suggestions. I know what needs to be done, just not how to do it. |
|
![]() |