Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6105481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:58:38+00:00 2026-05-23T13:58:38+00:00

I have a rich text component with large amount of text. How to add

  • 0

I have a rich text component with large amount of text. How to add vertical scrollbar to it?

I tried:

<mx:Canvas width="100%" height="100%" verticalScrollBar="vsb">
    <s:RichText id="text" width="100%" height="100%" maxDisplayedLines="-1"/>
</mx:Canvas>
<s:VScrollBar id="vsb" height="100%"/>

But it get error: Initializer for ‘verticalScrollBar’: values of type mx.controls.scrollClasses.ScrollBar cannot be represented in text.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:58:39+00:00Added an answer on May 23, 2026 at 1:58 pm

    Reading the docs on RichText, I see this:

    For performance reasons, it does not
    support scrolling, selection, editing,
    clickable hyperlinks, or images loaded
    from URLs. If you need those
    capabilities, please see the
    RichEditableText class.

    So, going with a RichEditableText (and setting its editable property to false, this works for me with FlashBuilder 4.5. Note: I set the Scroller height to 200 and added lots of text to force a scrollbar to appear)

    <mx:Canvas width="100%" height="100%">  
        <s:Scroller width="100%" height="200">
           <s:RichEditableText percentWidth="100" percentHeight="100" editable="false">
          <!-- add lots of text here to introduce a scrollbar -->       
           </s:RichEditableText>
        </s:Scroller>
    </mx:Canvas>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to toggle rich text formatting in NSTextView. I have tried following: [contentView
I have problem with implementing Rich Text Editor (all that i tried, e.g. TinyMCE).
I have a rich text box that is being updated with log information. There
In my iPad app, I have created a rich text editor i.e some rich
I have a service which takes the user supplied rich text (can have HTML
I have a simple page. One Rich Text Box bound to a test table
I have a NSTextView , which may contains rich text or rich text with
The project I am working on has a rich text box that can have
I am trying to create a rich text editor. I have created some buttons
as you know the Mail app in iOS 5 have a rich text editor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.