Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Mask spots. |
From: | John Croteau |
Date: | Mon, 18 Oct 1999 02:24:57 +0100 |
Hi Pablo,
> I would like to know whether it's possible to make the following:
> - create a layer with an image in it (i.e.: a square)
> - create a black layer mask with a transparent circle as a spot
> - MOVE the circle MYSELF in order to search for the square, as if it
> was a light reflector at night.
Yes...
> I have tried to, but I only have achieved to make an animation where I
> order the spot to follow a way around the screen, but I haven't gotten
> to make the spot shift around by the movement of the user's cursor.
A drag and drop movie clip will not work in a Mask layer, so you need to
do a work around.
You need to put the Drag button, Mask and masked layer all in the same
Drag and Drop Movie Clip. The masked layer needs to be a movie clip.
Then you need to track the X and Y positions of the main drag movie
clip. Then apply the opposite of those changes to the Masked layer MC.
The movement will be a little jerky because the Masked layer MC will
always be moved in the opposite direction to catch up with its parent
MC.
--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Mask spots., Pablo Campoy
Replies
FLASH: Mask spots., Pablo Campoy
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]