tengo un scroll en mi flash, este es el codigo, y ese no tienen ningun problema:
Código :
onClipEvent(enterFrame){
// velocidad
if(_root.indietro){
if(_root.clip1._currentframe > 0){
_root.clip1.gotoAndStop(_root.clip1._currentframe - 1);
}
}
// play
if(_root.avanti && _root.clip1._currentframe < _root.clip1._totalframes){
_root.clip1.play();
}
//Stop
else {
_root.clip1.stop();
}
}
El problema es el siguiente, cuando realizo la animacion de un clip con actionscript dento de este scroll mediante un boton:
Código :
on (release) {
import mx.transitions.Tween;
var myTween:Tween = new Tween(_root.clip1.clip2, "_y", mx.transitions.easing.Elastic.easeOut, 50, 190, 2, true);
myTween.onMotionFinished = function() {
};
}este tambien funciona, pero ya no me respeta el scroll principal y el clip anidado se queda estatico, espero me puedan ayudar, de antemano muchas gracias.
[zah]Agregadas etiquetas code[/zah]
