
Originally Posted by
BLiZZaRD
So attaching an external .as file is different in AS3? Or am I missing the actual question?
Yup, it's different and it really depends on what you want to do. You can "include" external ActionScript using the include directive.
AS3 gets rid of the the # in front though. So, to include regular AS3, you might do something like:
Code:
include "myactionscript.as"
However, these included bits should really not be classes. If you're creating a Document class, you can attach it via the properties panel. Or, if you're attaching classes to objects, you can set it in the object's linkage properties.
Bookmarks