Call a function from another class

I havent yet tried to call functions from other classes.

Lets say i have a class1 with function called makeBackground()

In class2 i want to call that function how do i do that without caling my constructor.

I have tried the following without any luck.


var _class1:class1 = new class1()
_class1.makeBackground();

And then at the top.


private var _class1:class1;