# onLoad for dynamically created mc's?

**URL:** <https://forum.kirupa.com/t/onload-for-dynamically-created-mcs/243037>\
**Category:** flash\
**Created:** [November 2, 2007, 3:12am UTC](https://forum.kirupa.com/t/onload-for-dynamically-created-mcs/243037 "2007-11-02T03:12:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xytor](https://avatars.discourse-cdn.com/v4/letter/x/90ced4/32.png) [@xytor](https://forum.kirupa.com/u/xytor)\
**Post date:** [November 2, 2007, 3:12am UTC](https://forum.kirupa.com/t/onload-for-dynamically-created-mcs/243037/1 "2007-11-02T03:12:28Z")

</div>

I am guessing the onLoad event handler doesn’t work for dynamically created movie clips (with attachMovie) because it never gets loaded…  
Is there any other way i can do something when it first gets created?
