# Scaling, alpha, position issues

**URL:** <https://forum.kirupa.com/t/scaling-alpha-position-issues/121059>\
**Category:** Uncategorized\
**Created:** [August 30, 2004, 4:17pm UTC](https://forum.kirupa.com/t/scaling-alpha-position-issues/121059 "2004-08-30T16:17:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![headznet](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@headznet](https://forum.kirupa.com/u/headznet)\
**Post date:** [August 30, 2004, 4:17pm UTC](https://forum.kirupa.com/t/scaling-alpha-position-issues/121059/1 "2004-08-30T16:17:04Z")

</div>

I tried using this code because I need some mc to scale, others to fade, and others to move; but it won’t work. It only allows the last function to work (in this case alpha).

MovieClip.prototype.easeScale = function(scaSpeed, mcH, mcW) {  
this.onEnterFrame = function() {  
this.\_height += (mcH-this.\_height)/scaSpeed;  
this.\_width += (mcW-this.\_width)/scaSpeed;  
};  
};  
MovieClip.prototype.easePosition = function(posSpeed, mcX, mcY) {  
this.onEnterFrame = function() {  
this.\_x += (mcX-this.\_x)/posSpeed;  
this.\_y += (mcY-this.\_y)/posSpeed;  
};  
};  
MovieClip.prototype.easeAlpha = function(alpSpeed, mcA) {  
this.onEnterFrame = function() {  
this.\_alpha += (mcA-this.\_alpha)/alpSpeed;  
};  
};  
box\_mc.onRelease = function() {  
box\_mc.easeScale(8, 100, 10);  
box\_mc.easePosition(8, 400, 300);  
box\_mc.easeAlpha(8, 60);  
};
