That is strange... this simple tests fires the mouse move event.

package
{
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;

        public class ActionscriptTest extends Sprite
        {
                public function ActionscriptTest()
                {
                        stage.addEventListener(MouseEvent.MOUSE_MOVE, tester);
                }

                private function tester(e:Event):void
                {
                        trace("here");
                }
        }
}

On Jun 10, 5:54 am, Andreas Jirenius <[email protected]> wrote:
> No it didn't help. Have enabled all Sprites used in the Scene, but
> also I would like to capture the mouse events in general but it
> fails :/
> It's really strange
>
> On Jun 10, 1:47 am, binarydb <[email protected]> wrote:
>
>
>
>
>
>
>
> > Does this help?  Are you trying to capture mouse events on objects in
> > the scene, or just the stage in general?
>
> >http://groups.google.com/group/away3d-dev/browse_frm/thread/409830e85...
>
> > On Jun 9, 2:27 am, Andreas Jirenius <[email protected]> wrote:
>
> > > I have searched the forum as I thought this would be an extremely
> > > normal issue. But hey I might be stupid :)
> > > I just cannot seem to get the normal mouse coordinates to update
> > > properly.
>
> > > As I put an eventlistener to the stage listening for
> > > MouseEvent.MOUSE_MOVE, nothing happens. Also when tracing the stage's
> > > mousecoords every frame they just doesnt seem to update. Not until I
> > > click they update once.
>
> > > Now I thought it could be fixed with MouseEvent3D but still I just
> > > cannot seem to get any coords or MOUSE_MOVE fired :/ This really must
> > > be a simple stupid thing that I missed but I've spend a lot of time
> > > with it now and is now humble enough to ask :D
>
> > > happy for any answer!

Reply via email to