      */
     private var stageTextVisibleChangePending:Boolean = false;
     private var stageTextVisible:Boolean;
-        
+    private var viewChanging:Boolean = false;
+    
     //--------------------------------------------------------------------------
     //
     //  Overridden properties

    {
        super.commitProperties();
        
        if (stageText != null)
            stageText.editable = _editable && effectiveEnabled;

        commitVisible(false);
        
        if (invalidateViewPortFlag)
        {

        invalidateProperties();
    }
    
    private function ancestor_viewChangeStartHandler(event:Event):void
    {
        viewChanging = true;
    }
    
    private function ancestor_viewChangeCompleteHandler(event:Event):void
    {
        viewChanging = false;
        
        if (stageTextVisibleChangePending)
            enterFrameHandler(null);
    }
    
    private function awm_activatedFormHandler(event:DynamicEvent):void
    {
        updateProxyImageForTopmostForm();
