I am sending events from a child to the parent swf. It worked fine until I used preloader swf to load the parent, and then the parent stopped receiving events from the child. I am getting this error now:
TypeError: Error #1034: Type Coercion failed: cannot convert com.company.events::MyCustomEvent@22494251 to com.company.events.MyCustomEvent.
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
What does it mean? And why does this only happen when I wrap the main swf in the bootloader? Thanks for any help - I'm desperate!
sol
source
share