|
I feel I'm missing something terribly obvious here. Hopefully someone
can help me. I have a page where I will display a series of Bar Charts
created by a flash file. Each chart will get it's data from a different
php file. I'm using XMLConnector component to load the xml the php file
returns. Each flash movie will have a FlashVars that tells it which script
to use to get it's data. But I'm having a problem. If I manually set
the script path it all works fine:
var o:Object = new Object();
o.direction = "receive"; o.URL = ""; //======================== var new_object = this.attachMovie("XMLConnector","xml_object",1,o); //next_depth++; //======================== new_object.addEventListener("result", xml_result); new_object.trigger(); But if I use the value sent into my movie from FlashVars xml_result is
never called. I have output the path to the script and it looks exactly
the same as the path I'm manually using manually. Example:
//xml_url is set equal to FlashVars value
var o:Object = new Object();
o.direction = "receive"; o.URL = ""> //======================== var new_object = this.attachMovie("XMLConnector","xml_object",1,o); //next_depth++; //======================== new_object.addEventListener("result", xml_result); new_object.trigger(); Any ideas on what I'm doing wrong is greatly appreciated.
Bill Lane
---===================== Web Developer Educational Media Group PVC Teaching and Learning Portfolio RMIT University Tel: 61 3 9925 9804 Fax: 61 3 9925 9625 [EMAIL PROTECTED] ===================== You are currently subscribed to fugli as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ |
