Copy link to clipboard
Copied
Hello
Is there such a technology like expansion files, which the source files (images/audios/videos) are divided from the application project, in iOS?
My only option is to load external swf's?
Thank you!
try:
Copy link to clipboard
Copied
what are you trying to do?
Copy link to clipboard
Copied
Hello
The company which i work for want me to "divide" the iOS application in many "parts" to reduce it's size.
I searched about that and i found no answer, unless load external swf's.
Do i have another solution?
Thank you!
Copy link to clipboard
Copied
using external swfs won't reduce an app's size.
no one cares what size an app is. it's not even listed in the app store.
what's the point of reducing its size?
Copy link to clipboard
Copied
First of all, thank you for answering me.
The application has 2Gb, that's the point of reducing size.
If my application loads external swf's with the resource files, doesn't the application get smaller?
Copy link to clipboard
Copied
not unless you're loading the swfs from the internet.
in that situation, not many users are going to be happy to use their data plan when they use your app and not many will be happy about the delays encountered when using your app while loading assets.
in addition, you couldn't have swfs that large unless you were using a lot of bitmaps, videos or sound files and it would make more sense to load those. but again i don't know who'd want to wait and use data.
Copy link to clipboard
Copied
You are rigth, kglad​​, but or the application has 2GB (or plus), or it can only be played in a wifi zone, because of the internet traffic.
Do you see any solution?
Copy link to clipboard
Copied
what requires 2gb?
Copy link to clipboard
Copied
The application.
Well, rigth now i am trying to make the application get a sd card folder with the videos with no sucess.
I am trying this way:
var file:File = File.userDirectory.resolvePath("Empordef/");
var XML_URL: String = file.url + "/lista.xml";
var myXMLURL: URLRequest = new URLRequest(XML_URL);
var myLoader: URLLoader = new URLLoader(myXMLURL);
According to this website, this is rigth.
It returns me:
/storage/emulated/0/Empordef/lista.xml |
I searched for, and this is the internal storage.
Does it returns me internal storage because i have no permissions to access to sd card?
How do i get the external storage?
Thank you!
Copy link to clipboard
Copied
try:
Copy link to clipboard
Copied
Yeeeeey!
Now it works!
var file:File=File.documentsDirectory.resolvePath("/sdcard/");
var XML_URL: String = file.url + "/Empordef/lista.xml";
I was including the source path to file source!
Thank you for always answer me!
Copy link to clipboard
Copied
you're welcome.
(p.s when using the adobe forums, please mark helpful/correct responses, if there are any.)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now