Changing to AS 2.0

I found a tutorial I would like to change to AS 2.0 make the code mainly on the first frame of the main timeline.

I have a movieclip called “circle_mc” that changes color with a series of 6 sliders. 2 (ra and rb) for red, 2 (ga and gb) for green and 2 (ba and bb) for blue.

On slider A:

onClipEvent (enterFrame) {
raColor = new Color(_root.circle_mc);
raTransform = new Object();
raTransform.ra = ((this.sliderknob1._y)*-1);
raColor.setTransform(raTransform);
}

On slider B:

onClipEvent (enterFrame) {
rbColor = new Color(_root.circle_mc);
rbTransform = new Object();
rbTransform.rb = ((this.sliderknob2._y)*-2);
rbColor.setTransform(rbTransform);
}

Can someone help me out and let me know how I can accomplish the same but with code all on the the first frame of the main timeline.

Thanks!