# \[Flash CS3\] Change Movie Clip Properties in AS3

**URL:** <https://forum.kirupa.com/t/flash-cs3-change-movie-clip-properties-in-as3/237117>\
**Category:** flash\
**Created:** [August 27, 2007, 2:30pm UTC](https://forum.kirupa.com/t/flash-cs3-change-movie-clip-properties-in-as3/237117 "2007-08-27T14:30:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alemieux34](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Post date:** [August 27, 2007, 2:30pm UTC](https://forum.kirupa.com/t/flash-cs3-change-movie-clip-properties-in-as3/237117/1 "2007-08-27T14:30:18Z")

</div>

I’m trying to write the proper AS3 script to change the properties of a single movie clip called blueMC. I’m using input text fields that have instance names with a button next to them to trigger the change in the MC’s properties. Here’s my code thus far:

yscale\_btn.addEventListener(MouseEvent.CLICK, yScale);  
xscale\_btn.addEventListener(MouseEvent.CLICK, xScale);  
alpha\_btn.addEventListener(MouseEvent.CLICK, alphaChange);  
rotate\_btn.addEventListener(MouseEvent.CLICK, rotateChange);  
xloc\_btn.addEventListener(MouseEvent.CLICK, xLoc);  
yloc\_btn.addEventListener(MouseEvent.CLICK, yLoc);

function yScale(event:MouseEvent):void {  
blueMC.scaleY = yScale.text;  
}  
function xScale(event:MouseEvent):void {  
blueMC.scaleX = xScale.text;  
}  
function alphaChange(event:MouseEvent):void {  
blueMC.alpha = alphaChange.text;  
}  
function rotateChange(event:MouseEvent):void {  
blueMC.rotate = rotateChange.text;  
}  
function xLoc(event:MouseEvent):void {  
blueMC.x = xLoc.text;  
}  
function yLoc(event:MouseEvent):void {  
blueMC.y = yLoc.text;  
}

When I test the movie, I get the following errors: 1023: Incompatible override and 1021: Duplicate Function Definition.

I don’t see anything duplicated in my functions, they all seem pretty unique other than the format. Can you help?
