# Declaring a shared object called "DB"

**URL:** <https://forum.kirupa.com/t/declaring-a-shared-object-called-db/226081>\
**Category:** flash\
**Created:** [May 18, 2007, 12:40am UTC](https://forum.kirupa.com/t/declaring-a-shared-object-called-db/226081 "2007-05-18T00:40:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mythic\_Fr0st](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@Mythic\_Fr0st](https://forum.kirupa.com/u/Mythic_Fr0st)\
**Post date:** [May 18, 2007, 12:40am UTC](https://forum.kirupa.com/t/declaring-a-shared-object-called-db/226081/1 "2007-05-18T00:40:23Z")

</div>

in as2 I’d do

var db:SharedObject = new SharedObject.getLocal(“db”);

then thats that, but I need to do it in AS3 now, anyone know

im pretty sure,

var db:SharedObject = new SharedObject.getLocal(“db”); is correct, but I think it just needs more parameters in AS3? if thats true, could someone tell me?

Question: 1:

What are these for?, if anyone knows, a minor explaination would be nice, thanks  
1:"Client,  
2:“Connect”,  
3:“Close”,  
4: “sync”,  
5:“default object encoding”,  
6:“fps”,  
7:“getRemote”,  
8:“netStatus”,  
9:“objectEncoding”,  
10:“setDirty”,  
11:“setProperty”,  
12:“size”
