Flex Pass Message to Parent Component – Part 2

July 29th, 2007 Leave a reply »

Ok, figured it out. There’s actually a “parent” object you can reference, like so:


var myParent:UIComponent = new UIComponent();
if (parent is UIComponent) {
    myParent = parent as UIComponent;
}

This gets me everything I need.

Leave a Reply