Sorry, there was an error ... (when renaming for the example)
public function MyEvent(type:String)
{
super(type, true, true);
//_targetViewPopup = target;
}
----------------------------------------------------------------
Hi, see if anyone can help me ...
I have a MyEvent event that I launch from a MyView view (MVC):
public function SecurityEvent(type:String)
{
super(type, true, true);
//_targetViewPopup = target;
}
var mEvent:MyEvent = new MyEvent (MyEvent.ON_CHANGE);
dispatchEvent(mEvent);
I need to save the reference to the view that generated the event, the target,
but I don't get it: target is null and currentTarget is undefined.
I have debugged and I do not see any property or variable that contains this
data.
Where can I get it? Any method?
I would appreciate any help.
Thank you all.
Hiedra.