PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.flash > can you mask a motion guide layer
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
can you mask a motion guide layer

Réponse
 
LinkBack Outils de la discussion
Vieux 05/04/2008, 07h16   #1
lumija79
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut can you mask a motion guide layer

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
  Réponse avec citation
Vieux 05/04/2008, 08h56   #2
rlc5611
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can you mask a motion guide layer

You can do it thru AS with setMask
  Réponse avec citation
Vieux 05/04/2008, 19h33   #3
lumija79
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can you mask a motion guide layer

hi am pretty new to flash specially to AS can you please tell me how step by step . thank you
  Réponse avec citation
Vieux 06/04/2008, 11h34   #4
rlc5611
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can you mask a motion guide layer

AS2 or AS3?
  Réponse avec citation
Vieux 09/04/2008, 22h53   #5
lumija79
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can you mask a motion guide layer

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
  Réponse avec citation
Vieux 11/04/2008, 04h09   #6
rlc5611
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: can you mask a motion guide layer

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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h30.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11430 seconds with 14 queries