import flash.display.StageScaleMode;
stage.scaleMode = StageScaleMode.NO_SCALE;
var graphLoader:Loader = new Loader();
var theURL:String = "http://thefringesf.com/open-flash-chart.swf?data=http%3A%2F%2Fthefringesf.com%2Fchart-data.php";
var graphRequest = new URLRequest(theURL);
graphRequest.method = URLRequestMethod.GET;
graphLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
graphLoader.load(graphRequest);
//graphLoader.width = 689;
//graphLoader.height = 134;
function onComplete(evt:Event) {
addChild(graphLoader);
}
|