Copy link to clipboard
Copied
The scroll policy for the textArea component appears to be "auto", and that works just fine.
However, I want to be able to turn it off in certain situations, i.e., not have the scroll bar appear.
I do the following which I thought would turn it off but the scroll bar still shows up.
Any help would be appreciated.
Code Snippet:
myTF = new TextFormat("Arial", 10, 0xFFFFFF,false);
myText_mc.myTextArea.setStyle("textFormat", myTF);
myText_mc.myTextArea.verticalScrollPolicy = "OFF";
myText_mc.myTextArea.horizontalScrollPolicy = "OFF";
Thanks,
Vivian
should be all lower case
myText_mc.myTextArea.verticalScrollPolicy = "off";
Copy link to clipboard
Copied
should be all lower case
myText_mc.myTextArea.verticalScrollPolicy = "off";
Copy link to clipboard
Copied
How many times has that caught me... thanks...
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more