Favourite AS3 removeChild code

if(MC) if(MC.parent ) MC.parent.removeChild(MC);

  1. Verygood logic.. i have faced some problems and your code solved that… thanks buddy 🙂

    • Noj
    • May 17th, 2008

    where is the post??

  2. MC stands for any display object
    if(MC) if(MC.parent ) MC.parent.removeChild(MC);

  3. Excellent bit of code! Nicely done.

  4. awesome – thanks !

    • Jessica
    • June 23rd, 2009

    Awesome code – thanks for sharing!

  5. Nice, this solves my problem, that the mc can delete hisself.

  6. Thanks for sharing mate. Its really a logic code.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: