dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Stroke size halved for MovieClip container

  1. #1
    Member
    Join Date
    Sep 2009
    Posts
    88

    Question Stroke size halved for MovieClip container

    Is there a way to have the full stroke size (height/width) fully included or excluded in the movieclip symbol?

    If I'm making a rectangle with size 100, adding dynamically lines of size 20 when certain criteria are reached in game. But I also want to have stroke of size 5-6, problem is that they half their size in included in the rectangle 100 of height, and half are outside.

    It makes it more tricky to make the formulas to take in consideration the 2.5 for the size and also the effect on x positionning etc. Much easier to just have to do the like of "x += 20" without the assle of calculating the half stroke height.

    So how to have those stroke included/excluded when converting to symbol?

  2. #2
    Member
    Join Date
    Sep 2009
    Posts
    88
    up

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