# HELP: I can't get classes to work

**URL:** <https://forum.kirupa.com/t/help-i-cant-get-classes-to-work/91281>\
**Category:** Uncategorized\
**Created:** [October 1, 2003, 11:30am UTC](https://forum.kirupa.com/t/help-i-cant-get-classes-to-work/91281 "2003-10-01T11:30:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jupke](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jupke](https://forum.kirupa.com/u/jupke)\
**Post date:** [October 1, 2003, 11:30am UTC](https://forum.kirupa.com/t/help-i-cant-get-classes-to-work/91281/1 "2003-10-01T11:30:16Z")

</div>

I made a simple test movie, with one MC called “Test2”.  
This MC is put in the scen with the instance name “inst1”

In the first frame I define the class:

function Effe() {  
}  
Effe.prototype = new MovieClip();  
Effe.prototype.move = function()  
{  
this.\_x += 2;  
};  
Object.registerClass(“Test2”, Effe);

on the second frame I call the “move” method:

inst1.move();

on the third frame I do:  
gotoAndPlay(2);

It should move my clip, but I have the feeling that the class is not registerd properly.

Can somebody give me some help please? I attached the FLA…
