[Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Allandt Bik-Elliott (Receptacle)
hi guys quick question - is it possible to separate a MOUSE_UP event from a CLICK event? i have a mouse listener function that does the following: [code] private function grabListener(e:MouseEvent):void { switch(e.type)

Re: [Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Karl DeSaulniers
You might be able to set a timer for your CLICK. Eg: If this is clicked so fast, do CLICK else do MOUSE_UP Karl Sent from losPhone On Jul 12, 2009, at 4:08 AM, Allandt Bik-Elliott (Receptacle) alla...@receptacledesign.com wrote: hi guys quick question - is it possible to separate a

Re: [Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Jiri
I think that it makes sense that the functions like formHidden() gets called, because that is what you put down. It think you will need to put only the function name/ref like so: this.quoteRequest_mc.ySlideTo(quoteHideY,4,easeoutbounce,.5, formHidden ,20,4.5); Give it a try. Jiri Karl

Re: [Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Karl DeSaulniers
Thanks Jiri, I will try that. Karl Sent from losPhone On Jul 12, 2009, at 2:47 PM, Jiri jiriheitla...@googlemail.com wrote: I think that it makes sense that the functions like formHidden() gets called, because that is what you put down. It think you will need to put only the function

Re: [Flashcoders] separating MouseEvent.MOUSE_UP from MouseEvent.CLICK

2009-07-12 Thread Karl DeSaulniers
Thanks Jiri, That worked perfectly. I knew I had been looking at this code too long and that it was something as simple as deleting a couple of parenthesis. Thanks again.. Karl On Jul 12, 2009, at 2:47 PM, Jiri wrote: I think that it makes sense that the functions like formHidden() gets