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.
StarDusterIIAsked:
Who is Participating?
 
Antonio EstradaConnect With a Mentor Tech Leader / Senior Web DeveloperCommented:
Oh... unfortunately that's not possible via code. Flash needs to know which key it's looking for and it'll decide on it's own where it'll look it up (depending on certain conditions like file location and server), however you can't access these rules, and can only open a SharedObject with the key (name).

You could use a program like Minerva (http://blog.coursevector.com/minerva) to navigate through the different folders and search your SharedObjects (which will give you the name).

Good luck!
-V
0
 
Antonio EstradaTech Leader / Senior Web DeveloperCommented:
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
0
 
StarDusterIIAuthor Commented:
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.
0
 
StarDusterIIAuthor Commented:
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.  ;-)
0
 
CyanBlueCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.