friends,
i am having a small doubt in flash. i am loading an external .txt file and am displaying. its working fine. but when am trying to split the specified values, the value was disappearing. i mean except that splitted value everything is displaying… how to get that.
var loadXML:XML = new XML();
var myarr:String;
loadXML.ignoreWhite = true;
loadXML.onLoad = function(success) {
myarr = loadXML.toString()
trace(myarr.split(“description”))
};
loadXML.load(“pictures.txt”);
" pictures.txt " contains
<pictures>
<picture thumb=“test-images/01.png” description=“Tons of customisation options” name="[COLOR=#810081]http://www.google.com[/COLOR]" param="_blank"></picture>
<picture thumb=“test-images/02.png” description=“User controlled rotation or auto-rotate” name="[COLOR=#810081]http://www.google.com[/COLOR]" param="_blank"></picture>
<picture thumb=“test-images/03.png” description=“Item description” name="[COLOR=#810081]http://www.google.com[/COLOR]" param="_blank"></picture>
</pictures>
its an xml string based.
now i want to store the picture thumb value in one array value, and description value in another… like tat…
any solutions would be appreciated…
Rajesh