A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Rectangle options, round corners + scaleX problem

  1. #1
    Member
    Join Date
    Sep 2009
    Posts
    88

    Rectangle options, round corners + scaleX problem



    How to keep the same rounded corner even when I want to shrink it's width?

    (working on cs5, which is same exact rectangle tool as cs4)

  2. #2
    Senior Member Alluvian's Avatar
    Join Date
    Jun 2006
    Posts
    967
    The only way I know of is to make it two shapes, a box in the middle, and two flipped caps on the ends.

    Or better yet, make the rectangle with code and redraw it as needed with code.

  3. #3
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    lather yourself up with soap - soap arcade

  4. #4
    Senior Member Alluvian's Avatar
    Join Date
    Jun 2006
    Posts
    967
    Heh, yeah... that's a better idea by far. Basically the first idea but actually built in. Never messed with that before, slick.

  5. #5
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    its good, you can even enable it on your library items without even coding anything. Right click a symbol - properties - Enable guides for 9-slice scaling.
    lather yourself up with soap - soap arcade

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center