Question : movieclips and graphs

I created a graph in php:
http://thefringesf.com/chart.php

is there a way I can get this to load within a movieclip?  I thought I would be able to do so using the following code:

var graphLoader:Loader = new Loader();
var theURL:String = "http://thefringesf.com/chart.php";
                  
var graphRequest = new URLRequest(theURL);
                  
graphLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
graphLoader.load(graphRequest);
                  
function onComplete(evt:Event) {
                        
addChild(graphLoader.content);
}

Answer : movieclips and graphs

g0mab2,

I think the graph chart swf is as2, which will start to throw errors if you play with it too much. I think the best thing would be to create a swf or movie clip that is the right size, load the graph swf into that, and add the mc or swf to the stage.

AreDubya
Random Solutions  
 
programming4us programming4us