A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: circular mask animation

  1. #1
    Join Date
    Jun 2002

    Unhappy circular mask animation

    Having a terrible time animating a circular mask. I've searched the forums but no luck. Does anyone know of a definitive way to draw a circle over time?

    More specifically: I have a ring png that I want to reveal clockwise over time using a mask. The ring is about 20 px thick. I tried shape tweening but it's such a horrid mess.

    I'm not that big of a noob, just don't have much experience with the drawing api (assuming that's used) and trig...

    Thanks for your input.

  2. #2
    Teacosy is coming ranoka's Avatar
    Join Date
    Jun 2003
    I think you mean something like this (view attached).

    To make it into a circle that you're doing this effect on, use a circle shaped graphic for the artwork.

    Hope that helps.

    Also, the person I did it for was an animator, so he wanted it synced to the timeline. You can use MovieClips instead so that you don't need to play along the timeline. You could probably re-create this effect entirely in AS, but I'm not entirely sure how to do that yet.
    Attached Files Attached Files
    Last edited by ranoka; 11-06-2008 at 06:28 AM.

  3. #3
    Join Date
    Jun 2002
    Thanks Ranoka!

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