Search code examples
apache-flextextareaflex4scrollbarflex-spark

Spark textarea with different slider


I am rather new to Flex and have a problem with a scrollbar for a textarea. Basically, I would want the textarea to have a vertical scrollbar that looks like the VSlider component, not like a VSrollBar. (I.e. a line with a dot tracker, not a box with a box tracker).

Now I figured out how I could make a textarea with no scrollbars and link it to a seperate VSlider component and update via events, but I am pretty sure there should be some way to use only the textarea and set its scrollbar component to look like the VSlider instead of the VScrollBar.

Can anyone help?


Solution

  • For this case, I ended up using a VSlider, which I "manually" synced with the textarea scrolling via event listenered. Not the most smooth way, but easiest to implement in this case.