Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

TextArea component scrollpolicy being ignored

Guest
Nov 20, 2009 Nov 20, 2009

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

TOPICS
ActionScript
543
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Nov 20, 2009 Nov 20, 2009

should be all lower case

  myText_mc.myTextArea.verticalScrollPolicy = "off";

Translate
Advocate ,
Nov 20, 2009 Nov 20, 2009

should be all lower case

  myText_mc.myTextArea.verticalScrollPolicy = "off";

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 20, 2009 Nov 20, 2009
LATEST

How many times has that caught me... thanks...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines