how to pass parimiters onto a movieClip through a method function
I can pass it like example below but I want it like Movieclip.gotoAndPlay(1) or Movieclip.ColorThis(thecolor) so what ever movieclip I want to add values is outside the function ().
I don't know if it will ever be useful but I think it looks nicer
ColorThis(mymov,nm5);
function ColorThis(Pmov:MovieClip,mycolor:Number):void {
var newColorTransform_2:ColorTransform = new ColorTransform();
newColorTransform_2.color = mycolor;
Pmov.transform.colorTransform = newColorTransform_2;
}