PDA

View Full Version : deleting shared object


quinu
03-27-2003, 03:15 PM
At the start of my program I have created the following shared object:

my_so = SharedObject.getLocal("hipaa", "/");

At the end I want to delete it. I've tried this with variations but with no success:

delete my_so;

zerooito
03-27-2003, 07:34 PM
well, dude...

the code:

delete mySharedObject;

worked fine over here...

try it on your flash and then ask for list variables:
( CTRL + ALT + V )

but if you want to clean the "cookie" left by your application,
you might try another thing, like:

mySharedObject.data.myVar = null;

itīll prevent your flash to get old values from your client.

Hope that makes sense.

Zerooito