Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Oct 17, 2014 Oct 17, 2014

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?

TOPICS
ActionScript
758
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 17, 2014 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 17, 2014 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 17, 2014 Oct 17, 2014

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 17, 2014 Oct 17, 2014
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines