Re: [Flashcoders] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Tony Fouts
Andrew,

You might also want to check out this link:

http://www.zedia.net/2008/difference-between-mouseeventroll_over-and-mouseeventmouse_over-in-as3/

It does a great job of illustrating the difference between MOUSE_OVER and
ROLL_OVER.

Tony
http://www.lifelinewebsolutions.com


On Sun, Jul 5, 2009 at 12:39 PM, Andrew Sinning wrote:

> Thanks Rob.  That's just the ticket.
>
>
> Rob Romanek wrote:
>
>> Hey Andrew,
>>
>> Try setting mouseEnabled to false for your cursor sprite.
>>
>> hth,
>>
>> Rob
>>
>> On 5-Jul-09, at 8:40 AM, Andrew Sinning wrote:
>>
>>  The problem is that as soon as the custom cursor's sprite becomes
>>> visible, it causes a MOUSE_OUT event to get called on the image (because the
>>> image is intercepting the mouse-over?) and then the custom cursor gets
>>> turned off again.  The result is a flashing cursor.  Nice effect, but not
>>> what I have in mind.
>>>
>>>  ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Andrew Sinning

Thanks Rob.  That's just the ticket.

Rob Romanek wrote:

Hey Andrew,

Try setting mouseEnabled to false for your cursor sprite.

hth,

Rob

On 5-Jul-09, at 8:40 AM, Andrew Sinning wrote:

The problem is that as soon as the custom cursor's sprite becomes 
visible, it causes a MOUSE_OUT event to get called on the image 
(because the image is intercepting the mouse-over?) and then the 
custom cursor gets turned off again.  The result is a flashing 
cursor.  Nice effect, but not what I have in mind.



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Jiri

Did u try ROLL_OVER / ROLL_OUT to?

Jiri

Andrew Sinning wrote:
I've read though the documentation regarding event bubbling several 
times, but the concept remains blurry.  Perhaps this example will help 
me get my head around it.


I want to display a custom cursor, a version of the Photoshop "flat 
hand" cursor, whenever the mouse is over a cropped image to indicate 
that it can be moved around within the frame.  So, I have for the sprite 
of the image,  MOUSE_OVER turns on and MOUSE_OUT turns off the custom 
cursor.  The custom cursor object simply hides or displays the Mouse and 
has a sprite on the top level of the stage with startDrag() and stopDrag().


The problem is that as soon as the custom cursor's sprite becomes 
visible, it causes a MOUSE_OUT event to get called on the image (because 
the image is intercepting the mouse-over?) and then the custom cursor 
gets turned off again.  The result is a flashing cursor.  Nice effect, 
but not what I have in mind.


Thanks in advance for any guidance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Rob Romanek

Hey Andrew,

Try setting mouseEnabled to false for your cursor sprite.

hth,

Rob

On 5-Jul-09, at 8:40 AM, Andrew Sinning wrote:

The problem is that as soon as the custom cursor's sprite becomes  
visible, it causes a MOUSE_OUT event to get called on the image  
(because the image is intercepting the mouse-over?) and then the  
custom cursor gets turned off again.  The result is a flashing  
cursor.  Nice effect, but not what I have in mind.



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Andrew Sinning
I've read though the documentation regarding event bubbling several 
times, but the concept remains blurry.  Perhaps this example will help 
me get my head around it.


I want to display a custom cursor, a version of the Photoshop "flat 
hand" cursor, whenever the mouse is over a cropped image to indicate 
that it can be moved around within the frame.  So, I have for the sprite 
of the image,  MOUSE_OVER turns on and MOUSE_OUT turns off the custom 
cursor.  The custom cursor object simply hides or displays the Mouse and 
has a sprite on the top level of the stage with startDrag() and stopDrag().


The problem is that as soon as the custom cursor's sprite becomes 
visible, it causes a MOUSE_OUT event to get called on the image (because 
the image is intercepting the mouse-over?) and then the custom cursor 
gets turned off again.  The result is a flashing cursor.  Nice effect, 
but not what I have in mind.


Thanks in advance for any guidance!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders