On 4/30/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> My question is, to what container|control does 'parentDocument' refer?
> I expected for the Label control that it's parent would be the VBox, but
> this does not seem to be the case.

parentDocument refers to the parent document of the current document.
in my experience, that usually means the parent MXML file relative to
the CURRENT MXML file.

There have been a few exceptions.  Anything inside <mx:Component>
(like if you're doing something for an item renderer in a datagrid)...
 in that case, the parent document from inside the <mx:Component>
structure is the document itself.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4025
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to