Tag Archives: Addchild


How to Use Addchild in Action Script

ActionScript 3.0 uses a very powerful display list through which objects are displayed in flash. The display list can be applied only to objects that are visual, like shapes, text box and lines. Values and variable are non visual objects and cannot be used by display list. Display list uses two important functions; addChild() actionscript 3 and removeChild(). addChild() actionscript is used to display object to the screen and removeChild() to remove the object from the screen. Let’s look into a simple example to add a circle shape and a text box.

read more »