He intetado controlar la animacion de zoom utilizando codigo en actionscrip 3, he utilizado el XML generado por flahs para poder ralizar la animacion, pero me he encontrado con un problema.

Ok el problema es este, cuando utilizo la funcion de zoom puedo hacer k el objeto haga el zoom para hacercarce, o hacerse mas grande, pero si quiero hacerlo de forma inversa, es decir; que sea un objeto grande y al hacer el zoom se convierta en un objeto mas pequeño, lo unico que hace es hacerse grande pero no se hace pequeño. :(

Anticipadamente les doy las gracias, espero que esto tenga una solucion.
:oops:

Este es el codigo de una clase a la cual llame Animaciones2 en esta clace se encuentran las animaciones de desplazamiento, y el de zoom, el de desplazamiento funciona correctamente (por si les sirve): :D

*********************************************CODIGO ACTIONSCRIP3 DE LA CLASE Animaciones2****************************************************

Código ActionScript :

package
{
   import flash.net.URLLoader;
   import flash.net.URLRequest;
   import flash.display.MovieClip;
   import flash.events.Event;
   import fl.motion.*;
   import flash.filters.*;
   import flash.xml.XMLDocument;
   import flash.xml.XMLNode;
        import flash.display.Graphics;
   import flash.text.TextFieldType;
   import flash.text.TextField;
        import flash.text.TextFieldAutoSize;
        import flash.text.TextFormat;
   import flash.events.MouseEvent;
   import flash.display.DisplayObject;
   
public class Animaciones2 
   {
         var _animacion:Animator;

///////////////////////////////////////// XMl para el desplazamiento////////////////////////////////       
      var desplazamiento:XML = <Motion duration="25" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
   <source>
      <Source frameRate="12" x="69.45" y="91" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" symbolName="Symbol 1">
         <dimensions>
            <geom:Rectangle left="0" top="0" width="146.95" height="100"/>
         </dimensions>
         <transformationPoint>
            <geom:Point x="0.4998298741068391" y="0.5"/>
         </transformationPoint>
      </Source>
   </source>

   <Keyframe index="0" tweenSnap="true" tweenSync="true">
      <tweens>
         <SimpleEase ease="0"/>
      </tweens>
   </Keyframe>

   <Keyframe index="24" tweenSnap="true" tweenSync="true" x="233.95" y="125">
      <tweens>
         <SimpleEase ease="0"/>
      </tweens>
   </Keyframe>
</Motion>;

/////////////////////////////////////////////XML PARA EL ZOOM///////////////////////////////////////////
      var zoom_xml:XML = <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
   <source>
      <Source frameRate="12" x="0" y="0" scaleX="1" scaleY="1" rotation="0" elementType="graphic" symbolName="Symbol 1">
         <dimensions>
            <geom:Rectangle left="0" top="0" width="0" height="0"/>
         </dimensions>
         <transformationPoint>
            <geom:Point x="0" y="0"/>
         </transformationPoint>
      </Source>
   </source>

   <Keyframe index="0" tweenSnap="true" tweenSync="true" >
      <tweens>
         <SimpleEase ease="0"/>
      </tweens>
   </Keyframe>

   <Keyframe index="29" tweenSnap="true" tweenSync="true" firstFrame="29" x="0" y="0" scaleX="0" scaleY="0">
      <tweens>
         <SimpleEase ease="0"/>
      </tweens>
   </Keyframe>
</Motion>;


//////////////////////// funcion para el desplazamiento ////////////////////////////////////////////
         
      public function moverInicioFin(pix:Number,piy:Number,pfx:Number,pfy:Number,movie:DisplayObject):void
      {
         var xmlnsPorDefault:Namespace = new Namespace("fl.motion.*");
         default xml namespace = xmlnsPorDefault;
         
         trace(desplazamiento.Keyframe.(@index=="24"));
         
         movie.x= Number(pix);
         movie.y= Number(piy);
         var xf:int=0;
         var yf:int=0;
         xf= Number(pfx)-movie.x;
         yf= Number(pfy)-movie.y;
         
         desplazamiento.source.Source.@x= movie.x;
         desplazamiento.source.Source.@y= movie.y;
         desplazamiento.Keyframe.(@index=="24").@x= xf;
         desplazamiento.Keyframe.(@index=="24").@y= yf;
         var animacion_xml:XML = new XML(desplazamiento);
         _animacion = new Animator(animacion_xml, movie);
         _animacion.play();
      }
      
      public function moverA(pfx:Number,pfy:Number,movie:DisplayObject):void
      {
         var xmlnsPorDefault:Namespace = new Namespace("fl.motion.*");
         default xml namespace = xmlnsPorDefault;
         
         trace(desplazamiento.Keyframe.(@index=="24"));
                  
         desplazamiento.Keyframe.(@index=="24").@x=pfx;
         desplazamiento.Keyframe.(@index=="24").@y=pfy;
         var animacion_xml:XML = new XML(desplazamiento);
         _animacion = new Animator(animacion_xml, movie);
         _animacion.play();
      }   
      public function moverDespalzamiento(pfx:Number,pfy:Number,movie:DisplayObject):void
      {
         var xmlnsPorDefault:Namespace = new Namespace("fl.motion.*");
         default xml namespace = xmlnsPorDefault;
         
         trace(desplazamiento.Keyframe.(@index=="24"));
         
         var xf:int=movie.x;
         var yf:int=movie.y;
         xf= Number(pfx)- xf;
         yf= Number(pfy)-yf;
         desplazamiento.Keyframe.(@index=="24").@x=pfx;
         desplazamiento.Keyframe.(@index=="24").@y=pfy;
         var animacion_xml:XML = new XML(desplazamiento);
         _animacion = new Animator(animacion_xml, movie);
         _animacion.play();
      }
      
////////////////////////////////////funcion para el zoom////////////////////////////////////////////      
      
      public function zoomInicioFin (zi:Number,zf:Number,movie:DisplayObject): void
      {
         var xmlnsPorDefault:Namespace = new Namespace("fl.motion.*");
         default xml namespace = xmlnsPorDefault;
            movie.scaleX= Number(zi);
            movie.scaleY= Number(zi);
               
            
            zoom_xml.source.Source.@scaleX= movie.scaleX;
            zoom_xml.source.Source.@scaleY= movie.scaleY;
            zoom_xml.Keyframe.(@index=="39").@scaleX="."+zf;
            zoom_xml.Keyframe.(@index=="39").@scaleY="."+zf;
                        
            trace(zoom_xml);                        
            //trace(zoom_xml.Keyframe.(@index=="29"));
            
            var animacion_xml:XML = new XML(zoom_xml);
            _animacion = new Animator(animacion_xml, movie);
            _animacion.play();         
      }
      
      
   }   
}


esta es la clase, aqui les dejo el codigo con el cual puedo mandar a llamar esta clace y asi poder darle animacion a un rectangulo.

Código ActionScript :

package
{
   import flash.net.URLLoader;
   import flash.net.URLRequest;
   import flash.display.MovieClip;
   import flash.events.Event;
   import fl.motion.*;
   import flash.filters.*;
   import flash.xml.XMLDocument;
   import flash.xml.XMLNode;
        import flash.display.Graphics;
   import flash.text.TextFieldType;
   import flash.text.TextField;
        import flash.text.TextFieldAutoSize;
        import flash.text.TextFormat;
   import flash.events.MouseEvent;
   import Animaciones2;
   

   
   public class Animacion_Rectangulo extends MovieClip
   {
      
      var _animacion_xml:XML = new XML;
      var loader:URLLoader;
      var request:URLRequest;            
      var _animacion:Animator;
      var movie:MovieClip = new MovieClip();
      
      var ani:Animaciones2;
      
      public function Animacion_Rectangulo()
      {
         
         this.addChild(movie);
         movie.graphics.clear();
         movie.graphics.beginFill(0xFF0000);
         movie.graphics.drawRoundRect(0, 0, 200, 50, 5, 5);
         movie.graphics.endFill();
         
         bzoom.addEventListener(MouseEvent.CLICK, clickBotonZoom);
         mover.addEventListener(MouseEvent.CLICK, clickBotonMover);
         
         
      }
//////////////// funcion para mover el objeto a una posicion X //////////////////////////////
         private function clickBotonMover(event:MouseEvent):void
         {
            ani=new Animaciones2();
            ani.moverA(Number(pfx.text),Number(pfy.text),movie);
         }
//////////////////////////////// funcion para realizar el zoom de un objeto //////////////////////         
         private function clickBotonZoom(event:MouseEvent):void
         {
            ani=new Animaciones2();
            ani.zoomInicioFin(Number(zi.text),Number(zf.text),movie);
         }
         
   }
}