> > Then I would have some fullscreen child of the mainclass so the mouse
has
> something to hit.
> >
> >
> From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com ] On
> Behalf Of Ronnie Liew
> > Sent: Thursday, April 19,
>
> >
> >
> >
> >
> >
> > Then I would have some fullscreen child of the mainclass so the mouse has
> something to hit.
> >
> >
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Ronnie Liew
> > Sent: Thursday,
s@yahoogroups.com
*Subject:* Re: [flexcoders] Root sprite not responding to MouseEvent ?
Hi Alex,
I am not creating a Flex Project, I am creating an Actionscript
Project. Not too sure but in this case, I don't think the
SystemManager is in the picture. Is that correct?
On 4/20/07, A
: [flexcoders] Root sprite not responding to MouseEvent ?
Hi Alex,
I am not creating a Flex Project, I am creating an Actionscript
Project. Not too sure but in this case, I don't think the
SystemManager is in the picture. Is that correct?
On 4/20/07, Alex Harui <[EMAIL PROTECTED] <ma
Liew
> Sent: Thursday, April 19, 2007 12:15 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Root sprite not responding to MouseEvent ?
>
>
>
>
>
>
> After some research and googling, the conclusion that I can draw is
> that for mouse event, it is abit unus
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Root sprite not responding to MouseEvent ?
After some research and googling, the conclusion that I can draw is
that for mouse event, it is abit unusual. Apparently, the main
application class (which by default extends from a Sprite class), wil
After some research and googling, the conclusion that I can draw is
that for mouse event, it is abit unusual. Apparently, the main
application class (which by default extends from a Sprite class), will
not receive mouse events directly. Mouse events seemed to be the only
exception, all other events
The main app sprite is (by default) added to the displaylist, else i
won't be able to see the bitmap instance
On 19 Apr 2007 03:05:47 -0700, Erik Price <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> On 4/19/07, Ronnie Liew <[EMAIL PROTECTED]> wrote:
>
> > the main app is a sprite, it should respond to
On 4/19/07, Ronnie Liew <[EMAIL PROTECTED]> wrote:
> the main app is a sprite, it should respond to mouse move right? and
> it does have a child and that is the visible pixel.
>
> How come it doesn't trace out?
Did you forget to add your Sprite to the Stage?
e
If the app only contains 1 child (which is a bitmap), and the the main
app listens to mouse move, it doesn't work.
code:
package {
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.events.Event;
import
Hi Alex,
Thanks, I think i got it. Basically it should be the stage that is
listening to the mouseevent not the root sprite (which is the default
main class app). Like you said, because there are no visible pixels or
child display object that will propagate the mouseevent, the root
sprite will not
Make sure the sprite has mouseEnabled=true. Also, the sprite might have
children which are intercepting the mouse commands. The top most item (in
the z-order) that has mouseEnabled will receive the mouse event first and
may have the ability to stop prorogation. Additionally, adding interaction
: Monday, April 09, 2007 11:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Root sprite not responding to MouseEvent ?
Hi Alex,
Thanks for your response. My main class app (which is the root sprite)
actually has a bitmap object added to it. The bitmap can be seen but
however none
Hi Alex,
Thanks for your response. My main class app (which is the root sprite)
actually has a bitmap object added to it. The bitmap can be seen but
however none of the mouseevent works.
I understand that the bitmap object does not have any of the
mouseevent but however since the main class exten
day, April 09, 2007 10:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Root sprite not responding to MouseEvent ?
Hi all,
Just want to check, does the root sprite actually respond to any of
the MouseEvent? Any reason why it doesn't ?
Hi all,
Just want to check, does the root sprite actually respond to any of
the MouseEvent? Any reason why it doesn't ?
16 matches
Mail list logo