forum > Latest FD,Haxe,NME,Jeash - broken?

  • Hi I'm on Windows using the latest releases of the following:

    FlashDevelop (4.0.4 R2337)
    Haxe (2.1.0 )
    NME (3.2.0)
    Jeash (0.8.7 automatically installed with NME)

    Started a new simple project displaying an image on screen - works fine for Flash target, but if I switch to HTML5 I get the following errors:

    C:\Motion-Twin\Haxe\lib\jeash/0,8,7/jeash/display/Stage.hx:323: characters 9-23 : js.#Lib has no field isOpera
    C:\Motion-Twin\Haxe\lib\jeash/0,8,7/jeash/display/Stage.hx:338: characters 5-16 : js.#Lib has no field isIE
    C:\Motion-Twin\Haxe\lib\jeash/0,8,7/jeash/display/Stage.hx:345: characters 8-19 : js.#Lib has no field isIE
    

    I'm deducting that the js.Lib in Haxe doesn't include the isOpera and isIE fields, but seeming as all these things are suppoed to work together and I've got all the latest approved builds am I missing something? Is there an update Jeash that doesn't rely on these fields?

  • I am not too sure I thought Jeash is now fully integrated into NME, it's fairly easy to get the latest hxcpp and NME from haxelib and only a few steps to get them running on windows atleast and it works with upto date haxe, or you can also get a download from haxenme but then you can always use upto date haxe, I think your probably several versions behind judging by your NME version number? If you do get upto date NME and you still have issues then I will bug Niel to do some updates on jeash.

    I can try to help with the hxcpp/NME from haxelib setup normally it involves some googling some swearing because things are always changing and google gave you an old link, but is usually just running a few terminal commands.

    In terms of haxe changes, I have updated my js libraries on google code for the changes by modifying the code in browserhx the minimal class I use for detecting player version.
    http://code.google.com/p/browserhx/source/browse/browserhx/Browser.hx

    Also you can use JQuery if the additional overhead is not important, it's normally built in so you need to explicitly say if you don't want it.

    you could easily use either to help patch your current setup, or the new one if that is also broken, feel free to report to me any issues with browserhx, it has not had much testing since the changes as I took the IE code from old haxe and used the same approach for opera as firefox, and it seemed to fix issues I had running my divtastic experiments.

  • Hi Justin, I'm glad I put the version umbers up there. I have no idea how I thought I was running the latest NME - just installed the latest and the file runs with no errors!

< Prev | Page 1 / 1 | Next >