|
-
Shared Objects
Hi,
I am trying to make a drawing application in MX. I want the user to save his stuff file wise, and open them whenever he wants to and see the contents. I know how to use the shared object thingie in MX, but what I want is that the user can save the content(Ideally the frame of the movie) with a proper file name. And he can go on saving as many files as possible. He can then later open them and see the content.
Is it possible? Pl help
Thx
Where is this Flash Rocket Taking us ^|^
-
you can simulate that by saving each "file" as an AS object in the same sharedObject file..
so, the user saves his work with the name that he wants and when the app is loaded the list of files is populated by the names of the objects found in the SO.
this way he'll have no REAL files on his harddisk (except the SO file), but he'll be able to load the exact saved drawing that he saved.
since you are creating a drawing tool, it'll be good to see this thing.
-
Hi Msaleh,
This is a fantastic application, I have never seen a better usage of the Drawing API in Flash MX than this.
now wrt to my prb,Yes, I did achieve this by writing different sol files. Meaning the suer can enter the name of his choice and save the file by that name, a sol file by that name will be created. Although this works but it has one problem, I am having problems in storing the names of the different file names so that the user can click and open a open dialogue box inside flash and open any of the files saved in his m/c.
Also I believe that what you have suggested is much better as I vl be only writing a single sol file which is good so I have all the information at my disposal. Can you pl elaborate on how to create an AS object so that I accomplish what I want.
Thx
Where is this Flash Rocket Taking us ^|^
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|