i'm attempting to create a AS3 script that loads another script that will in turn load models to my scene
-----Main.as--------
function main()
{
include "MyBSPProject.as"
}
------------------------
if i set MyBSPProject.AS as always compile it compiles and loads
correctly
when loaded from main.as i get. "Error: Classes must not be nested"
the error comes from MyBSPProject.as (MyBSPProject.as is created by
prefab)
am i going about this the wrong way by attempting it as a include
statement?
