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?

Reply via email to