title: json in flashvars
body: <p>I want to use josn in my flashvars and I'm having trouble </p>
  
  <p>here is my json</p>
  
  <pre><code>var flashvars = { 
                  xmlFile: '&lt;?php echo $preface.$xmlpath; ?&gt;',
                  preface: '&lt;?php echo $preface; ?&gt;',
                  "preload": {
                      "url": "flash/someflash.swf",
                      "x": "375",
                      "y": "237"
                  }
                  };
  </code></pre>
  
  <p>here is what I have been trying </p>
  
  <pre><code>    var jsondata:String  = this.loaderInfo.parameters.preload;
      if(jsondata){
          //var jsonData:Object = JSON.decode(jsondata.toString()) ;
  
       error_txt.text = jsondata.toString();
      }
  </code></pre>
  
  <p>error_txt returns "object Object" but I can't access any part of the json object</p>