Queridos amigos. mi problema es que tengo un codigo que funciona perfectamente con la version 6 de flash, pero al publicarlo en flash 7 no funciona.. dejo a continuacion el codigo, a ver si alguien puede ayudarme..
si alguien desea puedo enviarle el fla muchas gracias

// creo una instancia del movieclip
function makedot() {
nombre="dot"+ String(depth++);
neo = field.attachMovie("dot", nombre, depth);
neo.x=3 * (random(Object.environment.fl*2)-Object.environment.fl);
neo.z=3 * (random(Object.environment.fl*2)-Object.environment.fl);
}
// registro en el root al objeto enviroment
Object.environment = this;
Object.environment.fl=500;
Object.environment.maxDots = 10;

// creo el movie vacio donde adjunto al movie dot
this.createEmptyMovieClip("field",1);
// lo centro en pantalla
this.field._x=300;
this.field._y=169;


this.onEnterFrame = function() {
// creo el nuevo "dot"
if (Object.environment.dotCount<Object.environment.maxDots) {
Object.environment.dotCount++;
makedot();
}

angle += (this._xmouse-300)/25;
y = (this._ymouse-220);
};

this.onMouseDown = function() {
// incremento el numero de particulas
Object.environment.maxDots++;
};
stop();


//este es el codigo dentro del clip "dot"
this._alpha=0;
// posicion inicial
this.y = Object.environment.y;
this.yoffset = random(300);
this.angle = Object.environment.angle;

// movimiento
this.onEnterFrame = function() {
// calculo el radio
var rad = this.angle*Math.PI/180;
// calculo la posicion radial
this.xpos = Math.sin(rad)*x+Math.cos(rad)*this.z;
this.zpos = Math.sin(rad)*z-Math.cos(rad)*this.x;
// callculo el tamaño
var scale = Object.environment.fl/(Object.environment.fl+this.zpos);
// posicion en pantalla
this._x = this.xpos*scale;
this._y = this.ypos*scale;
// tamaño en pantalla
this._xscale = scale*100;
this._yscale = scale*100;
// chance entre 1000
if (!random(1000)) {
// tiempo de flotacion
this.timeToExit=true;
}
if (this.timeToExit) {
this.angle += (Object.environment.angle-this.angle)/25;
// aceleracion
this.vy -= .2;
// posicion por velocidad
this.ypos += this.vy;
// fade out
this._alpha--;
if (this._alpha<0) {
Object.environment.dotCount--;
this.removeMovieClip();
}
} else {

this.angle += (Object.environment.angle-this.angle)/25;
this.vy = (Object.environment.y-this.ypos+this.yoffset)/20;
this.ypos += this.vy;
// fade in
if (this._alpha<100) {
this._alpha+=4;
}
}
};