2 Replies Latest reply on Apr 3, 2009 6:35 AM by Handycam

    Set fill and stroke with events?

    Handycam Level 1
      I have a SWF with Shapes created with AS. When an event fires, I want to change the fill and stroke of the Shape.

      I know how to do the event, but what's the syntax to modify the fill and stroke?

      For reference, in my Class's creator function I have:
      // create the base circle

      So what I would want to do here is change the lineStyle to 0xff0000 and the fill to 0xFFFF00 (for example).