Flex User

February 1, 2008

Favourite AS3 removeChild code

Filed under: Flex — Tags: , , — nsdevaraj @ 12:29 pm

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

3 Comments »

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

    Comment by dhana — February 11, 2008 @ 3:39 pm

  2. where is the post??

    Comment by Noj — May 17, 2008 @ 3:19 am

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

    Comment by nsdevaraj — May 17, 2008 @ 5:41 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.