Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-26-2003, 11:39 PM   #1
Senior Member
Join Date: Oct 2003
Location: north carolina
Posts: 472
Default textfield.type

hello; I have a textfield which has an initial type of "dynamic"; a button is provided for the user to onPress if the user wishes to edit the textfield:
button.onPress = function()
{ textfield_instance.type = "input";
the textfield_instance.type does indeed get changed to "input" however the textfield does not become receptive to the cursor, and thus the textfield_instance is not editable by the user;
the textfield_instance does have selectable=true;
any thoughts on why this does not work?
Shannon Burnett
dsdsdsdsd is offline   Reply With Quote
Old 11-27-2003, 12:01 AM   #2
Banned by AS.org Staff
Join Date: Mar 2002
Posts: 10,533

ActionScript Code:
my_btn.onRelease = function() { my_text.type = "input"; my_text.selectable = true; };

Works fine!
oldnewbie is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:29 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.