Hi,

Thanks for sending me an email, but unfortunately, you'll have to send it again.

Please send emails to [EMAIL PROTECTED] from now on.

Thanks,
Scott Arbeitman

-----Original Message-----
From: "Jamie Lawrence Jenner" <[EMAIL PROTECTED]>
To: <cfaussie@googlegroups.com>
Subject: [cfaussie] Re: [OT] Problems with XML/Flash
Date: Mon, 18 Sep 2006 09:33:51 +0100
Reply-To: cfaussie@googlegroups.com


> if you suffix your text field with _txt you will get the code hints for your
> box

> then, you need to add .text to it. You should also add _root, or this,
> depending where your tet box is

> or

> you can assign the value to a variable such as _root.testimonial

> then on your text box, assign it to show the variable _root.testimonial

> cheers

> Jamie


> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
> Behalf Of Chris Velevitch
> Sent: 18 September 2006 05:01
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: [OT] Problems with XML/Flash



> http://groups.google.com/group/flashaussie

> On 9/17/06, Taco Fleur <[EMAIL PROTECTED]> wrote:
> >
> > 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 =3D myXML.firstChild.childNodes.length;
> >   var randomNumber:Number =3D Math.floor( Math.random() * max );
> >
> >   testimonials_text.text =3D this.firstChild.childNodes[ randomNumber
> > ].firstChild.nodeValue;
> >  }
> >  else {
> >   trace( "Bad XML!" );
> >  }
> > }
> > myXML =3D new XML();
> > myXML.ignoreWhite =3D true;
> > myXML.onLoad =3D loadXML;
> > 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 =85
> >  >
> >


> --
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> m: 0415 469 095
> www.flashdev.org.au



> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 15/09/2006

> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 15/09/2006



> 


--~--~---------~--~----~------------~-------~--~----~
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