Comunidad de diseño web y desarrollo en internet online

Uso de showEffect y hideEffect

Citar            
MensajeEscrito el 20 Sep 2007 05:54 pm
Hola
tengo este componente mxml y estoy tratando de darle un efecto al label cuando aparece pero no me funciona .. que estoy haciendo mal en el codigo.

Código :

<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="230" height="30" backgroundColor="#DDCCA7" borderStyle="solid" borderColor="#080707">
   <mx:WipeUp id="WipeOut" duration="5000" />

   <mx:TextInput x="177" y="5" width="47" height="19.5" />
   <mx:Label showEffect="{ WipeOut }" x="15" y="6" width="154" height="18" id="unit_name_prod"/>
</mx:Canvas>


saludos^^

Por Zandy

Claber

1345 de clabLevel

5 tutoriales

Genero:Masculino   Premio_Secretos

firefox
Citar            
MensajeEscrito el 20 Sep 2007 06:08 pm
Tal como está, para verlo deberías usar el creationCompleteEffect, en vez de showEffect.

Por Zah

BOFH

4290 de clabLevel

27 tutoriales
5 articulos

  Bastard Operators From Hell Editores

Zaragoza, España

firefox
Citar            
MensajeEscrito el 20 Sep 2007 08:25 pm
funciono perfecto, gracias Zah. ^^

Por Zandy

Claber

1345 de clabLevel

5 tutoriales

Genero:Masculino   Premio_Secretos

firefox

 

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