Hey Mudong

unfortunately the double click is not yet supported by the MouseEvent3D in
Away3d. we are looking into adding this feature, along with the click event,
to the next major version of Away3d

cheers

Rob

2009/10/1 mudong <[email protected]>

>
> 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
>



-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to