TextArea component issue

I have used a TextArea component, and for unknown reasons the
space bar
on the keyboard does not work when entering text once it is
published.
There is no additional actionscript being used outside the
defaults.
Anyone ever had this happen to them? Thanks.

Use the performance profiler to see what the bottleneck is.  Are you using
FP 10.1?

Similar Messages

  • A few questions about using an XML file to add text into a TextArea component set as html

    I'm using AS2 in Flash CS3.
    I have a TextArea component in the stage that's loading its text from an XML and I've been able to use the ul and li tags to create lists. However, when I try to include a nested list it just inserts a line break between the nested list and the main list rather than indent it further. Is there a solution for this issue?
    Failing that, how would I be able to add non-breaking spaces into the XML so they will render inside the TextArea component? I've tried   and   without success. I scoured the net for some help with this and found some information about modifying the font embedding xml file with a new entry for the non-breaking space and that didn't work either, so that leaves me somewhat stumped.

    flash doesn't handle nested lists (as you now know).  you can work-around that limitation using css and creating your own indent styles.  css have a marginLeft property you can use.

  • Formatting Tags appearing in TextArea Component

    I'm having an issue with TextFormat tags that are appearing
    in textfields. Here's an overview of what I'm doing:
    Basically, I'm trying to grab the text from a textArea
    component: (myText = myTextArea.text")
    Because I want to retain formatting, I have the textArea set
    to be html.
    Thus, myText becomes the text you see below
    So the myText data is then stored in XML, but later when I
    try to access it, it fills that same textArea component with the
    literal code rather than the formatted text. How do I take that
    TextFormat string and convert it back to it's original form? I've
    tried myTextArea.htmlText but I guess that isn't it. Thanks for the
    help!
    Thanks!

    Let me make my question easier to understand: ;-)
    I've got the text formatting (below) in a string. Using that
    string, how do I display the text it contains correctly?
    Thanks!

  • TextArea Component - a href will not work locally (on CDROM)

    Hi,
    I have many products out there that use a TextArea Component
    with an <a> tag that calls another url as in:
    <a href="anotherPage.html">Click Here</a>
    This functionality stop working on Flash Player 9. My old
    products are useless until Adobe fixes the bug, but now I have to
    figure out how a way to get around this.
    Any ideas?
    Thanks!!

    Thanks! That helps although the simptoms are new.
    This was working on Flash Player 8, the version in which they
    decided to bring about this sandboxes ordeal.
    And now in Flash Player 9 it still works if I tell the getURL
    to target a "_blank" page. It only breaks when I target "_self".
    Now, that's not very secure to me.
    But I wish they come up with a better solution. With the
    sandbox issue the power of Flash has been rendered useless in local
    devices. I'm think of developing in a different language just
    because of this.

  • TextArea scrollbar issue

    Has anyone encountered this issue with the TextArea component
    where by clicking the up arrow first, the text becomes selected and
    jumps to the maximum vertical position?
    It only happens when the movie is first loaded, and only if
    the user releases the up arrow on the scrollbar prior to using the
    other buttons on the scrollbar.
    An example occurs here, where this gentleman has a workaround
    to a similar issue regarding TextAreas
    http://oddhammer.com/index.php/site/comments/textarea_scroll_jumping/
    Any help would be really appreciated,
    thanks,
    dave

    Please use code tags,
    and when you post the code make sure that it is easily readable
    as jsp can get confusing and hard to read.
    try this
    <textarea  rows="10" cols="25" id="txtdescription" name="txtdescription" class="admin-selectbox" onKeyPress="limitText(this,249)">
    <%
        out.print(desc);
    %>
    </textarea>

  • How can i display image in mx:TextArea Component?

    I found display img tag in htmlText of mx:TextArea component
    is very difficult in Flex Air
    I new a simple air project in flex builder, put the code
    below in it, i put a glad.png file in the src folder, every thing
    is OK, when i run it, image cannot be displayed. why this happend,
    I search the google for the solution, it seems there is a bug in
    air, and told me to use mx:HTML coponent, but that component still
    can not display img tag.
    could any one help me with this?
    <mx:TextArea width="100%" height="100%">
    <mx:htmlText>
    <![CDATA[
    <a href='
    http://www.adobe.com'><img
    src='glad.png'/></a>Click the image to go to the Adobe
    home page.
    ]]>
    </mx:htmlText>
    </mx:TextArea>

    I ran into a similar problem and wasn't able to find a way to have regular Flex components (like Text and TextArea) display <img> tags in their htmlText.  Everything works find in a web-based Flex application, but once the same code was used in AIR, the images just wouldn't display.
    I changed my display to use the mx:HTML component and everything worked fine (I was using only external images).

  • How can I access the content of a textarea component?

    I'm trying to use a javascript form editor in my jsf project.
    The form editor writes to an html <textarea> component.
    The jsp page looks like this:
    <div style="height: 336px; left: 0px; top: 0px; position: absolute; width: 672px">
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    </script>
    <textarea cols="50" name="content" rows="15">This is some content that will be editable with TinyMCE.</textarea>
    </div>
    The content of the <textarea> component is changed with the editor.
    What I need to do is capture that content after it has been edited.
    How can I do that??
    Thanks

    I have a similar problem. When I try to watch the rented movie a pop up says "Cannot Open: The content is not authorized"     What exactly is the problem. I'm not in the US at the current moment. I'm in France. But that shouldn't be a problem right?

  • TextArea component AS3

    I'm having trouble both working out or finding out how to
    apply an imported css file to the CS3 TextArea component. I've
    frequently done this in AS2 using Flash 8, but that code no longer
    works. If anyone knows could you please let me know. Here's the AS2
    code I've used previously:
    private function loadCss(){
    var myStyle = new TextField.StyleSheet();
    myStyle.load(this.CssPath+".css"); // the CssPath variable
    here was supplied within an object passed through to the
    constructor
    textArea.styleSheet = myStyle;
    loadXml();
    }

    Thank you Anirudh,
    I have been using the TextArea component because it has code to handle scrollbars, and in Flash this component is a wrapper for a TextField object. As far as I can see this is not the case in Flex, and my AS3 code sets almost all of the TextField attributes, so I probably can't use Flex and the Flash Builder anyway. At least not without throwing all my code away.
    Besides, the .swf file generated seems to be much bigger than in Flash.

  • TextArea component wont word wrap.. help!

    I cant seem to get the TextArea component in Flash 8 to word
    wrap. I've set the word wrap parameter to "true" but it will not
    word wrap. It just puts all the text in one line. How do you fix
    this? Also, is there a way to control the font size in the TextArea
    component?
    Thanks!

    ad 1. sorry but in my instance true is set by default to word
    wrap option and it works.
    ad 2 instanceName.setStyle("fontSize",24)
    u can learn more about TextArea by lookin to the script below
    ( its just an example):
    function setStyles(instance) {
    instance.setStyle("themeColor", "blue");
    instance.setStyle("color", "blue");
    instance.setStyle("fontFamily", "Courier New");
    instance.setStyle("fontSize", 12);
    instance.setStyle("fontWeight", "bold");
    instance.setStyle("backgroundColor", 0xDDE0FF);
    instance.setStyle("borderStyle", "alert");
    setStyles(myTextArea);

  • Max number of char in textArea component

    Hi gurus!
    The thtmlb textArea component does not have the property maxlegth. How can I limit the maximum amount of caracters for this component?
    Thanks!!!

    check this blog.
    /people/sap.user72/blog/2005/02/07/bsp-howto-show-a-progress-bar-for-limiting-text-input

  • Custom component issue

    Custom component issue
    According to customer requirements, we want to get such an effect in the development of custom components:
    Drag and drop custom components to the Flex builder work area, it can generate more than the default properties, not just generate "x", "y" attribute.
    【Details are as follows】
    We design a custom panel "CustomPanel.mxml" in the project development, then drag it into the workspace in the Flex builder development environment.
    View the source code found that it can only generate "x", "y" attribute in default. That is:
    <ns2:CustomPanel x="105" y="74">
    </ns2:CustomPanel>
    【Issue】
    How can we do that when drag the 'custom component' into Flex builder workspace,  we can generate "layout" attribute in addition to "x", "y" attributes?
    That is:
    <ns2:CustomPanel x="105" y="74" layout="absolute">
    </ns2:CustomPanel>
    【Note】
    The following code will be generated when the "panel component comes with Flex builder environment" is dragged into workspace.
    <mx:Panel x="121" y="134" width="250" height="200" layout="absolute">
    </mx:Panel>
    How it is done?

    I am sorry to bother you again.
    I have tried the web site content, but it can't helped!
    There is a custom component called 'Basket', source code is as follows:
    package picnic
    import mx.containers.Panel;
    public class Basket extends Panel
      public function Basket()
       super();
       layout = "vertical";
       setStyle("backgroundColor", 0x00FFFF);
       setStyle("horizontalAlign", "center");
    Here it is worked when the attribute "layout" is set to "vertical", but it isn't when "layout" is set to "absolute" !
    When the property is set to "absolute" phenomenon is as follows:
    Drag component such as 'Button' into "picnic component". It will automatically go to the top left corner position,
    just like the 'layout-attribute' is not set.
    Why is there such a phenomenon?

  • TextArea Component

    How do I change the font of a textArea component?
    How do I put unicode text (Japanese) into a textArea
    component via Lingo?
    Thanks
    Eldon

    Thank you Krys for your tip, but as you can see thrue this link www.pccruzadas.com when you type a message I don't want you to go for the top of the page, I want you to remain in the tesArea and see the message I put there after you click the button. Sory for my English.
    Regards
    Manuel Braz Perdig�o

  • TextArea component scrollpolicy being ignored

    The scroll policy for the textArea component appears to be "auto", and that works just fine.
    However, I want to be able to turn it off in certain situations, i.e., not have the scroll bar appear.
    I do the following which I thought would turn it off but the scroll bar still shows up.
    Any help would be appreciated.
    Code Snippet:
         myTF = new TextFormat("Arial", 10,  0xFFFFFF,false);
         myText_mc.myTextArea.setStyle("textFormat", myTF);
         myText_mc.myTextArea.verticalScrollPolicy = "OFF";
         myText_mc.myTextArea.horizontalScrollPolicy = "OFF";
    Thanks,
    Vivian

    should be all lower case
      myText_mc.myTextArea.verticalScrollPolicy = "off";

  • Applying StyleSheet to a TextArea component

    I'm finding it not possible to attach a style sheet to a
    TextArea component with AS3, V3 component... Is there a workaround,
    maybe accessing the TextAreas' textField..??.

    You'll need to roll out your own TextArea to get around the
    error. Something
    like this:
    package
    import fl.core.UIComponent;
    import flash.text.TextField;
    import flash.text.TextFormat;
    import fl.controls.TextArea;
    public class StylizedTextArea extends TextArea
    public function StylizedTextArea()
    super();
    protected override function drawTextFormat():void {
    // if no style sheet exists, call the super method
    if(textField.styleSheet == null){
    super.drawTextFormat();
    return;
    // This is where the StyleSheeting error occurs. The
    TextField class will
    // not allow a TextFormat to be applied if a StyleSheet
    exists
    // commenting this block seems to fix the error -- needs more
    testing
    var uiStyles:Object = UIComponent.getStyleDefinition();
    var defaultTF:TextFormat = enabled ?
    uiStyles.defaultTextFormat as
    TextFormat : uiStyles.defaultDisabledTextFormat as
    TextFormat;
    textField.setTextFormat(defaultTF);
    var tf:TextFormat =
    getStyleValue(enabled?"textFormat":"disabledTextFormat") as
    TextFormat;
    if (tf != null) {
    textField.setTextFormat(tf);
    } else {
    tf = defaultTF;
    textField.defaultTextFormat = tf;
    setEmbedFont();
    if (_html) { textField.htmlText = _savedHTML; }

  • ActionScript file using TextArea component

    I have been developing applications in Flash CS5, but I coudn't stand the completely useless code editor any more, so I have installed the Flash Builder instead.
    The problem I'm having now, is that I have an AS3 class that uses the TextArea component. But if I make an ActionScript project, I cannot import the TextArea class as FB doesn't seem to know about it. And I know nothing about Flex, so if I make a Flex project, I have no idea of how to combine my AS3 class with the TextArea component.
    I am amazed - I thought that would be ridiculously simple, but I have been browsing Adobes sites for days now, and I'm not an inch closer to any solution.
    Anyone knows something to help me?

    Thank you Anirudh,
    I have been using the TextArea component because it has code to handle scrollbars, and in Flash this component is a wrapper for a TextField object. As far as I can see this is not the case in Flex, and my AS3 code sets almost all of the TextField attributes, so I probably can't use Flex and the Flash Builder anyway. At least not without throwing all my code away.
    Besides, the .swf file generated seems to be much bigger than in Flash.

Maybe you are looking for

  • Screen sharing and home sharing makes network drop

    Hi. I've upgraded to OS X Mavericks and I am having a weird network issue now. I use home sharing all the time to stream to my Apple TV and I use screensharing so I can connect from downstairs using my ipad or another computer. Every since the upgrad

  • My intel imac is running very slow

    I have a 20" intel imac and recently it has started to run very slow. It takes ages to start up and once started it takes forever to start any application. i have tried various software to clean it up but still no better. When starting it in safe mod

  • Reorder User Profile properties in SharePoint 2013.

    Hi, I have created custom user profile properties in SharePoint 2013 under User Profile Service Application, now I want to change the order of properties as well as also want to move OOTB properties and custom properties from one section to another s

  • Can I run an old version of Rosetta Stone on my new MacBook?

    I have an old version of Rosetta Stone. When I tried to install it to my new MacBook it said I can not install. When I called Rosetta Stone, they told me the same thing and want me to buy $100 upgrade. But someone told me that on Windows, she can run

  • Can I save the custom graph format?

    Hi All, Can we save the custom graph format? -- BIEE11.1.1.5.0 When using combined line-bar chart. I set the width of line chart to 3px. This is thinner than the default setting. I found the following section to setup/change for custom graph style fo