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.

Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>