Is this in the right order?

hey ya’ll check out the code…for my photogallery…when u clik a thumb its supposd to load the pic white to normal…but its just staying white

is it in the right order? (in pink)

 
var cColor;
MovieClip.prototype.fadeColor = function(cto, ease) {
 var myColor = new Color(this);
 //set the picture to white
 myColor.setTransform({ra:100, rb:255, ga:100, gb:255, ba:100, bb:255, aa:100, ab:0});
 this.onEnterFrame = function() {
  for (var c in cColor) {
   cColor[c] += (cto[c]-cColor[c])/ease;
  }
  myColor.setTransform(cColor);
 };
};
[COLOR=magenta]button1.onPress = function() {
 my_mc.loadClip("liberty.jpg", "container");
 container.fadeColor({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, 20);
 var myColor = new Color(container);
 cColor = myColor.getTransform();
}[/COLOR]

[COLOR=red]I TRIED THIS[/COLOR]
[COLOR=#ff0000]it flashes the pic onPress…and then it turns white to normal…but[/COLOR]
[COLOR=#ff0000]i don’t like the flashing part lol. help me thx!!![/COLOR]

 
button1.onPress = function() {
 my_mc.loadClip("liberty.jpg", "container");
};
button1.onPress=function(){
 container.fadeColor({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}, 20);
 var myColor = new Color(container);
 cColor = myColor.getTransform();
}

::: OR SHOULD i put the colorburn code in this??::

MovieClip.prototype.fadeIn = function() {
 this.onEnterFrame = function() {
  if (this._alpha<100) {
   this._alpha += 10;
  } else {
   delete this.onEnterFrame;
  }
 };
};
bar._visible = false;
border2._visible = false;
var empty = this.createEmptyMovieClip("container", 300);
empty._x = 380;
empty._y = 140;
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
 trace("started loading "+targetMC);
 container._alpha = 0;
 bar._visible = true;
 border2._visible = true;
 pText._visible = true;
};
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
 bar._width = (lBytes/tBytes)*100;
 pText.text = "% "+Math.round((lBytes/tBytes)*100);
};
preload.onLoadComplete = function(targetMC) {
 container.fadeIn();
 border2._visible = false;
 bar._visible = false;
 dText._visible = false;
 trace(targetMC+" finished");
};
//default image
my_mc.loadClip("liberty.jpg", "container");
//buttons

button2.onPress = function() {
 my_mc.loadClip("dancer.jpg", "container");
};
button3.onPress = function() {
 my_mc.loadClip("miner.jpg", "container");
};
button4.onPress = function() {
 my_mc.loadClip("wine.jpg", "container");
};
button5.onPress = function() {
 my_mc.loadClip("tractor.jpg", "container");
};
button6.onPress = function() {
 my_mc.loadClip("galleria.jpg", "container");
};
button7.onPress = function() {
 my_mc.loadClip("cantina.jpg", "container");
};
button8.onPress = function() {
 my_mc.loadClip("sunflower.jpg", "container");
};
button9.onPress = function() {
 my_mc.loadClip("one.jpg", "container");
};
button10.onPress = function() {
 my_mc.loadClip("horses.jpg", "container");
};
button11.onPress = function() {
 my_mc.loadClip("vatican.jpg", "container");
};
button12.onPress = function() {
 my_mc.loadClip("red.jpg", "container");
};