Skip to main content
Participant
Mar 23, 2018 7:10 AM UTC
Answered

How to make objects disappear and reappear in flash?

Hi. I'm trying to make stars twinkle in and out of existence. I'm pretty new to flash. How would I go about have a bunch of small stars disappear and then reappear in each frame, switching back and forth? Thanks.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    JoãoCésar17023019
    JoãoCésar17023019Correct answer
    Community Expert
    Mar 23, 2018 8:47 AM UTC

    Hi.

    Your star can be a Graphic or MovieClip in which you have a timeline animation with keyframes at the following times:

    0s -> star alpha is 100%;

    1s -> star alpha is 0%;

    2s -> star alpha is 0%;

    3s -> star alpha is 100%;

    4s -> star alpha is 100%;

    Then you right-click between the keyframes and choose a tween type of your choice.

    After setting the star animation, you go to the main timeline, create as many stars as you want, randomizing their size, position, and alpha.

    Finally you distribute them to different layers and set each one to start and end at different keyframes.

    Hopefully it will give you the desired effect.

    5 replies

    JoãoCésar17023019
    Community Expert
    JoãoCésar17023019Community ExpertCorrect answer
    Community Expert
    Mar 23, 2018 8:47 AM UTC

    Hi.

    Your star can be a Graphic or MovieClip in which you have a timeline animation with keyframes at the following times:

    0s -> star alpha is 100%;

    1s -> star alpha is 0%;

    2s -> star alpha is 0%;

    3s -> star alpha is 100%;

    4s -> star alpha is 100%;

    Then you right-click between the keyframes and choose a tween type of your choice.

    After setting the star animation, you go to the main timeline, create as many stars as you want, randomizing their size, position, and alpha.

    Finally you distribute them to different layers and set each one to start and end at different keyframes.

    Hopefully it will give you the desired effect.

    Translate
    Wildyorkshire
    Inspiring
    Sep 25, 2021 10:47 AM UTC

    100% of what?

    Translate
    n. tilcheff
    Legend
    Sep 25, 2021 12:15 PM UTC

    Alpha.

     

    Translate
    Nick - Character Designer and Animator, Flash user since 1998 | Member of the Flanimate Power Tools team - extensions for character animation