Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: counter technique using a mask |
From: | Marc Hoffman, Poison Dart Frog Media |
Date: | Mon, 24 May 1999 15:46:09 +0100 |
At 04:18 PM 5/24/99 +1000, you wrote:
>... As each user enters the touch screen the
>counters are incremented by one. This works fine and I can get from 0000 to
>9999 OK. To access the numbers I have placed the Counter MC on the Main
>Intro Screen . To stop anyone seeing these numbers I hid the Four MC's in
>the Counter behind a mask layer and used a very small hidden button to move
>the counter MC one frame which moved the mask and made the numbers visible.
>However it seems that a mask layer not only prevents the layer being visible
>but also prevents any actions taking place on the masked layer itself. If I
>don't use a mask the counters work fine - with a mask they don't increment.
>
Hi Steve.
I have discovered that masking a movie clip has the same effect as removing
it from the timeline -- it becomes inaccessible and is reset to frame 1
when it is unmasked. Not sure if you're using a true mask. But if you are
moving the mc, that means you're inserting a new keyframe, which will also
reset it. Instead, make a 2-frame mc, frame one with a graphic that blocks
out the counter, frame 2 with no graphic, and place this in a higher layer,
just over the counter. Then use your tiny button to toggle the "masking"
mc between "conceal" and "reveal."
Marc Hoffman
marcdartfrogmedia [dot] com (mailto:marcdartfrogmedia [dot] com)
Flash3 Portfolio: <http://www.dartfrogmedia.com/sampler>, featured
in Flash 3 Web Animation, by Ken Milburn.
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
FLASH: counter technique using a mask, Perry Steve
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]