sharedobject

I would like to download the Remote SharedObject from an FMS server through RTMP

I'd like to contact an FMS server through a script and download the persistent Remote SharedObject. The Flash program connects to the FMS server, opens a NetConnection, makes a SharedObject.getRemote call. I'd like to access this info through PHP, Ruby, Perl, etc to work with in a script. I understand this info is sent to the Flash pl...

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 bindable controls that want an ArrayCollection. That all works fine. What doesn't work fine,...

Flash AS3 - Can I prevent my shared object from saving on the .swf close?

I have a program with a save feature - the user clicks a button, and everything is saved to a local Shared Object with the flush(); command. My problem is that Flash .swf files automatically save to the local Shared Object when the movie is closed, overwriting their previous, manual save. Is there anyway to prevent flash from saving to...

Checking how much sharedObject space there is available

Title pretty much says it all. I'm wondering if there's a way to check the current size-limit on the users local hard-drive for sharedObject. ...

Accessing a piece of data quickly from a very large sharedObject-data

I'm caching really big amount of data on the users hard-drive using sharedObject, this data can be like 0.5GB. But I don't want to place the whole sharedObject in memory, and the data also needs to be accessed very fast. Should I split the data up into multiple sharedObjects, or do you think it wouldn't be a problem loading the whole thi...

Is it possible to store images in the SharedObject of Flash?

Is it possible to store a Image in a SharedObject in Flash? It would be nice if it would work. I need to "store" Images locally but it seems not to be supported by Flash... So I 'ld like to put those images in a SharedObject that can be saved... but does it work with images? I tried it with a Bitmap but if I want to read and add it to t...

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 object // AS3 _SharedObj.objectEncoding = ObjectEncoding.AMF0; _SharedObj.data.blah = 's...

Why can a shared library created from non-pic object work?

I'm confused. I try in Linux on x86. ...

red5 server-side sharedObject

I'm trying to store all the users inside a sharedObject thats created on the server-side, so all the users get a synchronized list of all the online users. I think I create the sharedObject correct on the server-side but I cant "find" the sharedObject in the flash application. Inside the Java Red5 Application class: ISharedObject user...

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 import * libso = CDLL("Debug/libctypesTest.so") func = libso.test func.res_type = c_int ...

AS3: Shared Objects Issue

Slight problem i have been pondering on, i have a class that loads a text from a url as a means to sync the time. The swf file can be on the same page multiple times, but i want it to check to see if one of the swf is sync'ing, if so then wait for it to complete and load its sync'd value (rather then query the url itself), so that they ...

How to get Shared Object in Shared Memory

Our app depends on an external, 3rd party-supplied configuration (including custom driving/decision making functions) loadable as .so file. Independently, it cooperates with external CGI modules using a chunk of shared memory, where almost all of its volatile state is kept, so that the external modules can read it and modify it where ap...

(as3) Sync data between 3 or more identical flash objects on the same page

Ok, i have asked something similar before, but never go to the solution i need. So am starting a new stack to not confuse my issues, and to make a little clearer. What i need to do I have multiple flash objects on a html page, they are all identical, and all of them need to be sync'd with the correct time. In its current state, each on...

Storing a FileReference in a SharedObject

Hello, I would like to store a FileReference object somehow and load it when the SWF loads again. I tried to use the SharedObject class but it does not seem to work. I suspect that what I want to do is not doable due to security issues (not using Adobe AIR), but I wanted to check. Does anyone please know if there is anyway to store a ...

send an extra parameter to red5 and retrieve back into flex application

hi Through nc.call("sendMessage",null,str,boo); i would like to pass both str is a string variable and boo is a boolean variable parameters to red5 and from there i would llike to get both the values in flex application. i can send one parameter and can retrieve it, but 2nd parameter if i m passing wat will be the server side code and ho...

Can a Flash SharedObejct expire per session?

I'm trying to display certain content per session, but the site has the same Flash embedded in the different sections of the site, so I can't set it on the site's Model or a Global Variable. I also can't use PHP or JS. ...

Creating a pacman-style game using Flash (AS3)

Creating a pacman-style game using Flash (AS3). There are 3 players competing to eat the most dots. Right now when one player eats a dot, on that player's screen the dot goes away (but only for a second) and appears again in the screen. The other player playing, doesn't see that the dot went away and reappeared. Using hitTestObject, whe...

Persistent MP3 player using SharedObject

I'm trying to create a persistent MP3 player using SharedObject. Initially I tried using frames and while it worked, frames suck so I continued looking into it. I came to find out about Flash's SharedObject. It seems easy enough but I can't nail down the logic correctly. I've attached a sample .fla for anyone interested to look at. I ne...