The 2.6 Masking tutorial

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
crowley
Posts: 15
Joined: Mon May 17, 2010 2:35 am
Location: australia

The 2.6 Masking tutorial

Post by crowley »

Beginner using AS 6 Debut- coming from Flash Mx

from the manual - the final step - add the wall layer to the mask

it does nothing more and isnt needed. (---???)

I know it's supposed to confine the masking to the wall region - but that is already happening before making that masking adjustment to the wall layer. When I render it does anyway.

I read the post Masking Explained - which makes perfect sense coming from flash - the whole black/and white thing is redundant as it only applies to pshopheads.

I duplicated the sample file and deleted the Masking Group - replaced it with a bone layer and it works exactly as the guy of the post said.

I created file from ground up to imitate the sample file

Bottom layer - a background

2nd from Bottom layer - wall shape

3rd from bottom layer - circle (for spotlight 1)

4th from Bottom layer - - circle (for spotlight 2)

Top layer - a Bone layer - dumped layers 2,3 and 4 into the bone layer...

it worked perfectly - but no need to Add to the mask for the 2nd Wall layer.

I am presuming the addition of a gradient (thats a fill to alpha (same as flash)- NOT a fill of one color to another) png for mask will also work perfectly as per the poster's instructions and will try tonight.

From my results last nite I am tending to think that it's the relationship of the layers that is crucial - the bottom background layer and the lowest layer of the Mask/Bone group layer.

emulating the Mask/masked relationship in flash?
training wheels attached
User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

Hello there, might give a better idea if you post the file, assuming you havnt figured it out yet! :)

G
User avatar
dueyftw
Posts: 2184
Joined: Thu Sep 14, 2006 10:32 am
Location: kingston NY
Contact:

Post by dueyftw »

Rule #1 Forget everything you know about masking in Flash.

Masking works with groups or bones.

To get an mask you need to change the setting of the group or bone layer to "reveal all or hide all'

The mask starts at the lowest layer.

-Group layer (change to reveal all or hide all)
------layer 3
------layer 2
------layer 1 (you need to change the setting on this layer to one of the options that is below "Don't mask this layer")

from this try every combination and see what effect you get.

The mask start from the lower layer and works its way up.

Dale
Post Reply