Stage.xh lime app module missing

Hi !
I have a problem building a very simple (like HelloWorld) project with OpenFL.
It works good on Flash build but not on HTML5 or mac build

MAC Yosemite, Sublime Text, Open FL (3.0.3) & Lime (2.4.3) latest version. done openfl setup.

Error displayed
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onTextEdit needed by is missing
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onTextInput needed by is missing
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onWindowEnter needed by is missing
/usr/lib/haxe/lib/openfl/3,0,3/openfl/display/Stage.hx:168: lines 168-1611 : Field onWindowLeave needed by is missing

My very simple class if you need it
import haxe.web.Dispatch;
import haxe.xml.Parser;
import haxe.Http;
import haxe.xml.Fast;
import openfl.Assets;
class Main
public function new ()



Thanks for your help, I’m new to OpenFL, sorry if this is some basic question !

Try using the latest of both OpenFL and Lime :slight_smile:

Wow, looks like I’m really stupid and didn’t try to make “haxelib install openfl” to get latest version… I wished the error was a little more explicit but definitely thanks, it’s solved :wink:

You can also use openfl upgrade when it’s already installed to update :slight_smile: