Solved

Flex Mobile: Way to list my local shared objects?

Posted on 2012-04-05
6
249 Views
Last Modified: 2012-09-13
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.
0
Comment
Question by:StarDusterII
  • 2
  • 2
6 Comments
 
LVL 18

Expert Comment

by:Antonio Estrada
ID: 37825416
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
 

Author Comment

by:StarDusterII
ID: 37834965
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
 
LVL 18

Accepted Solution

by:
Antonio Estrada earned 500 total points
ID: 37838495
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
 

Author Comment

by:StarDusterII
ID: 37843769
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
 
LVL 37

Expert Comment

by:CyanBlue
ID: 38394109
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Flash doesn't load in Iphone and Ipad 22 472
Video sharing with user login 3 185
bandwidth 5 64
Play RTMP without Flash 3 269
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now