[flexcoders] Display XML file contents - HELP

2006-08-18 Thread rashmi_nraj
I am new to Flex. Here is my question. I need to access and display contents of an XML file. I have created a Class file (.as) where i am instantiating my XML object. I need to access this XML object from the main.mxml file. I have Instantiated the Class object in the MXML file. But I am not

Re: [flexcoders] Display XML file contents - HELP

2006-08-18 Thread Tom Chiverton
On Friday 18 August 2006 07:06, rashmi_nraj wrote: But I am not sure how to access the XML object in the .as file using the Class object. I am not sure about how to get a reference to that XML object. Declare it public: public var myThing; just after the 'public class' line. If that doesn't

Re: [flexcoders] Display XML file contents - HELP

2006-08-18 Thread Paul Andrews
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, August 18, 2006 3:35 PM Subject: Re: [flexcoders] Display XML file contents - HELP On Friday 18 August 2006 07:06, rashmi_nraj wrote: But I am not sure how to access the XML object

Re: [flexcoders] Display XML file contents - HELP

2006-08-18 Thread Tom Chiverton
On Friday 18 August 2006 15:39, Paul Andrews wrote: Better still write a getter function and don't make it public.. Get'ers are harder to get your brain round, so I thought I'd introduce them later :-) -- Tom Chiverton Helping to dramatically deploy ubiquitous features