I want this XML code to become an array in AS2 (code is a snipet of large code)
<ViewTitles><![CDATA[Front View, Back View, Left View, Right View, Internal View]]></ViewTitles>
The XML loads correctly. The following code yields the expected string:
Flash Output: Front View, Back View, Left View, Right View, Internal View
I then use the following to turn it ino an array:
Flash Output: undefined
It seems vTitles=UInode.childNodes.childNodes is not recognized as a string.
I've tried vTitles.toString(); before using split() but no luck.
What is the best way to convert a string from XML to an array. Am I not using the correct syntax?
show your code in context.