I have some actionscript that messes with the MovieClip prototype. Only, instead of using #include, I'd like to encapsulate it in a static function. That is, instead of using
#include "../../../path/to/my/file.as"
I'd like to do something like
com.exanimo.prototypes.messWithThePrototype();
Is this possible?
Thanks for the help.
exanimo
4:51 pm on Aug 23, 2006 (gmt 0)
It is possible..
My problem wasn't modifying the prototype from a static function scope but having a MovieClip.as file in the directory.