# Simple shared object question

**URL:** <https://forum.kirupa.com/t/simple-shared-object-question/269362>\
**Category:** Uncategorized\
**Created:** [August 26, 2008, 5:12pm UTC](https://forum.kirupa.com/t/simple-shared-object-question/269362 "2008-08-26T17:12:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SergeantFlash](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@SergeantFlash](https://forum.kirupa.com/u/SergeantFlash)\
**Post date:** [August 26, 2008, 5:12pm UTC](https://forum.kirupa.com/t/simple-shared-object-question/269362/1 "2008-08-26T17:12:28Z")

</div>

I am very new to SharedObject in Flash CS3 and I am trying to connect/make a remote SharedObject (so I can create a chat room). I found this example code, but I’m having trouble with it:

```auto
var myNC:NetConnection = new NetConnection();
myNC.connect("rtmp://[yourDomain].com/applicationName");
var myRemoteSO:SharedObject = SharedObject.getRemote("mo", myNC.uri, false);
myRemoteSO.connect(myNC);

```

What is the application (in the parenthesis of the myNC.connect function)? Is it an swf I need to create, PHP script or something? Any help is appreciated. Thanks in advance!
