title: AS3 SharedObject, unique var?
body: <p>I'm playing around in AS3 and trying to make a easy note application. </p>
  
  <p>So I thought that I would store the notes with <code>SharedObject</code> so is it possible to somehow say <code>so.data.myVariable</code> and get/create that shared object dynamically? </p>
  
  <p>I've googled but don't find anything? </p>
  
  <p>EDIT: My solution!</p>
  
  <p>I managed to fix it after many hours of thinking! </p>
  
  <p>In Main.as when creating the Object.</p>
  
  <pre><code>addChild(Obj)
  Obj.setUniqueID(SomeID);
  </code></pre>
  
  <p>In my class that would contain the sharedObject. (Object.as)</p>
  
  <pre><code>public function setUniqueID(uniqueID:String):void
  {
     soData = SharedObject.getLocal(uniqueID);
  }
  </code></pre>