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-----
Date: Mon, 18 Sep 2006 14:24:00 +1000
From: Ryan Sabir <[EMAIL PROTECTED]>
Subject: [cfaussie] Re: [OT] Problems with XML/Flash
To: "'cfaussie@googlegroups.com'" <cfaussie@googlegroups.com>
Reply-To: cfaussie@googlegroups.com



> Is 'testimonials_text' the name of the text field? Or the name of the varia=
> ble bound to the text field? In which case you don't need the '.text' in th=
> e assignment.

> Is the field definitely dynamic? Also not something silly like white text o=
> n white bg?

> Do you need to embed characters into the field maybe? Try embedding all upp=
> er and lower case letters and numbers to see if it fixes the problem.


> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch
> > Sent: Monday, 18 September 2006 2:14 PM
> > To: cfaussie@googlegroups.com
> > Subject: [cfaussie] Re: [OT] Problems with XML/Flash
> >=20
> >=20
> > Try:-
> >=20
> > testimonials_text.text =3D this.firstChild.childNodes[=20
> > randomNumber ].nodeValue;
> >=20
> > On 9/17/06, Taco Fleur <[EMAIL PROTECTED]> wrote:
> > >
> > > Can anyone tell me what has taken the place of the Deamon=20
> > Flash list?
> > >
> > > I am having some issues with a Flash movie that is supposed=20
> > to load an=20
> > > XML file and display a random testimonial, I know the file=20
> > loads ok,=20
> > > because when I do a trace on this.firstChild.childNodes[=20
> > randomNumber=20
> > > ].firstChild.nodeValue it outputs the right value. But when=20
> > I assign=20
> > > that value to the dynamic textfield testimonials_text it just goes=20
> > > 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=
> =20
> > > ].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=20
> > development,=20
> > > Graphic Design and Complete Internet Solutions an industry=20
> > leader with=20
> > > commercial IT experience since 1994 =85  >
> > >
> >=20
> >=20
> > --
> > Chris Velevitch
> > Manager - Sydney Flash Platform Developers Group
> > m: 0415 469 095
> > www.flashdev.org.au
> >=20
> > >=20


> 


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