Looked around for this but I haven’t found an answer.
Let’s say I have a class that has a constructor which accepts some parameters.
class MyClass {
var myNumber:Number;
function MyClass(number) {
myNumber = number;
}
}
Is there a way I can link this to a movieclip and pass the parameter? From what I’ve found there are two ways to link the class to a movieclip, one using the registerClass and another typing the name intro the Linkage Box in the Library. But in both cases there are no parameters being setup.
Thanks!