# Create class of objects

**URL:** <https://forum.kirupa.com/t/create-class-of-objects/259265>\
**Category:** flash\
**Created:** [May 2, 2008, 4:28pm UTC](https://forum.kirupa.com/t/create-class-of-objects/259265 "2008-05-02T16:28:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackcoma](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Post date:** [May 2, 2008, 4:28pm UTC](https://forum.kirupa.com/t/create-class-of-objects/259265/1 "2008-05-02T16:28:36Z")

</div>

I’m pretty new at AS3,  
I know AS2 pretty well, except using classes.

I would like to create a class, which enables me to create square in various sizes  
and move them across the screen (I want the class to create a square outside the stage and make it move across the screen until it leaves the screen)

Can you please give me some guidance?

Thanks a bunch :beam:
