# Changing the shape of mcs

**URL:** <https://forum.kirupa.com/t/changing-the-shape-of-mcs/52417>\
**Category:** Uncategorized\
**Created:** [May 23, 2004, 8:01pm UTC](https://forum.kirupa.com/t/changing-the-shape-of-mcs/52417 "2004-05-23T20:01:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hola](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@hola](https://forum.kirupa.com/u/hola)\
**Post date:** [May 23, 2004, 8:01pm UTC](https://forum.kirupa.com/t/changing-the-shape-of-mcs/52417/1 "2004-05-23T20:01:14Z")

</div>

Hi, i have been trying to make a script work with flash components and im havin trouble!! basically i want to be able to change the height, length and rotation of an mc, this is fine but i would like to take the next stop forward and be able to make changes to a number of mcs one they have been selected - this is where am i at with the script;

var myMC = “star”;

function rotate(myMC) {  
(myMC).\_rotation = rotation.getScrollPosition();  
horiz.setChangeHandler("");  
vertical.setChangeHandler("");  
horiz.setScrollPosition(myMC\_height);  
vertical.setScrollPosition(star.\_width);  
horiz.setChangeHandler(“resizemyMC”);  
vertical.setChangeHandler(“resizemyMC”);  
}

function resizeStar() {  
star.\_height = vertical.getScrollPosition();  
star.\_width = horiz.getScrollPosition();  
}  
horiz.setScrollProperties(50, 0, 300);  
horiz.setScrollPosition(100);  
horiz.setChangeHandler("");  
vertical.setScrollProperties(50, 0, 300);  
vertical.setScrollPosition(100);  
vertical.setChangeHandler("");  
rotation.setScrollProperties(30, -180, 180);  
rotation.setScrollPosition(0);  
rotation.setChangeHandler("");

if anyone could offer me some advice or help i would be really grateful!!  
:thumb:
