starting with as files
hi, just the basics of placing code in an as file
i created a file, this is all the code in the file:
package something { public class some_class { } }
the file is called 'package_test.as'
now i create a new animation file, and in fort frame i place something like:
include "package_test.as"
import something.*
//
trace("done");
just the basics, create a class inside a packgage with a test clas, then try to recall it from another file. i get the next error:
1037: Packages cannot be nested
i mean, is pretty straight forward, just test the basics of placing code in a file and calling it from another file. it is not because the class is empty or has no constructor, i did this test because i had some code in some movies and i am trying to place them as part of a class, but i am failing in the basics so far. any pointers?