Re: [flexcoders] Re: Flex MouseEvent and loaded SWF with mouse handlers problem
Here is a good write-up how to solve this issues with handling onRollOver events specified in ActionScript2 inside loaded SWF files: http://www.jabbypanda.com/blog/?p=17 ;) > Sorry for such a late answer. I have not checked flexcoders for a while. > We have decided to add listener on timer and to track mouse position. > > > > . > > > -- -- Med venlig hilsen / Best regards Andriy Panas [EMAIL PROTECTED]
Re: [flexcoders] Re: Flex MouseEvent and loaded SWF with mouse handlers problem
Ralph, Sorry for such a late answer. I have not checked flexcoders for a while. We have decided to add listener on timer and to track mouse position. Sergey. On Oct 15, 2007 10:24 PM, essuark <[EMAIL PROTECTED]> wrote: > Hello Sergey, > > Did you figure this out? I am having the same problem, at least > in my situation, the swf has it's own actionscript so the events are > not bubbling up to my flex app. > > thanks > Ralph > > --- In flexcoders@yahoogroups.com , "Sergey > Kovalyov" > <[EMAIL PROTECTED]> wrote: > > > > Hi All! > > > > I have Canvas instance and SWFLoader inside it. Listener > onMyCanvasMouseMove() > > is added to this Canvas. It just trace myCanvas.mouseX and > > myCanvas.mouseYactually. Loaded > > test.swf (AVM1 movie) contains some MovieClip instances with > rollOver > > handlers assigned. The problem is that if mouse is moving over those > > instances, onMyCanvasMouseMove() is not called. In Flex terminology > it seems > > that Flash mouse listeners call kind of event.stopPropagadion() > > automatically. > > > > > mouseMove="onMyCanvasMouseMove()"> > > > > > > > > > > > > I just need to catch all mouse moves over the canvas indepedently > on AVM1 > > movies loaded into it. Is it possible? > > > > Thank you in advance! > > Sergey. > > > > >
[flexcoders] Re: Flex MouseEvent and loaded SWF with mouse handlers problem
Hello Sergey, Did you figure this out? I am having the same problem, at least in my situation, the swf has it's own actionscript so the events are not bubbling up to my flex app. thanks Ralph --- In flexcoders@yahoogroups.com, "Sergey Kovalyov" <[EMAIL PROTECTED]> wrote: > > Hi All! > > I have Canvas instance and SWFLoader inside it. Listener onMyCanvasMouseMove() > is added to this Canvas. It just trace myCanvas.mouseX and > myCanvas.mouseYactually. Loaded > test.swf (AVM1 movie) contains some MovieClip instances with rollOver > handlers assigned. The problem is that if mouse is moving over those > instances, onMyCanvasMouseMove() is not called. In Flex terminology it seems > that Flash mouse listeners call kind of event.stopPropagadion() > automatically. > > mouseMove="onMyCanvasMouseMove()"> > > > > > > I just need to catch all mouse moves over the canvas indepedently on AVM1 > movies loaded into it. Is it possible? > > Thank you in advance! > Sergey. >