este es un boton que al hacerle rollover alarga un subrayado..para subrayar la palabra en la que se esta haciendo el rollOver, y que al hacerle el rollOut se unsubraya..
 
rollOver= incrementa el valor de x(width) hasta 'J' tamaño, donde J=un valor maximo
 
rollOut= decrementa el valor de x(width) hasta Cero
 
CODE:
 on(rollOver){
 onEnterFrame = function() {
 this.clip._width+=10; 
 if (this.clip._width>=J)
   delete onEnterFrame;
 };
}
 on(rollOut){
 onEnterFrame = function() {
 this.clip._width-=10;
 if (this.clip._width==0)
   delete onEnterFrame;
 };
}
END CODE.
 
duda:
como condiciono que si se presiona el boton el valor de x se incrementre hasta 'J' tamaño..y que los rollOver, rollOut se desactiven..
 
YO SUPONGO ALGO ASI:
 
if(presionas este boton){
  onEnterFrame = function() {
 this.clip._width+=10; 
 if (this.clip._width>=J)
   delete onEnterFrame;
 };
}
 
 else{
 on(rollOver){
 onEnterFrame = function() {
 this.clip._width+=10; 
 if (this.clip._width>=J)
   delete onEnterFrame;
 };
}
 on(rollOut){
 onEnterFrame = function() {
 this.clip._width-=10;
 if (this.clip._width==0)
   delete onEnterFrame;
 };
}
 
 Pero evidentemente no se aplicar correntamente la programacion en la parte de presionas este boton..cual es el codigo DaVinci?
 
cualquier sugerencia, bien recibida. gracias.
nota: es un boton, y la programacion se la aplico directamente al boton. 
   
 
 No Encuentro el Codigo DaVinci...
 No Encuentro el Codigo DaVinci... 


