Code: Select all
prompt = new TextField();
prompt.type = "input";
prompt.text = "12";
prompt.multiline = false;
prompt.border = true;
prompt.background = true;
prompt.selectable = true;
prompt.height = 20;
prompt.addEventListener("keyDown", keyHandler);
prompt.x = 190;
prompt.y = 150;
Code: Select all
_root.obj = new Object();
_root.obj.set_TextBoxValue = function(txt: String) {
// set textbox value
}
_root.obj.get_TextBoxValue = function():String {
return ... ;
}
_root.addProperty("TextBoxValue", _root.obj.get_TextBoxValue, _root.obj.set_TextBoxValue);
Code: Select all
FlashPlayerControl1.SetVariable("TextBoxValue", "123");
kredisov wrote:it is my mistake
I didn't explain exactly what I want
I can't input value not using a Delphi code, only with keyboard input in running application
Is it clear?
kredisov wrote:yes I can't edit nothing
kredisov wrote:ok, check mail.
kredisov wrote:... and try to set Transparent checkbox to True - you'll couldn't edit textbox
Return to “Delphi / Builder / VCL Edition”
Users browsing this forum: No registered users and 11 guests