# Difference between createClassObject() and attachMovie

**URL:** <https://forum.kirupa.com/t/difference-between-createclassobject-and-attachmovie/177127>\
**Category:** flash\
**Created:** [January 30, 2006, 2:09pm UTC](https://forum.kirupa.com/t/difference-between-createclassobject-and-attachmovie/177127 "2006-01-30T14:09:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayman](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Post date:** [January 30, 2006, 2:09pm UTC](https://forum.kirupa.com/t/difference-between-createclassobject-and-attachmovie/177127/1 "2006-01-30T14:09:28Z")

</div>

Good Morning everyone,

this is my first post here. I see how active this wonderful forum is.

My question is: what’s the difference between createClassObject() and attachMovie ? If there’s a checkbox component (say) and I want to put it on the stage. I usually use attachMovie (and it works) , but looking into many of the tutorials and help files provided by the application itself, they use createClassObject instead.

I wanted to know the reason, and the advantages of using createClassObject.

Thanks a lot in advance!!
