cant you check for onMouseDown and then while its down, do a hitTest on mcs?
- eric
On 3/8/07, Darren Bowers <[EMAIL PROTECTED]> wrote:
They do but not as expected. The onDragOver only triggers when the mouse
starts on the mc then travels off then back on the same mc again. I need
to
register something like this:
isMouseDown && onMouseRollOver { toggleMCStatus() }
I can set a flag on the mouseDown event, I just cant read anything that
happens between the mouse entering the new MC and before it leaves.
I remember seeing something years ago that did this, but cant find it
anywhere.
On 08/03/07, Smeets, Ben <[EMAIL PROTECTED]> wrote:
>
> Top of my head, do the "onDragOver" handlers work while downed?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Darren
> Bowers
> Sent: donderdag 8 maart 2007 5:56
> To: Flashcoders mailing list
> Subject: [Flashcoders] Mouse event handlers
>
> Hi all,
>
> I have a grid of mc's arranged in a square. When you click on any one of
> the mc's the mc changes appearance (ie inactive to active, active to
> inactive) - pretty simple.
>
> I am trying to create a group of handlers that detect if the mouse is
> held down and "wiped" across the other mc's. If it is, it changes the
> "state" of any mc's it rolls over.
>
> Problem is, when the onPress handler is invoked, it seems to ignore any
> other handlers (onRollOver/onRollOut). I have tried combinations or
> onMouseUp/Down and setting flags, but if I cant get the onRollOver/Out
> handlers firing, I cant seem to detect whether the mouse is over the
> next mc while the mouse is down.
>
> This is getting frustrating - any ideas?
>
> http://www.whitemanrcheli.org/test/squares.html (check the "interactive"
> box and "create Grid")
>
> Darren
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training http://www.figleaf.com
> http://training.figleaf.com
>
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be
copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
eric e. dolecki
senior interactive engineer
http://www.ericd.net
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com