My project tree includes a folder called 'AS3 OOP (AS3)' and a 'DocumentClass.as' which is inside it.
This is what's on 'DocumentClass.as':
package{
import flash.display.MovieClip;
import flash.text.TextField;
public class DocumentClass extends MovieClip {
public function DocumentClass() {
var tf:TextField = new TextField();
addChild(tf);
tf.text = "Hello World";
}
}
}
When I try to build the project I get this information pop up:
'In order to build this project, you must mark the AS or MXML entry point as "Document Class" in the project tree.'
So, what do?