view.forceUpdate is by default false. set it to true if you need to update frequently.
Fabrice On Apr 18, 2010, at 1:09 PM, Konstantinos Anatolitis wrote: > I have a 3D application and I wanted to show / hide (visible: true / > false) an objectContainer3D by clicking a checkBox. > > What I did to make it work was the following 2 lines, which seem to > work like an update of what you see: > camera.zoom += 1; > camera.zoom -= 1; > > I hope it helps. > > cheers > > On Feb 19, 8:11 pm, Revalis <[email protected]> wrote: >> Still trying to find a resolution. =/ >> >> On Feb 16, 11:45 am, Revalis <[email protected]> wrote: >> >>> I have an Augmented Reality project I am doing with Away3D. >>> Unfortunately, it doesn't seem to want to hide the models if the >>> marker is removed from the screen. >> >>> I have these functions controlling the markers: >> >>> override protected function onMarkerAdded >>> (e:FLARMarkerEvent) :void >>> { >>> _Player.ctrlPlay(); >>> activeMarker = e.marker; >>> modelContainer.visible= true; >>> } >> >>> override protected function onMarkerRemoved >>> (e:FLARMarkerEvent) :void { >>> _Player.ctrlPause(); >>> activeMarker = null; >>> modelContainer.visible= false; >>> } >> >>> But regardless, I always see the model on the screen. Obviously, it's >>> frozen in the last place it saw the marker. If I trace >>> modelContainer.visible, the result is false. My loop is also running >>> a .render() on the view ever frame, regardless of if there is a marker >>> detected or not. >> >>> Any ideas? > > > -- > Subscription settings: > http://groups.google.com/group/away3d-dev/subscribe?hl=en
