Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 07:42
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flex, Air, FlashBuilder, Catalyst (Moderators: ..:: Mazhar Hasan ::.., kofi addaquay)
| | |-+  RichTextEditor Problem T.T
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: RichTextEditor Problem T.T  (Read 1136 times)
hinomotoblade
Seasoned Programmer
***
Posts: 131


Flash Never Die :D


View Profile
« on: 01/24/10, 19:35 »

Hello i got some strange again here..

Look in my RichTextEditor:



The problem are

1. When i write so many text there, it seems the RichText Control bar covered my text.. Sad
    whereas i didnt make any CSS for my richTextEditor..
2. Look in the right side, the font style and align didnt same with the richTextEditor Field
    How to make that same?.. i just want to output the RichTExtEditor to the TextArea or whatever..

Please help me.. Cheesy
Thank you very much really thank you Smiley
« Last Edit: 01/24/10, 19:58 by hinomotoblade » Logged

Huihihi~ Cheesy
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #1 on: 01/25/10, 00:04 »

how do you assign the values to the text area?

Do you use the text attribute, or rather the htmlText? Wink
This might be the difference.
Logged

happy flashing
Cool
Ronald
hinomotoblade
Seasoned Programmer
***
Posts: 131


Flash Never Die :D


View Profile
« Reply #2 on: 01/25/10, 07:13 »

Thank you Cheesy

I will try that Smiley

Again thank you Ronald Smiley
Still confused about the display in flex.. T.T

Sometimes worked sometimes nope huhuh..
Logged

Huihihi~ Cheesy
hinomotoblade
Seasoned Programmer
***
Posts: 131


Flash Never Die :D


View Profile
« Reply #3 on: 01/25/10, 08:54 »

Wew its done Ronald Thank you.. Smiley

Finally about the CSS problem in my RichTextEditor i made that fully changed T.T

btw about htmlText property, I found that I got a giant left indent on the first line and
unexpected line breaks in the TextArea (with a giant indent again) when I used
it, whether I included any markup in the property or not.  If I use the inline
htmlText attribute, everything works fine.

Why is there a difference, and has anyone found a workaround?  I tried setting
XML.ignoreWhitespace, XML.prettyIndent, etc., but nothing helped. Sad

Thank you Smiley
« Last Edit: 01/25/10, 09:35 by hinomotoblade » Logged

Huihihi~ Cheesy
hinomotoblade
Seasoned Programmer
***
Posts: 131


Flash Never Die :D


View Profile
« Reply #4 on: 01/27/10, 04:48 »

I want to use htmlText to make more interaktive text Cheesy
,but I found that I got a giant left indent on the first line and
unexpected line breaks in the TextArea (with a giant indent again) when I used
it, whether I included any markup in the property or not.  If I use the inline
htmlText attribute, everything works fine.

Why is there a difference, and has anyone found a workaround?  I tried setting
XML.ignoreWhitespace, XML.prettyIndent, etc., but nothing helped. Sad
Logged

Huihihi~ Cheesy
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #5 on: 01/27/10, 08:53 »

look into CSS-Styling Wink
Allways use the htlmText attribute to exchange values, when you want to keep the format.
Logged

happy flashing
Cool
Ronald
hinomotoblade
Seasoned Programmer
***
Posts: 131


Flash Never Die :D


View Profile
« Reply #6 on: 01/27/10, 09:45 »

Thank you Smiley

Thats worked well,

but when i tried to fill that directly like this

Code:
<mx:htmlText>
<![CDATA[
<font color='#0000FF'>This is some Text</font>
]]>
</mx:htmlText>

or just

Code:
<mx:htmlText>
<![CDATA[
This is some Text
]]>
</mx:htmlText>

It always make really big left indent / spacing, wheras i dont make any CSS for that, then i have chane the align to left, when i tried to input that by button or whataver that worked, but when i fill that directly thats didnt worked well Smiley
Logged

Huihihi~ Cheesy
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #7 on: 01/27/10, 10:43 »

I usualy use ActionScript for assigning.
XHTML seams to have some glitches Wink
Logged

happy flashing
Cool
Ronald
hinomotoblade
Seasoned Programmer
***
Posts: 131


Flash Never Die :D


View Profile
« Reply #8 on: 01/27/10, 11:10 »

Ouwh Great.. Smiley

Thank you Ronald Cheesy

hehe forgot that we can use AS for that.. Tongue
Logged

Huihihi~ Cheesy
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!