<script> is a HTML tag, you can't use it in ActionScript.
However you can use external scripts in ActionScript in pretty much the same way:
[tt]
#include "myASFile.as"
[/tt]
Having said that it's an AS1 methodology. In AS2 you should use external classes with "import".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.