--
HaxeFlixel Development Community
See our github https://github.com/haxeflixel/ and our documentation http://haxeflixel.com/documentation/
---
You received this message because you are subscribed to the Google Groups "HaxeFlixel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haxeflixel+...@googlegroups.com.
Visit this group at https://groups.google.com/group/haxeflixel.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/7298a1a6-f721-4b3f-b56f-dbb8f62933d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "HaxeFlixel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/haxeflixel/icCdxAZ5wRM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to haxeflixel+...@googlegroups.com.
Visit this group at https://groups.google.com/group/haxeflixel.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/5cf75efa-bde2-4a93-9d1e-d54add3552a6%40googlegroups.com.
source = new Fast(Xml.parse(File.getContent("../../../../" + data)));
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/CAN2rW6AQRTK7Wa0ZVkdYOCJHW-k8sTomHg0BZNzQrmaYVR0KDQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/CABhKEZp9UUuMc02sYPjqt5HnSucVe8A9ojf%3DXFs%3DhbPcQOTtjQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/CAN2rW6AKuUi4y4wSXuJBPYJ_5QVx9meYvZLkGGKwTHHutJ8c%3Dw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haxeflixel/CABhKEZr_G9TNUcYV7Zma2ew13uaG6y97afgwEhqQ_mbk9uxK2g%40mail.gmail.com.
function LoadBitmap(path: String): BitmapData
{
trace("loading bitmap from: " + path);
#if !desktop
return Assets.getBitmapData(path);
#else
if (FlxG.bitmap.checkCache(path))
return FlxG.bitmap.get(path).bitmap;
else
{
var bytes = ByteArray.readFile(Path.join([Path.directory(Sys.executablePath()), path]));
return FlxGraphic.fromBitmapData(BitmapData.loadFromBytes(bytes), false, path, true).bitmap;
}
#end
}