Comunidad de diseño web y desarrollo en internet online

Ayuda con FLEX --- TextInput

Citar            
MensajeEscrito el 16 Feb 2010 01:17 am
Al ingresar 2 valores en dos TextInput
COmo se puede hacer que se Multimpliquen automaticamente sin presionar ningun BOTON ...

Nesesito un ejemplo porfavor


Gracias por responder

Por shinodax

41 de clabLevel



 

firefox
Citar            
MensajeEscrito el 16 Feb 2010 02:47 am
LA CLAVE TAG BINDABLE ESO ES TODO VIEJO

Código :

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
   width="236" height="188" viewSourceURL="../files/JSTutorial.mxml">
  <mx:Script>
   <![CDATA[
     [Bindable]
     private var ourLabelText:String = "Initial Value";
     
     private function changeVariable():void
     {
       ourLabelText = "Changed Value";
     }
   ]]>
 </mx:Script>
  <mx:Panel x="10" y="10" width="216" height="168"
     layout="absolute" title="Binding to Text Property">
    <mx:Label x="10" y="45" id="lblOutput" text="{ourLabelText}"/>
    <mx:Button x="10" y="15" label="Change Variable"
       id="butChangeTxt" click="{changeVariable()}"/>
  </mx:Panel>
</mx:Application>

Por xcom

Claber

530 de clabLevel



 

firefox
Citar            
MensajeEscrito el 16 Feb 2010 04:50 pm
comooo¿?¿?, parece que te equibocaste de posteoo

Por shinodax

41 de clabLevel



 

firefox
Citar            
MensajeEscrito el 16 Feb 2010 10:23 pm
puedes crear un flag o timer , en el momento asignarle un tiempo o una variable , cuando termine dicho tiempo gatillas
la funcion que haga que se multipliquen

Por xcom

Claber

530 de clabLevel



 

firefox

 

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