(In local testing, you may get a security error that you have to dismiss each time. Only works on the Flash target. Some movies may not be supported, but this is made pretty clear by the Flash player. NME has a cross-platform SWF loader, but when I tried it, it did not render things correctly.)

Maybe "2) Stick the files in to that folder." should be2) Stick the files in to that folder. (Do not create any subdirectories - place all files in the root of the extras folder)and maybe say that the assets/data/ HAS to be as specified.

as I was presuming the assets/data/ was a reference to the path I created in the extras folder e.g. /extras/data/xml/level1.xmlwould be referenced by nme.Assets.getText("data/xml/level1.xml")

I did a quick test on images and found them to work flawlessly, and you can even slip in a JPG like this. Bear in mind that none of this obeys scaling and all that, so the utility is pretty limited outside the web game realm.

I also checked out SWF movies, and those work fine too, as long as you understand the limitations and quirks of working with raw SWF's. Instructions updated to reflect that.

Once Mike stabilizes his work, I could consider wrapping these up as utility functions, but no further than that at this point because there's a lot more to this than meets the eye and can't be done justice at this time.

I was doing some tests with this earlier and you seems to be able to include anything in the game. Your not limited to just text, image, and swf files. I am close to getting a mp4 video playing on the iOS devices even. This feature has so much potential.

I was doing some tests with this earlier and you seems to be able to include anything in the game. Your not limited to just text, image, and swf files. I am close to getting a mp4 video playing on the iOS devices even. This feature has so much potential.

With an extension or using pure Haxe? I was unaware that NME could play video on its C++ targets out of the box.

I was doing some tests with this earlier and you seems to be able to include anything in the game. Your not limited to just text, image, and swf files. I am close to getting a mp4 video playing on the iOS devices even. This feature has so much potential.

With an extension or using pure Haxe? I was unaware that NME could play video on its C++ targets out of the box.

Ok, so I have been trying to get this to work for some time now and I think I found out why it is failing on me with local files. I have thought that it is the way the files are saved into the app when it is compiled. I put the video into the extras folder with it name as "video.mp4". After the app is compiled, the name is "assets_data_video_mp4". Is there any way I can get that file into the app without the weird naming mechanic?

EDIT: Got the movie player to show up with the local file now but it instantly closes because it has no idea what kind of file it is trying to play.

That naming scheme you've pointed out is controlled by NME and isn't alterable. But at the same time, that's not how you pick up the file when you call Assets.getBlah - it's a virtual file name, not a real file you're looking at.

This is truly awesome!, thanks to everyone who worked on this project, definitely would love to use it. Would there be any ideas on how to get this working with the different 1x, 1.5x, 2x and 4x scales?... I think it would make it a perfect asset for stencyl!

QUICK EDIT: Does loading .swf's work all across the board? meaning Android, iOS, HTML etc.. ?