A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: circular wipe /masking needed

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    21

    circular wipe /masking needed

    hi

    i am sure i have done this before - but i want a mask over my image that will reveal the image in a clockwise motion

    i am trying to think of a way that involves tweening but for the moment - i am stumped - any suggestions


    thanks

  2. #2
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    You mean a circular clock-like thing used in the movies?

    Ok... Give me a sec to think about it.
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  3. #3
    Junior Member
    Join Date
    Aug 2004
    Posts
    21
    yes

    i think an earlier version of flash had something similar in its common libraries - an orange circle with a increasing segment going round from 0 dgrees to 360 degrees and then starting over again

    i just would like to see how the masking was done so i can recreate something similar


    thanks for looking

    john

  4. #4
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Yep here it is!:

    Make half of the circle, and then make a mask of the first half of the circle. put it out of the masked area so that the first animated half is unseen, then tween the circle by turning it to rotation....

    That makes it looks like the half of the first circle finished.

    And then just stop the tween and make the next half.

    The LAYERS will look like this:

    -1sthalfCircleFinished *
    -Mask:2ndHalfCircle **
    ---2nd Half Circle Tween **
    -Mask:1stHalfCircle *
    ---1st Half Circle Tween *

    * The "Finished Half Circle" sits on top AFTER the 1stHALF Circle is finished
    ** The 2nd circle needs to be the same speed as the first.

    Careful the tween is NOT in the centre of the half-circle, it's in the mid-point of the whole circle
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  5. #5
    Junior Member
    Join Date
    Aug 2004
    Posts
    21
    thanks very much - i shall have a go at that at home

    cheers

  6. #6
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

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