Hi dbasix
The Graph loads fine initially but when I click the button to update I get an error.
Thanks for the help, just one problem
// Call setDataURL function from outside to update chart.
// Argument as a URL string of a specific xml file.
public function setDataURL(dataurl:String):void
{
trace("ID = "+Id);
trace("FlashInterface = "+FlashInterface);
trace("Data Url = "+dataurl);
FlashInterface.call(Id+".setDataURL",dataurl);
}
I get this error
ID = instance86
FlashInterface = [class FlashInterface]
Data Url = data/Data.xml
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flx.external::FlashInterface$/call()
at code.maps::ChartLoader/setDataURL()
at MapService_fla::MainTimeline/changeData()