Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

fun with images

momills1
Level 1
Level 1
I'm writing an IT knowledge base article for the company.
Everything working well so far, using a flex front end, and a
java/mysql backend with blazeds somewhere in the middle.



wanting to allow the users to insert images into the
articles, perhaps with a rich text editor. as far as i can tell the
RichTextEditor object doesn't allow images. Been googling this for
hours, not much help. I did find one commercial product, but I
don't think the company will pay for it.



I wanted to avoid using PHP, but it seems my best option
would be to have PHP controlling the uploads, and then maybe have
something rather ugly putting in HTML code for images into the text
fields, althogh I'm not sure that i can even get that to display
right...



any thoughts/suggestions greatly appreciated.



thanks.
2 Replies
Karl_Sigiscar_1
Level 2
Level 2


Use the <mx:TextArea> component with the htmlText
property.



It displays <img> tags.

momills1
Level 1
Level 1
yep that's done the trick... but the text is wrapping around
the images. any way to force the images onto their own line with no
text next to them (they're potentially screenshots, so they'll take
up most of the width of the textarea).



thanks!