hey guys, long time no thread :P,
just messing with the new flash 9 Alpha for the last 10 mins, having a few issues with converting this code, I have changed as might as I found, still does nothing. Any Help Appreciated
Below is my code. The issue is setting the onEnterFrame event. It doesn’t run. I googled it and found no useful explanation… just wondering if anyone whos had more than 10 minutes AS3 experience can help me.
For the record, boule is french for ball and cible is french for target 
var easePerc:Number = 4;
MovieClip.prototype.setBoule = function(amount:Number, t:String) {
this.targ = t;
this.deg = amount;
this.rads = 100;
this.dist = 90;
this.Xob = 1.2;
this.Yob = .3;
this.onEnterFrame = function (){
trace("yo")
this.swapDepths(this.y);
this.deg += (Stage.width/2-Stage[this.targ])/100*easePerc;
this._xscale = this._yscale=(cible.y+this.y-this.dist)/(cible.y+this.rads)*100;
this.ang = this.deg*Math.PI/180;
this.x = cible.x-(this.rads*this.Xob)*Math.cos(this.ang);
this.y = cible.y-(this.rads*this.Yob)*Math.sin(this.ang);
};
};
cible.alpha = 0;
boule5.setBoule(288, "mouseX");
boule4.setBoule(216, "mouseX");
boule3.setBoule(144, "mouseX");
boule2.setBoule(72, "mouseX");
boule.setBoule(0, "mouseX");
Thanks, for any help 