Flex Pass Message to Parent Component - Part 2

Posted on July 29th, 2007 in blogathon 2007, software by sam

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.

  • Digg
  • del.icio.us
  • blogmarks
  • Fark
  • Reddit
  • Slashdot
  • Technorati
  • Propeller
  • StumbleUpon

Post a comment