Hi,
I have this Class:
package {
import flash.display.MovieClip;
public class MainClass extends MovieClip {
public function MainClass() {
trace("The main document class is Running.");
}
public function Sum(Number1:Number,Number2:Number):Number {
return Number1 + Number2;
}
}
}
I had used it as a document class, when I call the sum
function from the main time line it works, but I need to call it
from inside a movieclip.
thanks