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/
Success Lies in Courage.

Reply via email to