i've had this happen many times and even posted to the list about it....i use 
the debugger that comes with the flash ide alot and only then can i see what's 
happening...if you look at the instances using the debugger you can see that 
the instances haven't cleared their values. what i've done in the past is make 
sure that i call removeMovieClip as well as call delete, and ....pray! :)

hope this helps

----- Original Message ----
From: Daniel Thompson <[EMAIL PROTECTED]>
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, February 23, 2007 6:13:07 PM
Subject: RE: [Flashcoders] [AS3] Timers behaving erratically

> classes. The second time this class is instantiated, the 
> timers don't fire. Any reason why this is happening?

Actually, nowhere in the application they aren't firing.
Here's the code that disables the application:



    public static function disable(message:String):void {
      with (_instance) {
        var snapshot:Bitmap = takeSnapshot();

        destroyForm();

        _container.addChildAt(snapshot, 0);
        _container.addChildAt(drawCurtains(), 1);
        _container.stage.addEventListener(MouseEvent.CLICK,
mouseClickHandler);
        
        showAlert(message);

        _container.stage.invalidate();
        
        _enabled = false;
      }
    }


    private function destroyForm():void {
      _container.removeChild(_container.getChildByName("form"));
      _form = null;
    }


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to