Can I write/read a cookie from swf

I need to track, record, and report a user’s progress as they use a Flash-based course so I want to write a cookie (or just a text file) and then load it (loadvars?) the next time they run the course so they can see where they left off, which sections they have completed, etc.

Background:

Potential complication - this course will run from CD ROM - (maybe without having done an install).

This might be running as an .exe, not a .swf in a browser, so if I rely on a ‘cookie’ tactic, I wonder if it needs to run within a browser to know where the user’s cookies are stored. The ideal would be to just write a data file to specified folder ‘progress.txt’ that I can reload with loadvars.

Did you look at the shared objects tute? It might help you. I don’t know if they will work with an exe though. There are a few links at the end of the tutorial.

pom :cowboy:

Perfect. I have looked over the tutorial and I think I’m on my way. Looks like exactly what I need.

Thank You.