A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Drag draw sprite

  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    19

    Exclamation Drag draw sprite

    I've had a search in the forums and I couldn't find an answer.

    I need help with creating a draw tool which will draw shapes (rectangles, triangles, stars...) when selected. I am guessing that I just need to be able to click drag draw a sprite which contains the shapes?

    There's an example of what I I'm talking about @ www.imagination3.com
    If you go to Tools > Shapes you can see what I'm trying to emulate.

    Someone on another forum suggested using Sprite.graphics.drawPolygon()
    Does anyone have any working examples or code to work with.

    Any help will be appreciated.

  2. #2
    Junior Member
    Join Date
    May 2008
    Posts
    19

    Thumbs up

    I got a reply from another forum. Might be useful for some people.

    I just created an actionscript 3 draw application, you can find the app and the source at my new blog:
    http://www.urlvars.com/draw-app

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