tengo un action que no me corre en flash player 6, pero si en flash player5, el problema es que necesito publicarlo en fplayer6,
acá va el código:
esto va en el simbolo.
onClipEvent (load) {
linea_load(1);
final.gotoAndStop(1);
}
onClipEvent (enterFrame) {
linea_update();
}
y esto en el frame:
Movieclip.prototype.linea_load = function(menunumber) {
mysound = new Sound(this);
_parent.released = 0;
numero = menunumber;
iterations = 5;
xstart = _x;
drag = 0;
ystart = _y;
targetx = xstart;
targety = ystart;
r = 5;
x = (2*Math.PI)*(numero/iterations);
t = Math.tan(x);
mycol = new Color(final);
_parent.drag = 0;
};
Movieclip.prototype.linea_update = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true) and _parent.drag<2 and _parent.released == 0) {
if (random(5) == 0) {
counter++;
addcol = random(100);
mycol.setTransform({rb:addcol, gb:addcol, bb:addcol});
duplicateMovieClip("line0", "line"+counter, counter);
}
if (drag == 0) {
mysound.attachSound("sound7");
mysound.start();
this.swapDepths(2);
drag = 1;
_parent.drag++;
}
} else if (_parent.released == 0) {
_parent["inhead"+(number+1)]._visible = 1;
mycol.setTransform({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0});
targetx = xstart;
targety = ystart;
if (drag == 1) {
this.swapDepths(0);
drag = 0;
_parent.drag--;
}
} else {
targety = -170;
targetx = (t*85)-56;
}
};
Si alguno de los maestros me puede ayudar les estaré muy agradecida

Andrea.