ActionScript 3.0 :: RichTextEditor.TextArea BackgroundColor Broken In Flex 4?

Aug 3, 2011

I have a simple application which uses a RichTextEditor with a colored background, like so:
 
[code]...
 
This works fine when I compile against Flex 3.5.0, but in Flex 4.0 and 4.5, the background color remains white. I've tried setting it before the text, after the text, before and after it is added to the stage - even every single frame with an EnterFrame handler. Nothing - it just stays white.
 
Has anyone else encountered this and does anyone have a workaround? I don't really want to switch to a Spark component if I can help it, and I can't downgrade the whole application to 3.5.

View 1 Replies


Similar Posts:


Actionscript 3 :: Change Backgroundcolor On TextArea From External CSS?

Feb 17, 2012

Im trying to change the background color on my textarea from an external css.I can change the color of the buttons so the style sheet is working. But I cant seem to ad the class into the text area.[code]...

View 2 Replies

Flex :: Get HTML Text From Adobe Flex Builder RichTextEditor?

Jan 29, 2010

How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component Not Badly formated HTML, with no spaces, with tags not closed! So we have some text edited with RTE a-la

View 2 Replies

Flex :: Set The A Background Image Of A RichTextEditor?

Apr 11, 2011

I have tried setting the background image this way, but it doesn't work. how to set the background image of a rich text control in flex as easy as possible?

.rte{
...
backgroundImage: "assets/globe.jpg";
}

[Code].....

View 3 Replies

Flex :: Simple RichTextEditor Alternative For It?

Apr 20, 2011

Does anyone know a good alternative to the RichTextEditor component in flex?

View 2 Replies

Flash :: Add Images Into Adobe Flex RichTextEditor?

Jan 29, 2010

How to add images into Adobe Flex RichTextEditor control? I mean using a button =)

So we have some text editor with RTE a-la

We want to get into its content images using some button. How to do such thing?

BTW: I found this [URL] but I really do not understand how to make it work so if any one can publish simple project with simple (DIRTY IS OK) source it would be grate!)))

View 1 Replies

Flex :: RichTextEditor Insert Image Functionality?

Aug 30, 2010

How can I make it so that the RichTextEditor from Flex can add images? I'm not talking about the upload process, but rather then way I can insert images into the textarea.

View 1 Replies

Flex :: Set Richtexteditor's Default Font-size?

Sep 2, 2010

I just want to lock or set a default font size for the rich text editor. I tried setting font-size = 16, which although it did set the default to 16, also made all the labels etc... in the editor to font size 16.

View 1 Replies

Flex :: Avoid The Behavior Of Set HtmlText In RichTextEditor?

Feb 21, 2011

I'm having this problem of adding an image to the textArea in RichTextEditor (RTE) on the fly and this image seems to "reset" the html properties of the textArea.
Better explained:

The user starts writing something in the TextArea (with Verdana in size:12 font settings). When he adds an image to the text area, the cursor right after the image gets very small and the font settings are reset to HUM777B in size:2.

How could I avoid this behavior?

It seems Flex adds additional HTML code before the image tag. If there was any way to avoid this I would be able to add my own settings to the tags.

View 1 Replies

Flex :: Adding A RichTextEditor To PopUpManager Seems To Be Very Slow?

Jul 13, 2011

As the topic states, using a Rich Text Editor with a PopUpManager makes typing slow. If you try it in Firefox/Mac, it is painful. Chrome/Mac is a little slower as well. Are there any known issues with the PopUpManager and performance that can be addressed easily?

View 1 Replies

Css :: Flex 4.5 Application BackgroundColor Won't Go Black

Oct 27, 2011

I have a Flex 4.5 mobile app, I'm trying to set the backgroundColor to black, aka 0x000000 at runtime.It won't go black, in fact, it will go any other color but black.[code]Just as some extra info, I have my original Application backgroundColor #333333 set in a .css file and in the MXML Application node.

View 1 Replies

Flex :: Richtexteditor - Does Not Handle Line Breaks In HtmlText?

Jun 28, 2011

I store the htmlText property of a RichTextEditor in the database.I retrieve it in another instance and I want to show the user the first line of it as plain textSo I let Flex handle the conversion by using a function like this

var editor:TextField = new TextField();
editor.htmlText = htmlTextFromDb;
var converted:String = editor.text;

[code].....

View 1 Replies

Flex :: Flex - LineChart Broken Line With DateTimeAxis?

Apr 12, 2011

I have a LineChart with a DateTimeAxis as horizontalAxis and a maximum set. If a point is beyond the maximum date, the whole segment will not appear. Yet, is there a way to make it appear until it reachs the border of the chart?The code here :

<?xml version="1.0"?>
<!-- Simple example to demonstrate the DateTimeAxis class. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].....

View 1 Replies

Flex :: After Exporting A Project, The Images Are Broken?

Oct 21, 2011

After completing building a flex project in Flash Builder 4.5, the project was exported using the File -> Export Flash Builder Project. After which some of the images stopped working (get the broken image icon).

View 2 Replies

Actionscript 3 :: Flex Broken Spark Image?

Feb 6, 2012

On my air application, I try to load image like this:

var imAc:Image=new Image();
imAc.source=rootFile+value+"-V-"+label+".png";

Sometimes, image source doesn't exist. In this case, broken icon appear but if this error appear I'd like to change image source

[Code]...

View 2 Replies

Flex :: Configure A Fallback Image That Will Be Shown When Link Is Broken?

Aug 11, 2010

I'm using flex 4.1 to write an application and I was wondering how can I configure that whenever I try to load an image and the link is broken it will show a different image that i have embedded into my application.

View 2 Replies

ActionScript 3.0 :: Make The Text In A Textarea Go Until The Length Of The Textarea?

Nov 3, 2009

A little much put in the title, but my question is just that. I have the following AS3 code for my textarea...

addChild(Texta1);
Texta1.alpha = 0;
Texta1.blendMode = BlendMode.LAYER;

[Code].....

Unfortunately, when I start placing text in this text area. Either through code or user input, the text will be placed on a new line after about 80-100 pixels. Yet I want it to start a new line after 320 pixels (it's length).

View 0 Replies

Actionscript 3 :: Implement RichTextEditor In Flash?

May 17, 2011

I'm looking at this example: and for the life of me I don't see how to utilize this in Flash. I don't want to build a Flex app... I want to implement this object in my Flash code. But I'm not having any luck importing mx.controls or getting an instance of this component. It's not in my component's library, either.Is there some lib I'm missing? Or am I just attempting the impossible here?

View 2 Replies

Actionscript 3 :: Add Control Button On RichTextEditor?

Jan 11, 2012

I'd like to custom RichTextEditor with adding a new button on control bar. But, I don't found how to do that.

View 1 Replies

Flex :: Prevent Copying Style From One Flex TextArea To Another?

Nov 3, 2009

If you have two text areas with different styles (fontFamily, weight, color etc) and you copy text from one to the other it also copies the style from the originating text area. Is there any slick way to prevent that?

Here is a sample of code that will illustrate the problem. Type some text in the top box and some text in the bottom, then copy some characters from the top box to the bottom. I'm not using htmltext.[code]...

View 2 Replies

ActionScript 1/2 :: Set The Backgroundcolor Of A Datagridcolumn

May 11, 2010

Can somebody share an example on how to set the backgroundcolor of a datagridcolumn (dynamically)?

View 3 Replies

ActionScript 3.0 :: How To Set Scrollpane BackgroundColor

Jun 29, 2009

how to set the scrollpane's background color in AS3 with CS4?You can't seem to use _Globals, setStyle,and opaqueBackground doesn't seem to work
effectively.

View 0 Replies

Actionscript 3 :: Change RichTexteditor Background Color?

Feb 17, 2012

I am using Flex 4.5, and i am trying to change the back ground color of richtexteditor but i am not able to do so in flex 4.5 but its working fine in flex 3.

View 1 Replies

ActionScript 3.0 :: Setting BackgroundColor Of A TextInput?

Feb 9, 2009

I've already tried a lot, but there was no way I could change the color of my textInput. Adobe Livedocs couldn't help me and there was no working piece of code I could find in other messageboards.

These things haven't work for me:

myTextInput.setStyle("backgroundColor", 0xFFF00);
--
myTextInput.setstyle("backgroundColor", Number(0xFFF00));
--
myTextInput.setstyle("backgroundColor", "#FFF00");

Do I have to do something about the border of the textInput. Or about the "background"-Property (if it still exists for AS3)??

View 9 Replies

ActionScript 3.0 :: Changing List BackgroundColor?

Apr 26, 2009

That's really all I want to do. Why is something like this so complicated? When you go into Component edit mode, you can easily change the highlight colors. Then why make it impossible to change the actual ground color? Why should I have to scour the internet to find complex code just to change the color? Sorry, it's just frustrating.Anyway, if setStyle("backgroundColor", 0xCCCCCC); ... was all I needed to do that would be fine, but that doesn't work.Even if it's not possible, I would accept text rollOverColor, or hover... nothing.I think there should be a drop down color box in the component editing window at the very lest.

View 3 Replies

Actionscript 3.0 :: Possible To Make Listbox BackgroundColor?

Apr 20, 2009

I searched and didn't find quite the right solution. Please bare with me as I am a complete infant with this.Using a component listbox in CS4. I have figured out how to call in formatting to the text by using this:Code: Select allimport fl.managers.StyleManager; var tf:TextFormat = new TextFormat(); at the head, and referring to it below, with:

Code: Select alltf.font = "Arial";
tf.size = 10;
tf.bold = false;

[code]....

View 2 Replies

ActionScript 2.0 :: Change The Backgroundcolor Of The Stage?

Jan 18, 2005

I dont know how to change the backgroundcolor of the stage.

Shouldnt:

_root.backgroundColor = "0x00ff00";

..normally do the trick?

View 1 Replies

ActionScript 2.0 :: Change Backgroundcolor Of Stage?

Jan 18, 2005

Just realized I don't know how to change the backgroundcolor of the stage.

View 1 Replies

Actionscript 3 :: Insert Text In RichTextEditor On Cursor Position?

Jan 12, 2012

I'd to insert date on a richtexteditor when the user click on a button.This part is easy, more difficult, how to insert this on cursor position. Cursor position may be on the beginning, middle or end of the text.

View 1 Replies

ActionScript 3 :: How To Remove Title From RichTextEditor Control In Flash

Mar 20, 2012

It is possible to remove some RichTextEditor control bar with showControlBar property. But how to remove title bar too? The following code displays control with empty title bar:
<mx:RichTextEditor id="mLog" left="10" right="10" top="10" bottom="41" dropShadowVisible="false" showControlBar="false">

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved