and you suggest somithing like this
box.addOnMouseMove(mouseMoveFunction);

function mouseMoveFunction(event:MouseEvent):void
{
     box.do_something();
     view.render();
}

?

On 12 Май, 10:39, manufaktor <[email protected]> wrote:
> Hey Rob
>
> indeed, I'm calling view.render() in an enter_frame because I need to
> calculate teh bounds of those moused objects continuosly...
>
> On 8 Mai, 00:11, Rob Bateman <[email protected]> wrote:
>
>
>
> > 3d mouse events need a continuously firing view.render() method in order to
> > work correctly. its easy to forget this when using mouse events because in
> > some cases they will be triggered when moving in and out of the view without
> > a render call on every frame, but the problems occurs when trying to see
> > mouse events between objects. Are you calling view.render() in an
> > enter_frame loop?
>
> > Rob
>
> > On Thu, May 6, 2010 at 11:26 PM, manufaktor <[email protected]> wrote:
> > > I just had a look at View3D. It seems like MouseEvents are captured on
> > > the view, so it seems obvious that a child to child MouseOut/Over is
> > > not dispatched, because it those events are not dispatched on the view
> > > itself. Am I correct and how could I fix this?
>
> > > Thanks!
>
> > > On 6 Mai, 14:29, manufaktor <[email protected]> wrote:
> > > > Hey Peter
>
> > > > it seems to work, but I'm not totally sure (I'd have to write an
> > > > actual dedicated test for that).
> > > > On the other hand I'm now having MOUSE_OVER events not being fired
> > > > when mousing directly between two overlapping objects (I just cried a
> > > > little inside :()
> > > > I've tried with view.forceUpdate = true, but no luck yet.
>
> > > > Thanks!
>
> > > > On 6 Mai, 13:30, Peter Kapelyan <[email protected]> wrote:
>
> > > > > Try this on your view:
>
> > > > > view.mouseZeroMove = true;
>
> > > > > Hope it helps
> > > > > -Peter
>
> > > > > On Thu, May 6, 2010 at 5:15 AM, manufaktor <[email protected]>
> > > wrote:
> > > > > > Here's the scenario:
>
> > > > > > 1 Cube with MOUSE_OVER listener
> > > > > > Moving the mouse over the cube dispatches the 
> > > > > > MouseEvent3D.MOUSE_OVER
> > > > > > as expected.
>
> > > > > > However:
> > > > > > When the mouse did not move and the cube did not move, but the 
> > > > > > camera
> > > > > > angle changed so that the Cube is now under the mouse, it doesn't
> > > > > > dispatch. I expect that it should. Where would I have to look for
> > > that
> > > > > > in the source?
>
> > > > > > Thanks! :)
>
> > > > > --
> > > > > ___________________
>
> > > > > Actionscript 3.0 Flash 3D Graphics Engine
>
> > > > > HTTP://AWAY3D.COM
>
> > --
> > Rob Bateman
> > Flash Development & Consultancy
>
> > [email protected]

Reply via email to