Hello,
is there any event dispatched in HTMLLoader class when any of the input text field is beeing selected inside the HTML? If yes how to track not onlyt the Event but the input field also?
any ideas?
Printable View
Hello,
is there any event dispatched in HTMLLoader class when any of the input text field is beeing selected inside the HTML? If yes how to track not onlyt the Event but the input field also?
any ideas?
There are several events, one of them is COMPLETE. Check the AS3 language references
http://help.adobe.com/en_US/FlashPla...?filter_flex=4
With some help i've found a solution for what i needed:
This is the function onLoadComplete function:
Actionscript Code:var inputs = this.htmlMC.window.document.getElementsByTagName ( 'input' );
var length : uint = inputs.length;
for ( var i : uint = 0; i < length; ++i )
{
var inp : Object = inputs[i].addEventListener ( 'focus', this.onInputFocus);
}
Gut! Ich bin uebrigens original Dortmunder :)