Anyway to load an external Actionscript file into a frame?

thats it is there a way to take all the code in a frame and save it to a .AS file and import that .AS file into the frame where the code originally was?

you could send it to PHP and write it to a text file then rename the file whatever.as, then use the #include option in Flash to include it again.

if i include a as file it can do _root.onEnter stuff?
using the normal include(like for custom classes?)

and its scope will only be the frame i place it on right?

nope, if you include it in the _root of your movie, it will be accesable to anything below it. Also it can include onEnterFrame events fine.

And yeah, just use #include like a class file.:slight_smile:

cool thanks man :slight_smile: