Pete,   I tried that before, doesn't work.

mudong

On 9月29日, 下午9时22分, Peter Kapelyan <[email protected]> wrote:
> Try to put the mouse event on the scene, should work!
>
> Let me know
> -Pete
>
>
>
>
>
> On Tue, Sep 29, 2009 at 3:18 AM, mudong <[email protected]> wrote:
>
> > Hi, guys,
>
> > please take a look of this flash
> >http://insidertrading4u.com/flex3helloworld.swf
>
> > what I want to do in this flash is like this: when I single click on
> > the floor somewhere, Mario will walk to that point(kinda, Mario's
> > direction is not changed), and this part is working. Now, I also want
> > to double click somewhere on the floor, and Mario will move to that
> > point without walking(just change location to that point right after
> > double click).
>
> > But double click event can not be fired up, because the cross on the
> > floor is a Plane object. and I believe double click event is disabled
> > by default. I tried to change the Object3D class by extending
> > InteractiveObject(in which I can set doubleclickenabled to true)
> > instead of EventDispatcher, but eventually give up because all the
> > errors.
>
> > So how should I make this work?
>
> > thanks, guys
>
> > mudong
>
> --
> ___________________
>
> Actionscript 3.0 Flash 3D Graphics Engine
>
> HTTP://AWAY3D.COM

Reply via email to