A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: change stroke color

  1. #1
    Join Date
    Jul 2008

    change stroke color

    I am looking for a way to change stroke color via AS3. The objects I would like to change are created with flash professional. They do have a fill. I just want to change the stroke color and not the fill color... is this possible? ... or am I stuck removing all fills and using a filter?

    Thanks for your help!


  2. #2
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Oregon, USA
    You can't directly manipulate drawing assets from code - you could separate the strokes into their own object and apply filters, or clear the graphics layer and redraw the shape with a new lineStyle.
    Please use [php] or [code] tags, and mark your threads resolved 8)

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