# Cost of object instantiation

**URL:** <https://forum.kirupa.com/t/cost-of-object-instantiation/173670>\
**Category:** flash\
**Created:** [December 28, 2005, 3:05pm UTC](https://forum.kirupa.com/t/cost-of-object-instantiation/173670 "2005-12-28T15:05:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilazarte](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@ilazarte](https://forum.kirupa.com/u/ilazarte)\
**Post date:** [December 28, 2005, 3:05pm UTC](https://forum.kirupa.com/t/cost-of-object-instantiation/173670/1 "2005-12-28T15:05:55Z")

</div>

Let’s say I create a Movieclip, and during my code, I use maybe 1/8th the features of the object. On runtime instantiation, am i paying for the full object, or is flash compiling only the necessary elements and saving the overhead?
