I have created an air application which will load another swf
(settings.swf) with html page using createRootWindow. In my
settings.swf iam reading a text file and updating the data at text
file on my local computer. when i run the air file it is working
fine. if i load the same swf in another air application through a
html loader (createRootWindw), it is not writing in my local txt
file. may be the recurity reason. it is not woring. i got sturck up
pls help me.
please be informed that i tried with allowdomain("*") - it is
Only content loaded into the application sandbox has access
to the AIR APIs such as those for writing files. I'm not sure
exactly what it is you are trying to achieve, but the mechanism
provided in AIR for insecure content to communicate with
application content is the sandbox bridge. A sandbox bridge is
essentially an interface between your application and content
loaded from an arbitrary location.
i gone through the sandbox document and created an air
application. In that i loaded a swf through HTML (root window). in
that swf iam opeing a txt file with write mode and
modifiying(updating) the content (data). if i run the fla it is
working, but in loading on HTML it is not working.
can u please tell me the steps to create the security
sandbox? i tried.. i got struck up where to include in html or fla?
if u tell me step by step will be useful for me..