HTML5 for HaxeFlixel



  • Hi,

    The current haxeflixel version does not seem to work with HTML5 export. Whn I try to compile the empty template project, I get the error
    "C:\HaxeToolkit\haxe\std/js/html/HTMLDocument.hx:130: characters 40-52 : Type not found : StyleElement"

    My haxelib list:
    actuate: 1.8.6 [1.8.7]
    flixel-addons: 1.1.0 1.1.1 2.0.0 2.2.0 [2.3.0]
    flixel-demos: 1.1.2 2.1.0 [2.3.0]
    flixel-templates: 1.0.2 2.0.1 2.2.0 [2.2.1]
    flixel-tools: 1.1.1 1.1.2 1.1.3 [1.2.1]
    flixel-ui: 1.0.2 2.0.0 [2.2.0]
    flixel: 3.3.11 3.3.12 4.0.1 4.1.1 4.2.0 [4.2.1]
    hxcpp: 3.2.180 3.2.193 3.2.205 3.3.47 3.3.49 [3.4.49]
    lime-samples: 2.5.1 2.6.0 [3.4.0]
    lime: 2.6.8 2.7.0 2.8.1 2.9.0 [2.9.1] 3.7.2 3.7.4
    openfl-samples: 3.1.0 3.3.0 3.3.1 [4.7.0]
    openfl: 3.0.0-beta.3 3.3.0 3.3.8 3.4.0 3.5.2 3.6.0 [3.6.1] 4.7.3 4.8.1
    swf: 1.9.1 2.0.4 2.1.1 2.1.3 2.1.6 2.2.0 [2.3.1]

    Using flash is a bad idea for various reasons. Is there an easy way to fix this? Is it currently being worked on?

    So Far...
    Laguna



  • I think you need to reinstall Haxe but with your IDE like Flash/HaxeDevelop closed.


  • administrators

    What @DleanJeans suggested is indeed something you should try. FlashDevelop / HaxeDevelop seems to lock files in the standard library from time to time, which can lead to faulty Haxe installations. This was discussed here:



  • That worked for me.

    I would expect the setup to complain if some files are locked. But more than that, I would expect flashdevelop NOT to lock files :D

    Thank you for the help!

    Laguna


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.