Hola les queria hacer una consulta, estoy intentando hacer una animacion con efecto mirror o espejo. Mi idea es poner 2 o mas imagenes y hacer un efecto de aparicion y de desaparicion, teniendo al mismo tiempo el efecto espejo.

El efecto espejo lo logro con esto:

MC
instanciado como : mcmirror

AS2: (codigo en el primer fotograma)

Código :

import flash.geom.*; 
import flash.display.*; 

function espejo(mc) 
{ 
    w = mc._width * 100 / mc._xscale; 
    h = mc._height * 100 / mc._yscale; 
    b = new flash.display.BitmapData(w, 2 * h, true, 0); 
    t = createEmptyMovieClip("p2", 100002); 
    M = new flash.geom.Matrix(); 
    M.scale(1, -1); 
    M.ty = 2 * h; 
    Mx = new flash.geom.Matrix(); 
    Mx.createGradientBox(w, h, 1.570000E+000, 0, 0); 
    t.beginGradientFill("linear", [0, 0, 0], [100, 90, 20], [100, 160, 255], Mx); 
    t.moveTo(0, 0); 
    t.lineTo(0, h); 
    t.lineTo(w, h); 
    t.lineTo(w, 0); 
    t.endFill(); 
    b.draw(mc, M); 
    b.draw(t, M, null, 12); 
    t.removeMovieClip(); 
    mc.attachBitmap(b, 2); 
} // End of the function 
function espeja(mcmirror) 
{ 
    w = mcmirror._width; 
    h = mcmirror._height; 
    mc = mcmirror.duplicateMovieClip("null", 1000, {_y: mcmirror._y + 2 * h, _yscale: -100}); 
    t1 = mcmirror.createEmptyMovieClip("null", 10); 
    t1._y = h; 
    Mx = new flash.geom.Matrix(); 
    Mx.createGradientBox(w, h, 1.570000E+000, 0, 0); 
    t1.beginGradientFill("linear", [0, 0], [100, 0], [0, 255], Mx); 
    t1.moveTo(0, 0); 
    t1.lineTo(0, h); 
    t1.lineTo(w, h); 
    t1.lineTo(w, 0); 
    t1.endFill(); 
    mc.cacheAsBitmap = true; 
    t1.cacheAsBitmap = true; 
    mc.setMask(t1); 
} // End of the function 
espejo(mcmirror); 
espejo(mc1); 
espeja(mc2); 
mc1._xscale = 100; 
mc1._yscale = 100; 
onMouseDown = function () 
{ 
    startDrag (mcmirror, false, -200, 0, 400, 400); 
}; 
onMouseUp = function () 
{ 
    mcmirror.stopDrag(); 
}; 


Ahora bien el efecto espejo sale perfecto el problema es cuando hago el efecto aparicion y desaparicion.

Me refiero a esto:

1 - En el fotograma 1 ->"Create Motion Tween" y se teo alfha 0%
2 - En el fotograma 20, 50 y 70 ->"Insert KeyFrame"
3 - En el fotograma 70 -> Create Motion Tween" y se teo alfha 0%

El efecto espejo deja de funsionar al fotograma 20.

Alguien me podria ayudar???

Desde ya muchas gracias!!!