Hello everyone, when i compile the first sample without code, i have a popup containt this:
The length cannot be less than zero.
Parameter name: length
at System.String.Substring (Int32 startIndex, Int32 length)
at HaXeContext.ExternalToolchain.Run (String command)
to HaXeContext.PluginMain.HandleEvent (Object sender, NotifyEvent e, HandlingPriority priority)
to PluginCore.Managers.EventManager.DispatchEvent (Object sender, NotifyEvent e)
Why? thank in advance. (sorry for my english)…
This bug has been already reported here : [HTML5 - Openfl 8.9.1 - Lime 7.5.0] Substring error, length < 0
It’s specific to HaxeDevelop, so you should try FlashDevelop instead.
Thank for your reply, but, it doesn’t work either… it’s a shame.
You might try using a development build @Alain_Mazy. The release versions of HaxeDevelop and FlashDevelop are now years old, sadly.
Lets use FD version 5.3.3. It might be too old but very stable. The Nightly would crash on startup if your Windows OS updated!. It seems not to be fixed yet!
There was a recent NET update which some folk are saying resolved the FlashDevelop startup crash issue.
For me, removing the preferred SDK from the project file (which was suggested here) got around the issue some months back.