franko
03-28-2001, 05:38 AM
I have been trying to scale a vector graphic which is a map.
I have the graphic in a mc called "map" it is just on one frame.
In the main scene, I have the movie clip in one layer and in a second layer I have a button which has the script
on (release) {
setProperty ("map", _xscale, getProperty("map", _xscale)+50);
setProperty ("map", _yscale, getProperty("map", _yscale)+50);
}
But nothing happens when the button is clicked. I would thing the x and y scale propterties would be increased by 50%.
any help would be appreciated.
I have the graphic in a mc called "map" it is just on one frame.
In the main scene, I have the movie clip in one layer and in a second layer I have a button which has the script
on (release) {
setProperty ("map", _xscale, getProperty("map", _xscale)+50);
setProperty ("map", _yscale, getProperty("map", _yscale)+50);
}
But nothing happens when the button is clicked. I would thing the x and y scale propterties would be increased by 50%.
any help would be appreciated.