Flex strips off all actionscript unless it is generated by Flash 9 !

So therez no way u can monitor the events from flex 

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of beecee1977
Sent: Friday, May 18, 2007 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Events not firing from swf imported with SwfLoader

 

Hi,

I'm not a flash expert so you'll have to bear with me on this. I'm 
not creating the swf's myself.

I've recieved animations in swf's before and used them in image 
controls and they work fine. (movie clips generated in Flash MX 2004)

If however the swf has a button on it (just an animation which plays 
on the rollover and snaps back to first frame on rollout) no events 
get fired from it when it's embeded into my image control. I'm 
assuming that the button in the swf is catching all mouse events and 
not passing them on. Does anybody know if this is the expected 
behaviour or if there's an easy way around it? 

As it stands I guess I'll need to handle switching to an animation on 
the rollover event within Flex2.

Thanks in advance
Bill

P.S. I saw this, but it seems like overkill for what I want. 
http://www.jessewarden.com/archives/2006/08/flash_9_button.html
<http://www.jessewarden.com/archives/2006/08/flash_9_button.html> 

 

Reply via email to