Sounds suspiciously like a shared code problem. Check Alex's blog for further details.
Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk <blocked::http://www.inps.co.uk/> The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Nayan Sent: 30 October 2008 05:00 To: [email protected] Subject: [flexcoders] coercion fail cannot convert com.event::[EMAIL PROTECTED] to com.event.AdEvent. Hi All, apologies if this email is repeated.... I have a Flex project which is loading in a swf file created using AS3, this swf file is broadcasting the adEvent for which i have listener in Flex. When the listener function is being fired i get the following error, cannot convert com.event::[EMAIL PROTECTED] to com.event.AdEvent. This error started to happen once i had a image in my main project, I can't understand why is this error cropping up after i added that image. Also the same case with a singleton class, i was initializing it in Flex and my Flash only code was properly accessing that singleton but it stopped working after i have that image. if in my listener function, i use private function adClicked(event:*):void, it works fine and the event is of type com.event.AdEvent. I am guessing this has something to do how the flex compiler and the flash IDE compiler spit out code differently???? any help, clarifications would be greatly appreciated. Thanks, Nayan -- Nayan Savla http://nayansavla.com/blog/ <http://nayansavla.com/blog/> Success Lies in Courage.

