Comunidad de diseño web y desarrollo en internet online

ayuda simple sobre "rotation"

Citar            
MensajeEscrito el 23 Ene 2006 06:50 pm
Soy nuevo..bla..bla... Grax x sus respuestas.
un restangulo= clip abc..quiero q rote antihorario, al llegar a una posicion se detenga y sea horario el giro
le di esto al clip.

onClipEvent(enterFrame){
_root.abc._rotation -=20;
if(_root.abc._x >10){
_root.abc._x= 10;
_root.abc._rotation +=20;
}
}

gracias...saludos a todos!!

Por javvvierr

5 de clabLevel



Genero:Masculino  

msie
Citar            
MensajeEscrito el 23 Ene 2006 07:09 pm
y cual es el problema? No gira? si gira pero no como tu quieres?

elabora un poco mas tus preguntas por favor, de paso Bienvenido al Foro, revisa las reglas(link en mi firma) y la guia para obtener ayuda efectiva(en mi firma tambien)

PD: revisa si el clip tiene nombre de instancia abc :wink:

Por Prozac

SWAT Team

1546 de clabLevel

1 tutorial

Genero:Masculino   SWAT

donde se regresa el viento

firefox
Citar            
MensajeEscrito el 23 Ene 2006 07:59 pm

Código :

onClipEvent(load){
variable=20;
}
onClipEvent(enterFrame){
this._rotation+=variable;
if(this._rotation >10){
variable*=-1;
}
} 

esa es la idea, no probado

Xaludos ^^

Por FeNtO

BOFH

5091 de clabLevel

18 tutoriales

1 ejemplo

  Bastard Operators From Hell

FeNtO DataCenter

clabbrowser
Citar            
MensajeEscrito el 24 Ene 2006 07:15 am
Grx Fento, era lo q qeria, me capto ;)
...amable su bienvenida pRoxak

saludos!

Por javvvierr

5 de clabLevel



Genero:Masculino  

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.