I’ve got a yellow square with a thin black frame around it. When using the command for this movieclip
onClipEvent(enterFrame) {
if (_height<300) {
_height++;
}
}
the square gets higher and higher but the frame gets thiker and thiker. But I want the same thin line around my new, larger square as I had before. Do you know, how to do this?
I think it is stretching the movie clip and thus stretching the line making it look thicker. I’m not sure what you are trying to accomplish, but I can think of a work around: why don’t you create a masked rectangle that moves up… so it appears to be getting stretched, but the line will not change.
Creating engaging and entertaining content for designers and developers since 1998.