i have an arb question just on the side about a/s3 dont mean to hijack
the thread
but i'm kinda new....
i have this code (saw it under examples in the manual)
<code>
public function xmlLoader()
{
var myXML:XML = new XML();
var XML_URL:String =
"http://localhost/flextest/data.xml";
var myXMLURL:URLRequest = new URLRequest(XML_URL);
var myLoader:URLLoader = new URLLoader(myXMLURL);
myLoader.addEventListener("complete", xmlLoaded);
private function xmlLoaded(evtObj:Event)
{
myXML = XML(myLoader.data);
trace("Data loaded.");
}
}
</code>
but on debug running i get the following error:
TypeError: Error #2007: Parameter 'listener' must be non-null.
can anyone point me in the direction i should look
no spoonfeeding required :/
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders