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