[flexcoders] Re: Flex2B3 - parentDocument definition

2006-05-10 Thread bhaq1972
parentDocument should point to the parent MXML document (i.e. the root element in the .mxml file). So the way it works is correct. here's an interesting one. if i add another child to myComponent (a mx:Button), it thinks the parentDocument is the root application and not comp1 (see

Re: [flexcoders] Re: Flex2B3 - parentDocument definition

2006-05-10 Thread Manish Jethani
On 5/10/06, bhaq1972 [EMAIL PROTECTED] wrote: here's an interesting one. if i add another child to myComponent (a mx:Button), it thinks the parentDocument is the root application and not comp1 (see below). mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=* mx:Box id=box1