Difference between createClassObject() and attachMovie

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!!