So I'm still trying to dig through all of this OO stuff.  Its been 
tough!

I've made a couple of custom events from views.  The handling I've 
learned is usually like this:

<view:CustomComp somethingReturned="handler(event)"/>

But I have one that is a popup.  The popup is invoked like this:

private function showPopup():void {
  var myPopup:customPopup = customPopup(PopUpManager.create....etc)
  myPopup.passedVar = somethingPassed... etc
}


The popup has a custom event that is dispatched on closing the popup.  
How can I create a handler for it?  myPopup.somethingReturned = handler
(event) returns an error in Flex.  If I make the popup a view in MXML, 
the event handler works fine.

Reply via email to