A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: hairline border on km movie?

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Location
    York, Pennsylvania
    Posts
    380
    without having to make a rectangle, set fill transparency, and copy it to all frames as the back-most object... is there a way to add a hairline border to a km movie?

    I found that after making a movie, I needed to go back and add a border around it... I did it by making a rectangle as above... the only problem is that I then has to edit each frame to shift everything a slight amount to compensate for it... this created some minor wiggles between static objects that I had to go back and adjust... very time consuming!!!

    Is there a better method to do this?

    Bob: what are the chances of an ADD BORDER with settable color feature in an upcoming release?

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    You can do this in your html by putting the movie inside a table and by setting the cellpadding to the thickness of the border and the background color of the table to the color of the border.

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    I would use the HTML method myself if it was for the Web...

    For a projector I would probably do almost what you did however I don't Understand why you had to copy or edit in each frame? Draw the rectangle in the First Key frame with your background color set as you want and just adjust the line color to get your border color, copy it, then click to the second key frame and hit paste to end, select it and then send it all the way to the back... no reason to play with transparancy or to adjust anything in the other frames. If you want it in the front all you have to do is click on property veiew> filled and check it to no and then instead of sending it to the back send it to the front.

    If you wanted to adjest for animation all you had to do was increase the Movie Hieght and Width to compensate for the addition of the Border as SWF is a Vector Format and the Hieght and Width are almost always adjustable.

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