My code looks like this:
public var ItemsXML:XML = new XML();
public function GetDataDB_result(evt:Event):void
var s:String = WSGetItems.GetData.lastResult;
ItemsXML = XML(s);
In this function, ItemsXML gets the right value. The problem
is that if I want to use ItemsXML outside the function, it has no
value. I want to use it as dataprovider for a datagrid...