Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

Downloading a remote SWF to local, then loading it

$
0
0

I am dowloading a remote SWF to local storage (File.applicationStorageDirectory). I am then loading that local file into the AIR application. Two questions:

 

1) When downloading the SWF from the remote site, is there a way to make the SWF not execute its code? All I care about is downloading the file to local storage. I don't want it to execture at that point. I've tried Loader and URLLoader, and both execute the first frame code of the loaded SWF.

 

2) When the SWF is loaded from local storage, its Security.sandboxType is always "localWithFile", even though I set the SWF's Local Playback Security to "Access Network Only" in its original FLA file. Is that by design for any untrusted local SWF opened in AIR, or is it a bug?


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>