I’m targeting html5
and when I do:-
var atlasBitmapData : BitmapData = Assets.getBitmapData(ATLAS_BITMAP);
where ATLAS_BITMAP
is assets/images/metalworks_mobile.png
I get:-
[lime.utils.Assets] ERROR: There is no IMAGE asset with an ID of "assets/images/metalworks_mobile.png"
My IDE is using the following command to launch the server:-
/usr/local/lib/haxe/lib/lime/7,1,1/templates/bin/node/node-mac /usr/local/lib/haxe/lib/lime/7,1,1/templates/bin/node/http-server/bin/http-server Export/html5/bin -p 3000 -c-1 --cors -o
where my assets
directory is in the bin
directory.
What I don’t understand is what is the starting directory for searching for the assets
directory?