View Full Version : [FMX] To save a file locally...
babbaladoobala
January 20th, 2003, 05:31 PM
Hi,
I am populating a listbox with an array. When an item is selected in the listbox, I am attempting to link to that file and save it locally when I click a save button.
I have fished around looking for ways to do this. I guess I'm looking for any info. I know the FSCommand has some functions that may help, but they don't seem to be supported completely.
If anyone has any ideas, I would be greatly appreciative.
thank you,
Sam
pom
January 20th, 2003, 06:44 PM
Why don't you try shared objects? There's a tute somewhere...
pom :cowboy:
babbaladoobala
January 20th, 2003, 09:02 PM
I'm not too familiar with shared objects (yet ;), but this seems to be the right area to look in.
With SharedObject.flush, flash states that the command "immediately writes a locally persistent shared object to a local file."
Would, say an ID tag associated with an .mp3 on the server constitute as locally persistent shared object? Or am I way off?
pom
January 20th, 2003, 09:09 PM
Can you rephrase your question? I'm just a poor Frenchman... :hangover:
eyezberg
January 21st, 2003, 03:01 AM
You can save anything into a S.O. you want: arrays, strings, numbers, dates..up to you.
babbaladoobala
January 21st, 2003, 12:46 PM
My hope is that I can actually save and .mp3 locally: click save - browse the local drive - hit ok - and wham!
Is this possibly using S.O's? Or is there a better direction?
I appreciate your feedback/time.
Thanks,
Sam
pom
January 21st, 2003, 01:24 PM
No, you can't do that. All you have to do is getURL your file, and Flash will automatically ask you if you want to save the file. I guess. :crazy:
eyezberg
January 21st, 2003, 04:53 PM
Depends on what you got on your system, some download managers even intercept flash's loadmovie calls for mp3 when in fact you wanna play them in flash (suxs!)
S.O. will save textual data.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.