Link to home
Start Free TrialLog in
Avatar of StarDusterII
StarDusterII

asked on

Flex Mobile: Way to list my local shared objects?

Is there any way to list an app's local shared objects?  I know you can't list them all because of security, but I'm only interested in the objects that were created by my own app.
Avatar of Antonio Estrada
Antonio Estrada
Flag of Mexico image

You can use the following code:

var sharedObject:SharedObject = SharedObject.getLocal("SHARED_OBJECT_NAME");
	
for(var i:* in sharedObject.data)
{
	trace(i + ": " + sharedObject.data[i]);
}

Open in new window


Good luck!

-V
Avatar of StarDusterII
StarDusterII

ASKER

I think you misunderstood... I don't know the SHARED_OBJECT_NAME.  That's what I want to find.  There are a number of local shared objects and I want to enumerate them, find out what's there.
ASKER CERTIFIED SOLUTION
Avatar of Antonio Estrada
Antonio Estrada
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yeah, it's the program I needed to be able to enumerate the shared objects to get the key name.  Finding the name with Minerva or Windows Explorer won't help me much.  ;-)
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.