# Load movie and change color movie clip

**URL:** https://forum.kirupa.com/t/load-movie-and-change-color-movie-clip/173872
**Category:** flash
**Created:** [December 30, 2005, 1:56pm UTC](https://forum.kirupa.com/t/load-movie-and-change-color-movie-clip/173872 "2005-12-30T13:56:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kicho](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@kicho](https://forum.kirupa.com/u/kicho)
#### Post date: [December 30, 2005, 1:56pm UTC](https://forum.kirupa.com/t/load-movie-and-change-color-movie-clip/173872/1 "2005-12-30T13:56:46Z")

</div>

Hello,

i wanna change color of mc. I have buttom Test and Parametri. In Test is movie testing.swf in Parametri you can change color of movie clips.  
in file starttesting is make like this:

in layer1 is mcPlayer. In this mcPlayer are three layers, action, container and buttoms.  
in action layer is this code:

```auto
mcButtonParametri.onRelease = function():Void{
 addWindow("mcPar");
}
mcButtonFoto.onRelease = function():Void{
 addMovie();
}
function addMovie():Void{
 
 var mcLoader:MovieClipLoader= new MovieClipLoader();
 mcLoader.loadClip("testing.swf",_root.player.container);
 
}
function addWindow(sLingage:String):Void{
 
 var nIndex:Number = this.getNextHighestDepth();
 var mcWindow:MovieClip = this.attachMovie(sLingage, "mcWindow"+nIndex, nIndex);
 mcWindow._x= -50;
 mcWindow._y= -100;
 
 mcWindow.mcOkvir.onPress = function():Void{
  this._parent.startDrag();
 }
 mcWindow.mcOkvir.onRelease = function() :Void{
  this._parent.stopDrag();
 }
 mcWindow.mcClose.onRelease= function():Void{
 this._parent.removeMovieClip();
 }
}

```

That is all.  
All you can see in attache file

My problem is:  
How can I change color of mcOksid(testing.fla), but color will be change when i push a upload buttom? WHen i push reset buttom, the color will come back to default.

Second problem, in testing.fla in layer OKSID, i have mcOksid and mcOksid2.  
Know if i change color of mcOksid to blue, mcOksid2 has to be blue too.

Please help
