header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
krishna
Points:0
Posts:0

6/28/2011 2:03:13 AM

Title: shared object


Hi All,

What is shared object, and what are the uses of shared object.

With Regards,
krishna



1
senling
Points: 0
Posts:0
6/28/2011 5:33:10 AM



Shared objects are like browser cookies however
They do not expire by default.
By default, they are limited to a size of 100 KB each.
They can store simple data types (such as String, Array, and Date).
They are stored in a location specified by the application (within the user's home directory).
They are never transmitted between the client and server.
Use getLocal() to create a shared object. (SharedObject.getLocal("myTasks"); )
Use flush() to write the shared object to the client file. (sharedObj.flush())
Use clear() to destroy a shared object (sharedObj.clear())

Ref and Example : http://learn.adobe.com/wiki/display/Flex/Shared+Objects

2
Troy
Points: 820
Posts:0
6/28/2011 9:07:42 AM



well done senling that was a good and detailed explanation of local shared object.
However there are also remote shared objects which are used to store data on Media servers like (red5, FMS etc). The data stored in remote shared objects is shared among all the users who access that same shared object. Remote shared objects have vast applications to create real time live applications.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions