Movimentar MC's por action
estou trabalhando em um esquema assim de rotulos --> http://www.adobe.com/br/creativefreedom/
Ja fiz os rotulos vindo para frente determinando os níveis deles com o ( swapDepths ) e agora esotu querendo fazer o movimento da posição dos rotulos q ficam atraz quando eu passo o mouse em cima de cada um.. Estou usando 4 rotulos.. então seriam 4 moviementos diferente.. mas qual seria a melhor maneira para eu fazer isso.. eu estava pensando em fz a interpolação de moviemnto por action no mesmo onrollover q eu usei o Depth... dai eu teria q usar posições né x e y.. estou meio confuso como e o que devo usar para isso.. Gostaria se possivel alguma luz.. obrigado.
Meu action esta assim.. ( queria enclementar esse esquema de x e y ai tudo junto.. nesse mesmo action... )
// BOTÃO 1 !!
btn1.onRollOver = function () {btn1.swapDepths(this.getNextHighestDepth());btn1.gotoAndPlay(2);_root.gotoAndStop(2);}btn1.onRollOut = function () {btn1.gotoAndPlay(5);_root.rotulo2.gotoAndPlay(6);}
// BOTÃO 2 !!
btn2.onRollOver = function () {btn2.swapDepths(this.getNextHighestDepth())btn2.gotoAndPlay(2);}btn2.onRollOut = function () {btn2.gotoAndPlay(5);}
// BOTÃO 3 !!
btn3.onRollOver = function () {btn3.swapDepths(this.getNextHighestDepth())btn3.gotoAndPlay(2);}btn3.onRollOut = function () {btn3.gotoAndPlay(5);}
//BOTÃO 4 !!
btn4.onRollOver = function () {btn4.swapDepths(this.getNextHighestDepth()) btn4.gotoAndPlay(2);}btn4.onRollOut = function () {btn4.gotoAndPlay(5);}
Discussão (4)
Carregando comentários...