I'm trying to replicate this hello world example with Haxe and HaxeUI.
When i compile the project everything seems fine but when i try to execute the swf from browser i have an error like: Cannot access a property or method of a null object reference
referred to processXmlResource
(in the root folder i have the main.hx and in a subfolder the xml).
Below is the screenshot of the error i get:
Have you modified your applications application.xml
(or project.xml
) to find the asset in your project root? Or put all your assets in an assets
sub folder and let then reference that from you application.xml
?
Basically it seems it is not finding your xml resource. This sample might be a good example of a basic project setup: https://github.com/ianharrigan/haxeui/tree/master/samples/hello_world_xml