Displaying Text as HTML in the UIscrollbar component

Greetings.
I have a window on my Flash stage that has some scrollable copy in it.  The problem is, I can't seem to have any formatting for the text ... if I select a word or two to make bold, it all turns bold.  I gather I need to use the "Display Text as HTML" checkbox and then paste in some HTML formatted text but this doesn't seem to work.  I searched this forum and found that others were designating "htmlText" in Actionscript instead of just "text" ... that didn't work either.  I probably just did it wrong, or maybe it's becuase I'm using the UI component "UIscrollBar" for it's scrolling of the text.
Is there anything else I need to do to be able to format some text with strong tags and maybe some href links?
I have my properties inspector with the following check marks:
Display as HTML
Multiline
Dynamic Text
selectable
Thanks everyone.

Shamelss bump

Similar Messages

  • How to Scroll the UIScrollBar component to the top?

    I'm using the UIScrollBar with a dynamic text field. If
    content gets scroll by the user, and then the text fiel dis update
    with new text, the new text remains "pre-scrolled". So, obviously,
    I want to set the scroll position to 0 every time I update the
    content in that field. But how do you do this?
    Is this something I do to the text field or to the
    UIScrollBar component?
    What is the method?
    Could somebody please give me an example?
    Thanks in advance...

    Silly me, I think I walked past this one several times
    thinking I had tried it.
    // To scroll the UIScrollBar to the top
    info_txt.scrollV = 1;
    My problem was that I was using the parantheses to pass the
    value, like this:
    // This doesn't work
    info_txt.scrollV(1);

  • Text type 'HTML' for the Channel 'Mail (Letter)'

    Dear Experts,
    I'm unable to use the text type 'HTML' for the Channel 'Mail (Letter)' in mail forms, as a result of which fonts like arial and images like jpeg could not be used in mail forms created for letters.
    Is there a way to use HTML type or to have more font options, insert JPEG images, tables etc in mail forms for letters?
    Regards,
    Kathir

    In case, if you are using custom excel export functionality, you should use fileDownloadActionListener with in a button.
    Here, you could specify the content type.
    <af:commandButton text="Say Hello">
                  <af:fileDownloadActionListener filename="hello_txt"
                                            contentType="text/plain; charset=utf-8"
                                            method="#{bean.sayHello}"/>
                </af:commandButton>For more details, check here:
    http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17491/tagdoc/af_fileDownloadActionListener.html

  • Text and images in the same component?

    Ok... a lil help please :
    into what component can i put text and images at the same time
    as in...
    example, what component could contain data like this :
    Hello this is me <imageofmyself> and this is my house <imageofmyhouse>... bye all !
    thanks in advance,
    Jonathan, a.k.a. Kyraz

    You could use a Swing HTMLPANE or draw it all onto a
    BufferedImage and display that (code posted under 2D graphics thread).
    MArk

  • Display text in script  at the bottom of the main window

    Hi all,
    I want to display a long text in the main window at the bottom.
    In case of single page output the text should be displayed in the main window at the bottom. But in case of multiple page output I want the text to be displayed only in the last page.I have tried giving the text inside BOTTOM ENDBOTTOM but its not working. In case of multiple page output also the text is getting printed an all the pages.Kindly let me know the answer at the earliest.
    Thanks & Regards,
    Neethupriya.

    Hi all,
    If anybody knows the solution please let me know at the earliest.
    Thanks & Regards,
    Neethupriya.

  • Use the UIScrollBar component

    This question was posted in response to the following article: http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f9c.html

    I am scrolling text in actionscript 3.0.  But when I put the text nto the actionscript panel I need line breaks between the paragraphs.  I get this message "1095: Syntax error: A string literal must be terminated before the line break."  How do I input text with line breaks without getting and errow message?
    thanks

  • How to avoid displaying a blank row in the table component

    Hi,
    I have a create insert button and a table as in a read only form.
    Each time i click on a create insert button a popup appears were the person enter the corresponding values and on clicking submit button it has to show changes in the table and on clicking cancel button it has to go back to the page.
    But even when i click the cancel there is still an empty row is shown in the table. Is there a way to avoid it ?
    Thanks in advance.

    I am using this managed bean to refresh the table.
    public class popupRefreshBean
    private RichTable refreshTable;
    public popupRefreshBean()
    public void refreshTable(ReturnEvent returnEvent)
    AdfFacesContext adf=AdfFacesContext.getCurrentInstance();
    adf.addPartialTarget(this.getRefreshTable());
    // Add event code here...
    public void setRefreshTable(RichTable refreshTable)
    this.refreshTable = refreshTable;
    public RichTable getRefreshTable()
    return refreshTable;
    }

  • How do I fix safari and mail that displays text incorrectly (html rendering?)?

    help.  I have a problem after using migration assistant to move an account to my new imac running os 10.6?  what can I do to fix this?

    help.  I have a problem after using migration assistant to move an account to my new imac running os 10.6?  what can I do to fix this?
    I would recommend starting over and using Setup Assistant to migrate. SA and MA are cousins, similar but different. The primary differences are SA is more reliable and does not create a second user account. I would recommend using Setup Assistant tips beginning where it discusses "Second Chance...."
    Roger

  • UIScrollBar component dynamic text capital letter Y not appearing

    I'm using the UIScrollBar component, dynamic text is my setting.  When I view the swf or exe, all my text appears except for capital letter Y, it appears in flash, but not the swf or exe file.
    Any reason why this happens?
    Any help is appreciated.

    I finally found the answer but this scenario doesn't make
    sense. It seems you have to create a dynamic text field with a
    scrollbar during runtime through actionscript, rather then creating
    the text field and scrollbar in design mode. Here is the code that
    worked:
    import fl.controls.UIScrollBar;
    var myTxt:TextField = new TextField();
    myTxt.background = true;
    myTxt.backgroundColor = 0xFFFFFF;
    myTxt.border = true;
    myTxt.wordWrap = true;
    myTxt.width = 200;
    myTxt.height = 200;
    myTxt.x = 22;
    myTxt.y = 75;
    var mySb:UIScrollBar = new UIScrollBar();
    mySb.direction = "vertical";
    // Size it to match the text field.
    mySb.setSize(myTxt.width, myTxt.height);
    // Move it immediately right the text field.
    mySb.move(myTxt.x + myTxt.width, myTxt.y);
    // put them on the Stage
    addChild(myTxt);
    addChild(mySb);
    // load text
    var loader:URLLoader = new URLLoader();
    var request:URLRequest = new URLRequest("breakroomText.txt");
    loader.load(request);
    loader.addEventListener(Event.COMPLETE, loadcomplete);
    function loadcomplete(event:Event) {
    // move loaded text to text field
    myTxt.htmlText = loader.data;
    // Set myTxt as target for scroll bar.
    mySb.scrollTarget = myTxt;

  • MSN only displays text. Firefox IE both. Rebooting router/modems corrects the problem for awhile.

    Everything runs great for a few weeks and the right out of the blue MSN home page only displays partial imiages and the rest of the imiages display text only. Rebooting the modem and router and desk top corrects the problem for a couple of weeks. Help.

    Something that only occurs every few weeks is going to be hard to debug.
    Next time it happens, could you try reloading the page bypassing cached pages? You can do that using Ctrl+Shift+r to force a full reload from the server. If that works, then most likely some files in Firefox's cache became corrupted.
    Not sure why you would simultaneously have the same issue in IE, though. Hmmm...

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • BPS Variable-Cost Element is not displaying Text

    Dear Team,
    We have a peculiar issue one of the BPS Variable defined for Cost Element is not displaying text in one of the Planning Layouts.
    Another variable is displaying text in another layout.
    Surprisingly...when I reused the old variable in the new layout it is also not displaying the text.
    Am I missing something....appreciated your quick support.
    Thanks & Best Regards
    Srinivas

    Have you check the layout Lead-Column setting? Is it set to 'Key/Description'?

  • How can you add images and text to UIScrollBar Component

    I can only add the text, can't add images. Also how can you make paragraphs out of long text in a UIScrollBar?
    Thanks.

    Hi,
    UIScrollBar Component can be attached to a dynamic text filed and the text field can be set to Render Text as HTML option which in turn can display both text & images(using <img> tags).
    Refer http://www.flashvalley.com/fv_tutorials/loading_HTML_in_a_dynamic_text_field/page2.php that may help you getting what do you want
    Thanks!

  • Excel Output is being displayed as HTML in the browser

    Hi All,
    I am using PeopleSoft XML Publisher 5.6.2 to generate an Excel report using RTF template. The report runs successfully.
    However, when I click the Output file link in the View Log page of process scheduler, the file is being displayed as a HTML page, though the extension of the file is .xls.
    Also when I try to save the file by using 'Save Taget as' option, the browser prompts me to save the file as 'mhtm' file and not 'xls' file.
    The following is an extract from the output file.
    <html>
    <!-- Generated by Oracle XML Publisher 5.6.2 -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>IM Top 10 Surplus &amp; Deficit Locations</title>
    After doing some research on Internet, I found the following blog post(dated back in 2008) to describe my situation and a workaround to the problem.
    http://peoplesofttipster.com/2008/04/16/xls-xmlp-output-opening-in-browser-not-excel/
    http://peoplesofttipster.com/2008/04/18/xls-xmlp-output-opens-in-browser-workaround/
    Workaround described in the above blog post is to update the charset to us-ascii replacing UTF-8. This seems to work. But with limited file processing capabilities of peoplecode, this workaround is not a simple solution.
    I also verified the mime-type mapping in the web.xml file in the webserver. Please find below the .xls mime-type mapping in the web.xml file.
    <mime-mapping> <extension> xls </extension> <mime-type> application/vnd.ms-excel</mime-type></mime-mapping>
    Question:
    1.How do I force the browser to open the excel output file using either Excel plugin or Excel Application instead of displaying it as HTML page?
    2.If not the above, how can I force the system to promt the user to save the file as Excel file instead of mhtml?
    Additional details :
    work enivronment
    PeopleSoft FSCM 8.9
    PeopleTools 8.48.17
    Oracle 10g
    Windows NT
    Any help would be greatly appreciated.
    Thanks & Regards,
    Vamsi Krishna

    Please try this by Open windows explorer, Click Tools -> Folder Options ->,Click on File Types and Select XLS from the list, Click Advanced, select "Open" and Make sure the “Browse in same window” is not selected.
    Hope this helps,
    Ramesh

  • Help needed in formating the text using HTML tags in reports 10g

    Hi all,
    I have a situation here. We have an application which prints out Reports with a few lines of text in it. This text is entered by the user through our forms application in a field. That particular text is stored in each row of a particular long column. Here I want to modify the text, while printing, on the report like underline, bold, italics etc,.
    As of now I am using the HTML tags, in the forms, to do so as most the times the text in the report is same.
    I want to know if this can be done by the user itself while he is entering the data in the field through the form.
    Thanks in advance . I will explain you more clearly if you need.

    Hi,
    The code did work. But I am not sucessfully able to display the values entered in 2nd page in the 3rd page.Please find the code below:
    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    if (document.form1.cap.value == "")
    alert("Enter value in text box");
    return;
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form2">');
    for(var i =0; i < document.form1.cap.value; i++)
    msg.document.write("<INPUT type=text name=tbAlphaNumeric>");
    msg.document.write("<br>");
    msg.document.write('<input type="button" name="Button2" value="Steal" onClick="javascript:window.opener.WinShow();">');
    msg.document.write('</form></BODY></HTML>');
    function WinShow() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Great!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>Display of second page text elements!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form3">');
    for(var j =0; j < document.form1.cap.value; j++)
    msg.document.write(document.form2.tbAlphaNumeric[j].value);
    msg.document.write("<br>");
    msg.document.write('</form></BODY></HTML>');
    </script>
    </head>
    <body>
    <form name="form1">
    <INPUT type= "text" name=cap>
    <input type="button" name="Button1" value="Push me" onClick="WinOpen()">
    </form>
    </body>
    </html>

Maybe you are looking for

  • Two odd things on my MacBook Pro

    Hi All, I'm using a MacBook Pro 15", OS 10.4.10, no bells and whistles installed to 'hash' the system except Macaroni and FruitMenu (both of which are the latest versions). However any files saved to the desktop are invisible till next reboot. I know

  • Retention policy notification message outlook2010

    some user have the "retention policy" bar at bottom of messages and some don't even though all have same default policy applied; client is outlook 2010 w latest updates; would like it applied across the board; heard someone mention that it may be due

  • Call a web page.

    How can I call a web page from my applet? Thanks.

  • Sender e-mail Invalid

    I continue to get "Sender E-mail Invalid" when trying to send or forward messages. I have read some of the discussions but have not seen a clear cut answer or resolution. Can someone please provide a solution.

  • Windows XP won't load on Toshiba Satellite M115-S1064

    After correctly shutting down laptop, I attempted to turn it back on later and Windows won't boot. It will not even allow start up in safe mode. After stopping auto restart, I got blue screen with error STOP: 0x000000E3 (0x80558BE0, 0x84FCA3E8, 0x000