Definitely look at Aral Balkan's excellent Flex 2 Quick Start series on Adobe.com:

http://www.adobe.com/devnet/flex/index.html?tab:quickstart=1

In particular, his tutorials on data binding should help you out immensely.

Regards,
Dave.

On 10/8/06, Ben Lucyk < [EMAIL PROTECTED]> wrote:

Hi Christopher,

 

The easiest way to accomplish what you want in your simple example is to use databinding.

 

            <mx:TextInput id="input1" text="5" />

            <mx:TextInput id="input2" text="6" />

            <mx:TextInput id="input3" text="{ Number(input1.text) + Number(input2.text) }" />

 

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href="">

 

 

Regards,

Ben Lucyk
http://esria.com  
p 1.877.TRY.ESRIA ext 718
c 1.408.489.3913
f  1.877.828.4436

[EMAIL PROTECTED]

 

 

 

 

 

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Christopher
Sent: Sunday, October 08, 2006 11:18 AM
To: [email protected]
Subject: [flexcoders] Some Tutorials...

 

I'm looking to find some fairly simple tutorials that focus on taking
information from form elements and putting them into variables,
maniplating them and then bring them manipluated new variable out to a
datagrid. I'm having a hard time finding the documentation that talks
about moving data from form elements into variables and then back out
again. Can anybody point me in the right direction?

Thanks

ps.

ex/

input 1 - 5
input 2 - 6

var 1
var two = input 2
var three = (one + two)

show var three (which would = 11)


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to