sharedobjects

How to Get property values from Shared Object in client's load event - Very urgent

I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet. Now when second user connects to the server and try to get that property set by first user, he could get shared object but could...

communicate with website in start up screen in flash

Does anybody know a way for a swf file to communicate with the site its placed in. What I mean is I have a flash file with a start up screen in it, which has a tick box saying "Don't show this screen again" which skips to the sites content when tick, the same as what some adobe applications have when first started up. I think this might ...

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 so that, say, B and C can both hold a reference to this same Bitmap. But it can also hap...

Developing a Chatroom in Flex ActionScript3 + Red5 , Remote Shared Object based UserList or Serverside?

We are going to develop a simple chatroom in flex using Red5. Should we store UserList in a Remote Shared Object or Server Side List? Are there any example exit on Red5 or FMS , which uses Server Side programming and Remote Shared Objects? Red5 examples are not documented at all. ...

Problem with sharing variables between views - missing something?

Hi there I know im missing something but my friend and I can figure out what. Firstly.. I have two .hs and .ms that I'd like to share data between - two view controllers In the first .h i have this - that makes the variables and properties them //top half of .h //Passing to Submit Page NSMutableString *messageString; NSInteger t...

How would I go about sharing variables in a C++ class with Lua?

I'm fairly new to Lua, I've been working on trying to implement Lua scripting for logic in a Game Engine I'm putting together. I've had no trouble so far getting Lua up and running through the engine, and I'm able to call Lua functions from C and C functions from Lua. The way the engine works now, each Object class contains a set of var...

Good programming style when handling multiple objects

I've been programming a software version of a board game. Thus far I have written the classes which will correspond to physical objects on the game board. I'm well into writing the program logic, however I've found that many of the logic classes require access to the same objects. At first I was passing the appropriate objects to method...

modal forms and shared data,

I've written a couple of c# forms applications which use a lot of the same data/objects which would better be combined. I realise I could use modal forms to launch each of these but where should I state .dll's and other resources, on the parent form? or on each other form where necessary? ...

Flash AS3 - Dispatching Events from Parent Class to Child Class

I think this is a pretty simply problem but I do not seem to be able to pull it off. Basically I have a parent class A, and a child class B. Class A instantiates class B with addChild. There is a shared object which is being updated from a java server (red5) that has an event listener attached to it in class A. I have a function in c...

save data into flash media server like rdbms.

hii... im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose?? ...

How to read all data from abstract Shared Object file? (Flash, Actionscript)

what I meen is to get all objects and their properties, is it possible? How to do such thing? ...

Shared Variable Among Ruby Processes

I have a Ruby program that loads up two very large yaml files, so I can get some speed-up by taking advantage of the multiple cores by forking off some processes. I've tried looking, but I'm having trouble figuring how, or even if, I can share variables in different processes. The following code is what I currently have: @proteins = ""...

Linking problems with shared objects on linux (using a simple so in a console application)

I have a shared object (abc.so) that i built after linking it to a bunch of libs (.a and .so) files. Now this abc.so just exposes 3 functions. Now i am writing a console application on linux that uses this abc.so to invoke those function. When i try to build that application, I get a bunch of - "Undefined reference to 'xxxxxxx' " erro...

Comparing generated executables for equivilance.

I need to compare 2 executables and/or shared objects, compiled using the same compiler/flags and verify that they have not changed. We work in a regulated environment, so it would be really useful for testing purposes to isolate exactly what parts of the executable has changed. Using MD5Sums/Hashes doesn't work due to the headers cont...

Get all shared objects for current domain

Using SharedObject.getLocal I can get access to what appears to be an infinite number of files simply by using unique identifiers in the method call; What I want to know is how can I retrieve a list of all active files or shared objects that have been saved for my current domain. I'm trying to write a save game mechanism that allows you...

Shared Whiteboard with AS3. Code

I am building a shared whiteboard and I cannot get the shared whiteboard to be shared. I have successfully created a shared method and I see the shared object in the Admin Console that it is there and connected but can't see the drawing on a different browser. I am posting the entire actionscript code. Please help me if you can. Will be ...

Flash/AS3 "Shutdown" or "close" event?

I am making a Flash puzzle game. When the user loads the game, it needs to ask whether to resume the game from the last state (if it exists). I have a serialization system in place, but I need to ensure that the loaded state is definitely the last state. One solution is to save the state to a SharedObject every time the state changes (w...

Command Line to see the contents Shared Object Module(lib*.so)

What is the command line to see the contents of a Shared Object module (lib*.so)? Like how we use: ar -t lib*.a for archives(lib*.a) and it displays all the object files in the library. EDIT1 Example ar -t lib*.a gives me a display: asset.o sldep.o ...

Can AS3 Shared Objects be accessed by more than one application?

I'm trying to access a shared object created by one flash application from another flash application. Is this possible? If so, what do I need to do? If not, are there any other ways to share the information between the applications? Any help you can give is greatly appreciated. ...

Is there any way to prepare a struct for future additions?

I have the following struct which will be used to hold plugin information. I am very sure this will change (added to most probably) over time. Is there anything better to do here than what I have done assuming that this file is going to be fixed? struct PluginInfo { public: std::string s_Author; std::string s_Process...