# addElement vs. addChild

**URL:** <https://forum.kirupa.com/t/addelement-vs-addchild/316792>\
**Category:** flash\
**Created:** [December 2, 2010, 2:35pm UTC](https://forum.kirupa.com/t/addelement-vs-addchild/316792 "2010-12-02T14:35:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcoulson](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tcoulson](https://forum.kirupa.com/u/tcoulson)\
**Post date:** [December 2, 2010, 2:35pm UTC](https://forum.kirupa.com/t/addelement-vs-addchild/316792/1 "2010-12-02T14:35:09Z")

</div>

[http://savagelook.com/blog/actionscript3/flash-builder-4-addelement-instead-of-addchild](http://savagelook.com/blog/actionscript3/flash-builder-4-addelement-instead-of-addchild)

This article seems to say that all Flex 4 elements are now being added to a project using addElement() instead of addChild(). So my only question is why the switch? Are there any advantages to the new function?
