-
I have a MC with a box(100px X 100px)in it I also have a small button(10px X10px) in the bottom right conner of the box. the button("resize") and movie clip("box") are seperate. When I select and drag the button the box resizes to the right width and height but the lines around the fill get bigger too. How could I stop this from happening.
Code:
//in same frames with MC
box._width = (resize._x);
box._height = (resize._y);
//for the button
on (press) {
_root.refit = true;
startDrag(resize);
}
on (release) {
_root.refit = false;
stopDrag();
}
click here to down load the fla http://home.earthlink.net/~wmilkovic/fixme.fla
and here to see an example swf http://home.earthlink.net/~wmilkovic/
-
Change the line size to hairline to stop them from changing size.
-
Or draw the box dynamically using the draw methods.
etcettra's solution is much easier though, unless you need lines thicker than 1 pixel.
Cheers,
ZE.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|