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
4
votes
4 answers

How can I dispose of an object (say a Bitmap) when it becomes orphaned?

I have a class A providing Bitmaps to other classes B, C, etc. Now class A holds its bitmaps in a ring queue so after a while it will lose reference to the bitmap. While it's still in the queue, the same Bitmap can be checked out by several classes…
Jelly Amma
  • 477
  • 1
  • 5
  • 19
4
votes
1 answer

Is shared object compiled for 32bit or 64bit machine?

Is there a command in Linux that we can run on a compiled shared object(.so) in /usr/lib and know whether it is compiled for 64 bit or 32 bit system? (I mean to know ELF class, like ELFCLASS32)
codey modey
  • 983
  • 2
  • 10
  • 23
4
votes
4 answers

which one is recommended: using static lib vs dynamic lib (shared object)

I am working with an application in Linux. It supports both static and dynamic (.so) versions From the performance standpoint, which version should a user use? The application performs computational tasks that require several hours of CPU time. Any…
memC
  • 1,005
  • 2
  • 14
  • 23
4
votes
2 answers

Python ctypes: initializing c_char_p()

I wrote a simple C++ program to illustrate my problem: extern "C"{ int test(int, char*); } int test(int i, char* var){ if (i == 1){ strcpy(var,"hi"); } return 1; } I compile this into an so. From python I call: from ctypes…
Mark
  • 106,305
  • 20
  • 172
  • 230
4
votes
1 answer

boost iostreams library exist but i am unable link it

I know that the re plenty of similar questions, but mine is litle bit different and non them helped me. I am using boost-iostreams library and here is my problem, i tried to link my program with libraries: ld -I/usr/include/boost/iostreams/…
Addman
  • 341
  • 1
  • 5
  • 13
4
votes
2 answers

Simple Remote Shared Object with Red5 Flash Server

I am trying to create a simple chat client using the red5 media server, but I seem to be having a slight hiccup. I am creating a shared object on the server side, and it seems to be creating it successfully. However, when I make changes to the…
John Russell
  • 1,115
  • 1
  • 15
  • 30
4
votes
1 answer

sharedObject location

i'm using this method to save shared object in specific location but i'm not able to give path SharedObject.getLocal("save","how to give path here for window"); and this gives following error Error: Error #2130: Unable to flush SharedObject. at…
Devendra
  • 1,864
  • 6
  • 29
  • 49
4
votes
1 answer

g++ symbol not found linking libruli.so

Greatful for any ideas on what more I can check in regards to why the symbols is not found. And yes the so lib is found the path is set in /etc/ld.so.conf (http://www.nongnu.org/ruli/) g++ --version g++ (GCC) 3.3.3 (SuSE Linux) g++ -D_xx_…
4
votes
1 answer

Exceptions on Linux from a shared object (.so)

I have a test program called ftest. It loads .so files that contain tests and runs the tests that it finds in there. One of these tests loads and runs a .so that contains a Postgres database driver for our O/RM. When the Postgres driver throws an…
KayEss
  • 2,290
  • 15
  • 31
3
votes
2 answers

Flex: recover from a corrupt local SharedObject

My Flex app uses local SharedObjects. There have been incidents of the Flash cookie getting corrupt, for example, due to a plugin crash. In this case SharedObjects.getLocal will throw an exception (#2006). My client wants the app to recover…
Thomas Heywood
  • 903
  • 2
  • 9
  • 18
3
votes
1 answer

Properly serializing flash.utils.Dictionary to a SharedObject

I have a convenience collection class in my Flex project called HashMap, which is essentially a wrapper around the flash.utils.Dictionary with a bunch of convenience methods and an added (synced) ArrayCollection so that I can pass the HashMap to…
Jason Maskell
  • 1,716
  • 1
  • 17
  • 26
3
votes
1 answer

General questions about .so and .dll files

In modern compiler toolchains, how are dynamically linked libraries implemented? Do they have any kind of internal architecture that optimizes the linking process? If I wanted to write my own dynamic library builder and/or dynamic linker, where…
pg1989
  • 1,010
  • 6
  • 13
3
votes
2 answers

Flex 4.5 iOS Mobile Project : SharedObject problems

I'm trying to use a SharedObject in a Flex 4.5 mobile project. The SDK I'm using is 4.5.1, and the AIR version is 2.6.0. I'm trying to locally store user credentials for my application using this piece of code: var so:SharedObject =…
eMx
  • 81
  • 5
3
votes
1 answer

How to exclude .so files from proguard?

This is my current proguard config file for my Android project: -optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify -repackageclasses -libraryjars "libs/**.so" -verbose -optimizations…
pqn
  • 1,522
  • 3
  • 22
  • 33
3
votes
1 answer

MySQL UDF returns "Error Code: 1127. Can't find symbol 'xx' in library"

I have a MySQL UDF written in Go that used to work just fine, but if I compile now it no longer functions, with the error message Error Code: 1127. Can't find symbol 'get_url_param' in library The UDF is on GitHub here:…
Brian Leishman
  • 8,155
  • 11
  • 57
  • 93