Can anyone tell me what has taken the place of the Deamon Flash list?
 
I am having some issues with a Flash movie that is supposed to load an XML file and display a random testimonial, I know the file loads ok, because when I do a trace on this.firstChild.childNodes[ randomNumber ].firstChild.nodeValue it outputs the right value. But when I assign that value to the dynamic textfield testimonials_text it just goes blank. Any ideas anyone? Cheers

function loadXML( success ) {
 if ( success ) {
  var max:Number = myXML.firstChild.childNodes.length;
  var randomNumber:Number = Math.floor( Math.random() * max );

  testimonials_text.text = this.firstChild.childNodes[ randomNumber ].firstChild.nodeValue;
 }
 else {
  trace( "Bad XML!" );
 }
}
myXML = new XML();
myXML.ignoreWhite = true;
myXML.>myXML.load( "http://development.pacificfox.com.au/testimonials.xml" );



--
Taco Fleur - http://www.pacificfox.com.au
Web Design, Web development, Graphic Design and Complete Internet Solutions
an industry leader with commercial IT experience since 1994 …

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to