PDA

View Full Version : How to add round edge boxes in Flash CS3


Moodle
08-29-2008, 10:40 AM
Hello, I have been trying to get round edges on my site logo, but how do I do this? Please help!

hardnrg
08-29-2008, 11:18 PM
If you're wanting to create your logo in flash, I recommend importing it as a .JPG (or png/gif) into the library.

Otherwise, if you have a box you want to curve the corners (going by your title)...

var logo:MovieClip = new MovieClip();
logo.graphics.beginFill(0x00000, 1);
logo.graphics.drawRoundRect(0, 0, 100, 100, 30);
logo.graphics.endFill();

addChild(logo);