Quick update

Function{

 

Var Mort: MovieClip = new Mort();

Try{

                removeChild(Mort);

}catch(e:Error){

                // Do nothing;

}

addChild(Mort);

}

 

This function is called multiple times and each time it adds the child Mort,
but I want to remove the one placed there previously, it works if I add the
two lines right after each other as in the previous email but I really need
it work more like this.

 

 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to