Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-08-2012, 09:50 PM   #1
Join Date: Oct 2008
Posts: 66
Default [AS3] Textarea not scrolling horizontal


textArea problem with images. Is there a way to force a horizontal scroll width?


I have a SWF that loads an image into a testArea. I am finding that textAreas are not good for images.

Anyway, the image url is passed to the SWF by an IMG tag from an HTML page.

Tha image shows up but the textArea does not recognize the size of the image so scrolling is not enabled. I have tried to force the scroll policy on, which only shows a 'holder' of the scroll bar but you can not scroll.

I tricked the vertical scroll on by adding a bunch of break code (br). This allows the user to scroll up and down.

My question is, is there a way to trick the textArea into thinking that it is wide and needs to scroll horizontally?

I've tried padding but I might be doing something wrong there, or it might simply not work. I've tried a few things like textWidth but they are read only.

I am going crazy with this problem!
m2244 is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:43 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.