Skip to main content
Known Participant
October 17, 2014
Question

Is there a way to add an outline to a shape made using brush tool with Actionscript 3.0?

  • October 17, 2014
  • 3 replies
  • 834 views

I'm animating a character. I've made body parts by making a rectangle, removing the line outline, then adding extra sides by holding the Alt key and dragging out to make the shape I desire. I prefer not to make all the shapes I make into symbols because I want to 'Shape Tween' certain parts. One thing I do want however is an outline on that shape, but not the 'Line tool' type of line if that makes sense? An outline that is made by another shape by use of code! Can this be done?

This topic has been closed for replies.

3 replies

Amy Blankenship
Legend
October 17, 2014

Have you tried the ink bottle tool (click and hold the Paint Bucket and you should see it)?

Note that you can't reference objects through code that you can't refer to. You may be able to dig through the display list and find the Shape and apply code to it, but I think that Shapes get combined and composited in ways you might not expect. In addition, you may find that Shapes get replaced while animating.

Known Participant
October 17, 2014

Does anyone know if it is possible to apply effects to shapes rather than turning them into a symbol first?

kglad
Community Expert
Community Expert
October 17, 2014

you can use code to create what looks like stroke (using, for example a glow filter), but you would have to convert the shapes to objects (eg movieclips) to apply a filter to them whether using code or in the properties panel.

Known Participant
October 17, 2014

Thanks. Problem was I didn't want to have to work with symbols as I want to do a lot of shape tweening. I know I could shape tween within the symbol but I'd have to fiddle around a lot more and would take too much time.