Posted By

leogiroldi on 07/17/06


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bicherele


cargador xml


 / Published in: ActionScript
 

  1. function cargar_xml(nombre) {
  2. xm_preguntas = new XML();
  3. xm_preguntas.ignoreWhite = true;
  4. xm_preguntas.load("xml/"+nombre+".xml");
  5. xm_preguntas.onLoad = function(success) {
  6. if (success) {
  7. trace("ok xml "+nombre);
  8. } else {
  9. trace("fallo xml " + nombre);
  10. }
  11. };
  12. }
  13. //----------------------------------------------
  14. cargar_xml("preguntas")

Report this snippet  

You need to login to post a comment.