Sunday, July 29, 2007

Flex Pass Message to Parent Component - Part 2

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.

1 comment:

Anonymous said...

Right. Of course. How silly of you.