hi,
i got myText (TextField) and a button that does :
the problem is that this code return "undefined". why is that?Code:on (release)
{
trace(myText.enabled);
}
Printable View
hi,
i got myText (TextField) and a button that does :
the problem is that this code return "undefined". why is that?Code:on (release)
{
trace(myText.enabled);
}
You didn't set myText.enabled to true or false.
so trace(myText.enabled) is looking for a value that doesn't exist.
make a new frame layer called actions. and put:
orCode:myText.enabled = true;
Code:myText.enabled = false;
hope that helps.
wyl_m
welp, it did help but now i got other problem
(the problem i started with...)
how can i make that the user can't mark the text with the mouse and do Copy/Paste?!
TextField.selectable=false;
Or uncheck the selectable box (looks like: Ab) in the Properties panel...
K.
thanks!!:p