Can we use custom events to send data from a flash called through swfloader to Flex?
I am loadng a swf by using swfloader, now I want to dispatch custom events from insde this loaded Flash , how can we listen to them in Flex since the classes of these custom events will not be accessible to the flex.
You can dispatch the event if the flash swf is also an AS3 swf, but the
event will not be typed properly unless you can import those same event
classes into the main app
Yes the Flash swf is in AS3, but you rightly said its the importing the event classes that is causing the problem.
Is there any possible way to solve it?
You'll have to import the class or load the SWF into the same