Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/06/2010, 15:53
evo_it
 
Fecha de Ingreso: mayo-2010
Ubicación: Argentina
Mensajes: 61
Antigüedad: 14 años
Puntos: 6
Respuesta: ConfigurAr en XML anchura y altura

Sí, se puede hacer, debes cargar un archivo XML externo. Este XML debe deter una estructura determinada por ti. Las formas de estructurarlo pueden ser muchas, tú debes elegir la que más te guste: Aquí te dejo un código actionscript que sirve para cargar archivos XML externos:

Código actionscript:
Ver original
  1. // Create a new XML object.
  2. var miArchivoExterno:XML = new XML();
  3.  
  4. // Set the ignoreWhite property to true (default value is false).
  5. miArchivoExterno.ignoreWhite = true;
  6.  
  7. // After loading is complete, trace the XML object.
  8. miArchivoExterno.onLoad = function(success) {
  9.     trace(miArchivoExterno);
  10. };
  11.  
  12. // Load the XML into the flooring object.
  13. miArchivoExterno.load("miArchivoExterno.xml");



Saludos