aqui les traigo mi pregunta espero que a la gente le sirva este codigo... lo que trato de hacer es que cuando le des un click un bton este vaya a una posicion que le indico mediante una ecuacion.. VEAMOS:

Código :

nvaposX = 50; <----CANTIDAD A SUMAR A LA POSICION INICIAL....

fscommand("allowscale", "false");
myXML = new XML(); <---- CARGO UN XML
myXML.ignoreWhite = true;

myXML.load("cuadros.xml");<--XML CON 4 HIJOS (1,2,3,4)

function handleLoad(status) {
   status ? makeMenu() : trace("Luis Error parsing XML.");
}
myXML.onLoad = handleLoad;

function makeMenu() {

   myItem = "cuadrito";

   myX = 10; <--- POSICION INICIAL EN X

   myY = 10; <--- POSICION INICIAL EN Y
   itemsLoaded = new Array();

   for (i=0; i<myXML.firstChild.childNodes.length; i++) {

      title = (myXML.firstChild.childNodes[i].attributes.id);

      this.attachMovie(myItem,title,i+10);<----DUPLICO EL ITEM DE MI LIBRERIA N CANDITADA DE ID CONTENGA EL XML

      thisItem = this[title];
      itemsLoaded.push(title);
      thisItem.link = (link);

      thisItem.title = (title);

      thisItem._x = myX;

      distan = thisItem._y=myY += (thisItem._height)+2;<----AQUI LOS ORDENO EN VERTICAL


      PosciX = thisItem._x+nvaposX;  <---AQUI LE DOY LA NUEVA POSICION EN X
      PosciY = distan*2;  <---AQUI LE DOY LA NUEVA POSICION EN Y


      thisItem.onRollOver = function() {
         this._xscale = 110;

         mover(thisItem,PosciX,PosciY,2,90,5); <---- FUNCION QUE ARA MOVER EL CLIP A LA NUEVA POSICION CON ALGUNOS PARAMETROS
      };

      thisItem.onRollOut = function() {
         this._xscale = 100;
      };

      thisItem.onRelease = function() {

         openLink(this.link);
      };

   }
}



function unloadSubMenu() {

   for (i=0; i<itemsLoaded.length; i++) {

      unloadMovie(itemsLoaded[i]);
   }
}


function openLink(link) {

   if (link != null) {

      getURL(link, "_blank");
   } else {

      trace("Link doesn't contain a URL");
   }
}

///////////////////////////////////////////////////////////////////
///////////////FUNCION MOVER MENU/////////////////////////////////
/////////////////////////////////////////////////////////////////
AQUI PUEDEN VER LA FUNCION MOVER QUE CALCULA LOS PARAMETROS
function mover(thisItem, destinoX, destinoY, velxy, alfa, velAlfa) {
   thisItem.onEnterFrame = function() {
      thisItem._x += ((destinoX-thisItem._x)/velxy);
      thisItem._y += ((destinoY-thisItem._y)/velxy);
      thisItem._alpha += ((alfa-thisItem._alpha)/velAlfa);
      if (thisItem._x == destinoX) {
         delete thisItem.onEnterFrame;
      }
   };
}


El detalle mis queridos y bien ponderdos amigos es que si ustedes hacen este ejercicio al momento de hacer el proyector veran que se cargan los 4 ID del XML correctamente pero al poner el MOUSE SOBRE 1 el que se desplaza es el num 4 a la posicion nueva en vez de desplazarse 1 alguien me puede decir llevo una semana tratando de sacar este efecto... y para rematar al momento de que uno se desplace necesito desplazar a los otros 3 por debajo de 1 respetando la distancia que hay ente ellos....

pls estoy que me rompo la cabeza y no se que mas hacer....

GRACIAS POR SU TIEMPO...!! y dedicacion y gracias a las personas de que mantienen este sitio con su conocimientos...

[Zah]Usa las etiquetas code[/Zah]