ST3VO
asked on
Save data to text file locally using AS3
Hi all,
Hope you can help me here.
I need to Save data to text file locally using AS3 or AS2.
I don't need this to work online so I suppose no PHP require here.
I've been googling but cannot find it and I was told that it can do done with AS if it's locally.
Here is the code:
Hope someone can help!
Thanks
ST3VO
Hope you can help me here.
I need to Save data to text file locally using AS3 or AS2.
I don't need this to work online so I suppose no PHP require here.
I've been googling but cannot find it and I was told that it can do done with AS if it's locally.
Here is the code:
Hope someone can help!
Thanks
ST3VO
wall.addEventListener(Wall3DEvent.ELEMENT_SELECTED, saveText);
function saveText(e:Wall3DEvent):void {
// I need to find some code and insert it here!
// I just need to save to a txt file, no need to read later, just save.
}
ASKER
Is there ANYWAY at all to do this without using PHP or ASP please?
nope. flash resides within the dreaded "Sandbox" - it cannot have access to the harddrive.
what exactly do you want to do with the text after it's saved.
how is this running if it's not online? projector? desktop application?
what exactly do you want to do with the text after it's saved.
how is this running if it's not online? projector? desktop application?
ASKER
I've got a html file with flash embedded in it.
It's basically an image gallery which uses xml.
I've got an external application that reads this txt file which I want flash to write on so my application
know the name of the image that has been selected.
It's basically an image gallery which uses xml.
I've got an external application that reads this txt file which I want flash to write on so my application
know the name of the image that has been selected.
i'm shaking my head violently.
ASKER
Please don't tell me that's there's no way in this world that this can be done :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks very very much!
Looking forward to jumping around :o)
Looking forward to jumping around :o)
ASKER
Thanks for your help!
flash has no capabilities to write to the hard drive with exception to shared objects.