thx man, worked great !

--- In flexcoders@yahoogroups.com, "Tim Hoff" <timh...@...> wrote:
>
> 
> import mx.containers.Canvas;
> 
> 
> 
> private function onCanvasClick(event:MouseEvent):void
> {
>       if (event.target is Canvas)
>       {
>            // do canvas click stuff
>       }
> }
> 
> 
> 
> private function onButtonClick():void
> {
>      // do button click stuff
> }
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "rockorgames" <eguilherme@> wrote:
> >
> > hello, im trying to this,
> >
> > a canvas and a button inside the canvas..
> >
> > and both the button and canvas has click events.. my problem is:
> >
> > if the user clicks the button, both the button click event and the
> > canvas click event are firing.. is this something impossible to do ?
> >
>


Reply via email to