00:00
00:00
Newgrounds Background Image Theme

Chan99 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

FlashDevelop won't build project?

1,285 Views | 2 Replies
New Topic Respond to this Topic

FlashDevelop won't build project? 2015-03-07 12:13:50


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?

Response to FlashDevelop won't build project? 2015-03-07 12:25:40


Did you right click the file and set as document class?

Response to FlashDevelop won't build project? 2015-03-07 12:37:40


At 3/7/15 12:25 PM, Sam wrote: Did you right click the file and set as document class?

Oh.