Just replace all target[angle] by cam.tiltAngle or panAngle.
All propnames are now camelCased.
Sent from an iPhone without Flash
On Mar 14, 2010, at 10:06, sascha <[email protected]> wrote:
I saw these properties don't exist anymore in the recent build. What
am I supposed to use instead now to move around with a HoverCamera?
I've used an enterFrame loop like this before:
private function onEnterFrame(event:Event):void
{
if (move)
{
camera.targetpanangle = 0.3 * (stage.mouseX - lastMouseX) +
lastPanAngle;
camera.targettiltangle = 0.3 * (stage.mouseY - lastMouseY) +
lastTiltAngle;
}
camera.hover();
view.render();
}