peterworth
Programmer
hi,
the following gives some funny behaviour:
loadMovie("li.swf","rect_mc");
rect_mc._width = 50;
rect_mc._height = 50;
button_mc.onRelease = function() {
rect_mc._width = 50;
rect_mc._height = 50;
}
the first alteration to _width and _height make the movie a particular size, then when the button is pressed, the movie is made even smaller, but it should be the same (always 50pixels x 50pixels)
any idea why it happens? i have a bigger project where this behaviour is causing some issues.
thanks.
the following gives some funny behaviour:
loadMovie("li.swf","rect_mc");
rect_mc._width = 50;
rect_mc._height = 50;
button_mc.onRelease = function() {
rect_mc._width = 50;
rect_mc._height = 50;
}
the first alteration to _width and _height make the movie a particular size, then when the button is pressed, the movie is made even smaller, but it should be the same (always 50pixels x 50pixels)
any idea why it happens? i have a bigger project where this behaviour is causing some issues.
thanks.