--- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]>
wrote:
>
> That's right. A statement like
>
>
>
> xml_result.ignoreWhite = true;
>
>
>
> that isn't inside a method is actually executed at class
initialization
> time, not instance initialization time. Since xml_result is an
instance
> variable, it doesn't exist at class initialization time.
>
>
>
> - Gordon
>
>
>
> ________________________________
>
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of Peter Farland
> Sent: Friday, May 26, 2006 1:38 PM
> To: [email protected]
> Subject: RE: [flexcoders] Access of undefined property in
XMLDocument
>
>
>
> Have you tried doing this inside a function instead? Perhaps you
could
> call this function on initialization, perhaps on the Application
> creationComplete event?
>
>
>
> ________________________________
>
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of Charles
> Sent: Friday, May 26, 2006 3:49 PM
> To: [email protected]
> Subject: [flexcoders] Access of undefined property in XMLDocument
>
> Hi everyone,
>
> I am having a lot of trouble with this seemingly simple problem.
I have
> declared a variable 'xml_result' of type XMLDocument. I would
like to
> set 'ignoreWhite' to true, but I always get an error. Here is a
snippet
> of my code...
>
> -------------------------------------------------------------------
-----
> --------
> <mx:Script>
> <![CDATA[
> import flash.xml.XMLDocument;
>
> public var xml_result:XMLDocument = new XMLDocument();
>
> xml_result.ignoreWhite = true; // ALWAYS ERROR ON THIS LINE
> ]]>
> </mx:Script>
>
> -------------------------------------------------------------------
-----
> --------
>
> That's it! But I constantly get an error with the message "Access
of
> undefined property xml_result", and I can't figure it out!
>
> Thanks in advance
>
>
> Charles
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> SPONSORED LINKS
>
> Web site design development
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+
>
site+design+development&w2=Computer+software+development&w3=Software+
des
>
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+p
rac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
>
> Computer software development
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=We
>
b+site+design+development&w2=Computer+software+development&w3=Softwar
e+d
>
esign+and+development&w4=Macromedia+flex&w5=Software+development+best
+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
>
> Software design and development
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=
>
Web+site+design+development&w2=Computer+software+development&w3=Softw
are
>
+design+and+development&w4=Macromedia+flex&w5=Software+development+be
st+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
>
> Macromedia flex
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+
>
development&w2=Computer+software+development&w3=Software+design+and+d
eve
>
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&
s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>
>
> Software development best practice
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&
>
w1=Web+site+design+development&w2=Computer+software+development&w3=So
ftw
>
are+design+and+development&w4=Macromedia+flex&w5=Software+development
+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
>
>
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
>
> ________________________________
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

