0 Replies Latest reply on Oct 1, 2010 11:36 AM by Mackenzie.Turner

    Flex Noob trying to make part of a shape dissapear

    Mackenzie.Turner

      I have a sprite with a child shape, called mountain and mount respectively, mount is an oblique, black shape and there is a per-pixel collision detection algorithm running that detects when an instance of a class called bullet hits the pixels in mount shape (inside mountain sprite). Currently when a collision occurs, a white circle is drawn. Instead I want the circle to erase any part of mount that is inside so that when retrieving the bitmap data for mountain the area in the circle is alpha. Code samples or links to tutorials would be a big help

       

      Thanks.