Security behaviour in Adobe Air
hi everyone!
i trying load external swfs in adobe air app. loaded swf trying access url retrieve informations via xml.
when starting swf works fine. when loading swf file.applicationstoragedirectory security-error because loaded app executed in local-with-filesystem sandbox appareantly.
first question: there way change this? loaded swf running in network sandbox?
since first attempt didn't worked i've moved swf app:// directory.
now i'll security-error because there no policy file on server available xml data should retrieved.
second question: why policy file not necessary when running swf itself, necessary when trying load data application sandbox? doing wrong?
thanks in advance!
timo
are loading swfs in html-based air app (or htmlloader control) or in actionscript-based app?
1. can recompile external swf in local-with-networking sandbox. (you designate swf trusted, that's harder manage on customer's computers.)
1.5 if loading html, , can include swf part of app, can map remote domain getting data. not work arbitrary swfs download after install.
2. should not policy file error content running in air application sandbox. (you don't policy file issue in first case because don't far.) make sure swf running in app sandbox withsecurity.sandboxtype.
what ultimate goal here?
More discussions in Archived Spaces
adobe
Comments
Post a Comment