Questions tagged [shared-objects]

Shared Objects in Flash are used to store persistent data on the client or server side.

Local Shared Objects

Local Shared Objects are used in Flash-based applications to store ActionScript objects persistently on a client. The disk space is limited and defaults to 100 KB per domain.

Remote Shared Objects

Remote Shared Objects can be used with Flash Media Server to store ActionScript objects remotely. They can be shared across multiple clients.

418 questions
2
votes
4 answers

Writing Local SharedObject in AS3 swf and reading it in loaded AS2 swf

I am trying to share data between an as3 swf and a as2 swf that it loaded. The problem is, I can't seem to get my as2 swf to read the localshared object written by the as3 swf. It simply returns undefined when I try to get a reference to the shared…
whoisbenli
  • 1,095
  • 1
  • 9
  • 12
2
votes
1 answer

How to include shared object files in maven project

I am using an external c++ library (gdal/ogr) which creates shared object files so that java can utilize its functionality. The problem is that I am not really sure what I am supposed to do with these .so files and how I am supposed to get maven to…
THX1138
  • 1,518
  • 14
  • 28
2
votes
1 answer

Flex SharedObject Displays Client Values

I have a remote flex SharedObject and Im trying (using Red5) to send to all clients a message and an object with some user / sender data. The problem is: The values displayed in clients are the ones stored on them, not the value in my SO. Heres some…
Ricardo
  • 21
  • 1
2
votes
1 answer

Checking how much sharedObject space there is available

I'm wondering if there's a way to check the current size-limit on the users local hard-drive for sharedObject.
Clox
  • 1,923
  • 5
  • 28
  • 43
2
votes
2 answers

Sharing shared object between multiple processes

Are shared objects separately loaded for each process or one shared object is shared among them? For example, let's say that some program uses libc.so. Then two processes of this program are launched. Will be this shared object loaded TWO times for…
scdmb
  • 15,091
  • 21
  • 85
  • 128
2
votes
1 answer

Sharing data amongst processes using multiprocessing.Manager in python

Following is a tweaked example from http://docs.python.org/library/multiprocessing.html#sharing-state-between-processes from multiprocessing import Process, Manager def f(d): print d # 1 print type(d) if __name__ ==…
Anuvrat Parashar
  • 2,960
  • 5
  • 28
  • 55
2
votes
2 answers

What data types does a SharedObject support?

I know it is a simple matter to store Strings and Numbers with a SharedObject, and I am also familiar with this sort of thing: var sharedObject:SharedObject = SharedObject.getLocal("userData"); var obj:Object = new Object(); obj.prop =…
Alex Miller
  • 1,566
  • 1
  • 13
  • 16
1
vote
5 answers

Shared Objective-C Objects

I have seen in a lot of standard Apple APIs and open source, custom APIs that an object can be declared as shared. For example, NSUserDefaults is accessible by the method [NSUserDefaults standardUserDefaults] and NSNotificationCenter by…
GravityScore
  • 385
  • 1
  • 3
  • 13
1
vote
3 answers

The best way to call C++ function from shared object in python

What's the best way to call C++ function from shared object in python. Can I can solve this problem without additional python extension?
G-71
  • 3,626
  • 12
  • 45
  • 69
1
vote
1 answer

How can I protect a .so I am embedding in my .apk file?

My .apk contains a .so along with the .dex file. How can I prevent someone from stealing my .so file?
Scott C Wilson
  • 19,102
  • 10
  • 61
  • 83
1
vote
1 answer

understading the flash/flex shared objects and hashing technique

I was trying to observe how some of the top browser game makers are implementing the asset management and also study their animation techniques. So I was trying to crack my browsers cache and share-object paths to peep into the assets. What I have…
dejjub-AIS
  • 1,501
  • 2
  • 24
  • 50
1
vote
1 answer

How can I obtain the file path which dlopen actually uses?

Suppose I make the following call: void* my_dl_handle = dlopen("foo", RTLD_NOW); (but it might be RLTD_LAZY). Now, I have a handle which I can use with dlsym() and a symbol name to get a function address. Now, I want to determine the actuall full…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

linux .so windows .dll - using different librarys "on demand"

I have a collection of so files on linux, e.g.: netio.so.tcp and netio.so.tcp. (in fact this architecture is only needed because of some proprietary network protocols) They have the exactly same interface for read/write/open/close. So to use tcp or…
user982210
  • 83
  • 5
1
vote
1 answer

Why is my code duplicating with shared objects?

I have a common header file being included in multiple cpp files I then compile to make the .so files of each cpp . But when I execute with the final executable, I am seeing that the common header file is being duplicated in the sense that all…
1
vote
1 answer

How to reduce file size of g++ compiled shared object?

I have a shared object (.so) file compiled with g++, in Windows, its size about 2MB (.DLL, compiled with Visual Studio 2008, /O2), but in Linux, its size is 10MB if compiled with g++ -O2 flag. Even I compile it with -Os flag, the final .so file size…
Bear
  • 1,367
  • 2
  • 13
  • 19