Share Posted February 13, 2014 I've looked for a bit and haven't found an example of this yet. I've tried something like this; var file = new File(File.applicationStorageDirectory.nativePath);file = file.resolvePath("path/to/file.swf"); var loader:SWFLoader = new SWFLoader(file, {container:this, x:100, y:100, alpha:0.5, scaleX:0.5, scaleX:0.5, rotation:50}); but it doesn't work. Is this possible? Link to comment Share on other sites More sharing options...
Author Share Posted February 14, 2014 Nevermind, I solved it. The problem was I was passing it as an object instead of a url string. Changing it to "File.applicationStorageDirectory.nativePath + "path/to/file.swf" worked. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now