Problem when loading swf asset packaged in the device.
Hi, I'm having an problem, I got the following line of code that should take care of the loading of assets that I package when I create the ipa file:
file = File.applicationDirectory.resolvePath("assets/" + path);
if(file.exists)
return file.url ;
This works OK in web and in Android, however, in my iPad it just doesn't work, the exists returns false, always.
I check the assets folder when I package the ipa, so it should be there, but I don't know how to retrieve the file.
I'm using Air 3.7.
Any ideas?.
Thanks.
