|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
if yes is there any special step to follow ? . i wasnt able to mask a motion guided layer thats why am asking if this is possible .
thank you |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
You can do it thru AS with setMask
|
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
hi am pretty new to flash specially to AS can you please tell me how step by step . thank you
|
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
AS2 or AS3?
|
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
most of my animations and buttons are in AS2 so i guess AS2
btw sorry but i got sick thats why am replying your message now |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
It is simple in AS2 to do. The only requirement is that the thing that is being
guided by the motion path must be a movie clip and the thing you are using for a mask must also be a movie clip. It is not even important that the mask be in a higher layer than the thing in motion. 1) For the thing you want to mask, make sure it is in a layer all by itself. Make it a movieclip and give it an instance name. I'll call it "myclip". 2) Make another layer in the timeline for the mask and make the graphic you have for your mask into a movieclip and give it an instance name. I'll call it "mymask". Make sure the mask layer frames extend to cover all the frames of motion so that both the clip being masked and the mask clip both exist at the same time all the time. 3) Now on the timeline (preferrably in a new layer) place this actionscript: myclip.setMask(mymask); If you need to mask multiple layers and want to use the same mask, simply make another copy of your mask and give it a different instance name. One mask cannot be used to mask two different things in AS. |
|
![]() |
| Outils de la discussion | |
|
|