Hi all,
Can anyone see a problem with this code -
var strVenueTimes:String = venue_xml.firstChild.childNodes*.childNodes[7].childNodes[0];
venue_openingtimes = strVenueTimes.split(",").join("
");
(venue_openingtimes is a dynamic text field)
It keeps coming back ‘undefined’ (tracing the split/join returns the same) even though a trace (and firing it to the text field) on strVenueTimes returns the data infact a strVenueTimes.length returns undefined too…
cheers for any help
Edit - No Worries, stuck String() around the XML data and it solved it lol