actionscript ?
actionscript ?
Out of context: Reply #4
- Started
- Last post
- 4 Responses
- unfittoprint0
you can't.
you can however create a class that extends Movieclip:
//in your library folder create a MovieClip.as
class MovieClip2 extends MovieClip {
//constructor
function MovieClip2 (){
}//methods
static public method1(){}
static public method2(){}}
//usage
MovieClip2.method1();remember to add your library folder in Flash's actionscript preferences.
believe me, the new OOP syntax is much more powerful, one central library for all your code, that will grow from each project and allow you to deploy code 1000x faster than before...
essential book:
http://moock.org/eas2/