On 5/9/06, bhaq1972 <[EMAIL PROTECTED]> wrote:

> I've got this simple test
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
>         <mx:Box id="box1">
>                 <myComponent id="comp1"/>
>         </mx:Box>
> </mx:Application>
>
> Now, in flex 1.5 the parentDocument for myButton(child of
> myComponent) is box1.
>
> In flex2b3 the parentDocument is comp1.
>
> Is this correct? If so why has it been changed.

parentDocument should point to the parent MXML "document" (i.e. the
root element in the .mxml file). So the way it works is correct.


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




Reply via email to