Ho questo codice:
codice:
import flash.events.EventDispatcher;
public class ConfigManager extends EventDispatcher {
// The name of the event to be fired when configuration is read
public static const CONFIG_LOADED:String = "configLoaded";
// Location of the config xml file
public static const CONFIG_XML_URL:String = "config/config_carousel.xml";
// URL of the data xml file
// var external_text = this.loaderInfo.parameters.sdata_carousel;
public static const DATA_XML_URL:String = "carousel.asp";
...
se volessi sostituire carousel.asp con una viariabile sdata che prelevo dalla pagina stessa con
so.addVariable ("sdata","carousel.asp")
come posso fare ?