8/31/2010 12:29:49 AM
Title:
get textbox value
I am writing an AIR application in Dreamweaver.
I am having a textbox in html(initial content).
I want to get the value in that textbox in my Air code.
How to do that?
Please Help.
Kiney
Points: 600
Posts:0
8/31/2010 3:25:15 AM
for any flash based application running in web browser environment you can use the externalInterface class to communicate. Using this call you can call javascript which can get the value of textbox and return it to you. So you write a javascript function inside html page which gets the textbox value. You can call that function from flash and get the value as return
8/31/2010 12:08:01 PM
you cannot get the value directly in flash from html. Use javascript and flash combination. Javascript can read html value and send to flash.