Also, and altrnative to a custom event is to have the data available via
a public property on the component, and access that property value in
the handler with "currentTarget".

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of j301c
Sent: Sunday, November 11, 2007 5:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with dispatching custom event from pop up
window

 

I have a custom event that holds an array element. When I dispatch an 
event from a pop up window - by dispatching it from the 
mx.core.Application.application object - with data assigned to the 
array the event fires correctly, however, the data array element is no 
longer assigned any data. Also the event object still has the 
data:Array property, so the program recognizes it as my custom event, 
it just does not have any data anymore. Why is this? 

 

Reply via email to