do you mean something like this?

http://exintroverted.com/LingoGUI.swf

There's no need to worry about invalidateDisplayList and i used
something like mike's suggestion and it seem to work =)

--- In [email protected], "Mike Collins" <[EMAIL PROTECTED]> wrote:
>
> Why worry about the mouse position?
> 
> Why not set the state of your menu object to indicate which menu is
> selected, which one is hovered over, which ones are open, etc.
> 
> These state values get set in the MOUSE_MOVE event before you
invalidate and
> then the updateDisplayList already knows the state of the menu.
> 
> Mike
> 
> 
> On 3/22/07, Janis Radins <[EMAIL PROTECTED]> wrote:
> >
> > Hello ppl!
> >
> > I have run into some problems in here.
> > I'm making menu which is supposed to react on Mouse position.
Actually I'm
> > trying to recreate macintosh menu dock.
> > When menu is in active state i subscribe to MouseEvent.MOUSE_MOVE and
> > whenever it's called I fire invalidateDisplayList which leads to
> > updateDisplayList on next time graphics are rendered.
> > Guess that sounds pretty logical and stright forward.
> >
> > Now, the problem is that I have problem with synchronizing whole
thing,
> > because between time when invalidateDisplayList is issued and
> > updateDisplayList mouse position has already changed.
> > Hence my fist idea was to "somehow" pass current mouse position
along with
> > invalidateDisplayList call, though I dont see any possible way to
solve it
> > atm.
> >
> > Any ideas will be preciated.
> >
> > Jānis
> > 
> >
>


Reply via email to