Flash Data Persistance

I’m trying to make a flash movie to use on my desktop html page that allows draggable, editable, closable & transparent “Sticky Notes”. Everything works except this: When the desktop gets refreshed, the Notes go away. Is there any way to make the text in them persist between refreshes? I know that I could probably read them in/out of files, but how to delete the data for a note when it’s closed by the user?

I combed the forums/tuts and couldn’t find anything that applied. I’ll attach the swf so you can see what I have so far.
Any help appreciated!

you can use SharedObjects :slight_smile:

Thanks ahmed, I didn’t know about sharedobjects.

My next problem/question is this: I need to refer to a text box, inside a button, inside a movie clip, inside another movie clip.
The object structure of Flash eludes my understanding, and I just can’t figure it out.

Do I use the instance names, or the names of the actual objects?
It boggles my mind. Any help appreciated, again…

you need to use the instance names of the objects, so you’ll end up with something like this:

myButton.myFirstMC.mySecondMC.myTextbox.text = "value"

but what i would do is assign that textfield a variable like this:

myButton.myFirstMC.mySecondMC.myTextbox.variable = myVar

this way, when you need to change the caption of that textbox, all you need to change is

myVar = "value"

hope this helps :slight_smile:

Hey man, thanks for the help, but the ****ed thing isn’t working…

Could you perhaps slap together a little demo to show me? I’ve never used Flash extensively before this, and I’ve literally been working all day on this with no results.