How to embed html (weblinks) in Spark TextArea?!

Hi everybody,
We want to put html-code (especially links) into our TextArea. We were looking for some examples, but in no example the links were working. So user couldn t click at the link to enter a new page. Anybody any suggestions or a good tutorial?
Even the example at the adobe page isn't working: (we tried firefox and safari on windows and os x)
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/TextAr ea.html?allClasses=1
(at the bottom)
Thanks,
K

We fixed the problem in our case. Our mistake was, that we did set the attribute selectable to false instead of editable. Afterwards it worked perfect for us.
Spark Text Area:
<s:TextArea id="content" editable="false"/>
Import Text:
content.textFlow = TextFlowUtil.importFromString( yourHtmlText:String );
In mx.controls it works like that:
<mx1:TextArea id="myTextArea" />
Import Text:
myTextArea.htmlText = yourHtmlText:String;

Similar Messages

  • How to embed html into keynote

    I want to embed the youtube code for a vid into my keynote presentation so when I export to flash I can post the entire thing online, the presentation will work and I can watch the vid too. Any thoughts on how to embed html into a keynote page?
    Thanks,
    Jeremy

    The only way to get video out of Keynote that I know of, is the QuickTime export. Now, if you use another tool after that (to convert the QuickTime video) that might be able to work for you.

  • How to embed html code in flash builder 4 ?

    How to embed html code in flash builder 4 ?

    Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
    In flex3 we are making a component ex: <mx:canvas> and changeing that component to
    <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:cairngorm="com.adobe.cairngorm.business.*">
    </cairngorm:ServiceLocator>
    if any one used 4.5 with cairngorm let me know
    thanks

  • How to embed html-file into swing

    hello,
    can anybody help me how to embed a html-file into a swing application??
    I try to write a swing-application, that connects to a Internetpage via Sockets.
    The problem is, that I can only see the sourcecode of the InternetPage in my JTextArea, but I want to see the whole Page just like in a browser.
    I hope anybody can help me to solve this problem, thanx mina

    u will need to use the JEditorPane component instead of Jtextarea.here is a url to help u get started
    http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html#editorpane

  • How to embed html page in bsp view

    Dear all,
    I would like to embed a html page (eg: www.google.com)  inside bsp view. I have used iframe to do this; but the iframe is getting refreshed everytime a button is getting clicked. Delta handling flag is also not working for iframe. Is there any other method to embed html in bsp view.
    Thanks and Regards,
    Manasi

    Hi Shreya,
    See if this <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/_s-u/SDN%20Behind%20The%20Scenes%20-%20Embedding%20an%20EP%205.0%20iView%20in%20an%20HTML%20Web%20Page">link</a> helps.
                            OR
    You can create a JSP dynpage in portal application object.
    Along with this JSP and dynpage is created automatically. You can copy the html page and paste it in JSP page. To make it display, include a statement in JSP dynpage as
    this.setJspName("JSPname.jsp");
    For more info on this u can refer:
    http://help.sap.com/saphelp_nw04s/helpdata/en/95/cfa441cd47a209e10000000a155106/frameset.htm
    To get an idea of content development you can refer this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2845">weblog</a>.
    Regards,
    Pooja.
    Message was edited by: Pooja S

  • How to Embed HTML into a Infopath form with out using the custom code???

    Hi ,
    This my first post in MSDN, so kindly ignore if there is any faults/mistakes.
    scenario:
    I am updating a HyperLink(url) to an infopath Field (Such as Rich text box /Label) from a third party workflow(Nintex),it is not able to embed the html data .is it possible to embed html controls like <a> and <Br> tags in the infopath form?????

    The InfoPath form can be configured to export some of the fields as columns... by doing so, the workflow can simply update the list item's metadata, and the value is pushed into the InfoPath form data.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to embed html codes for videos games etc... in action script 3.0

    i am trying to embed a chatbox on my action script 3.0 website. but i am having no succes. any help on how to get my chatbox on a page using html code

    Hey thnx Ned.
    this sites are really helpful.but,i have used sound through button.so how it is possible to attavh the link with slider.i have created slider also.
    Below is my slider code for sound.
    onClipEvent (load) {
        mySound1 = new Sound();
        mySound1.loadSound((myScale)+"/"+(myTanpura)+"/"+(myTanpuraSwar)+"/"+(myTanpuraTempo)+".w av", true);
        mySound1.onSoundComplete = function() {
        mySound1.start();
        mySound1.start(0.058,999);
    onClipEvent (enterFrame) {
        downloaded = mySound1.getBytesLoaded();
        total = mySound1.getBytesTotal();
        if (downloaded != total) {
            _root.dl = "You have to buy this software...";
        } else {
            complete = 1;
            _root.dl = "";
        mySound1.setVolume(ratio * 2);
    This code is working for slider.I mean it scrolls the slider.but it dosent make any effect to sound.
    Below is my button code.
    stop();
    mySoundBtn4.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip4");
              mySoundC.start(0, 300);  //10 represents the number of loops
              gotoAndPlay("play1");
    this is on button's frame.not exactly on button.
    Button and Slider both are on diffrent scene.
    Can you plese help me out?

  • How to embed html in a formscentral form

    is there a way to embed an HTML page in a forms central form?

    The InfoPath form can be configured to export some of the fields as columns... by doing so, the workflow can simply update the list item's metadata, and the value is pushed into the InfoPath form data.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to embed html in muse

    Wie kann ich eine html-Datei, die ich aus einem Open Office oder Word-Dokument erstellt habe einbetten in Muse.
    Es handelt sich um eine Tabelle. Es gibt ein "Tab Widget", aber das müßte doch auch anders funktionieren.
    Ich kann das html in SAFARI öffnen, aber ich weiß nicht, wo ich den Code bekomme.
    Außerdem habe ich in meinem Entwurf auch 2 separate Menüs, das erste ist das Hauptmenü für alle Seiten,
    das zweite ist das jeweilige Submenü für die jeweiligen Hauptmenüpunkte.
    Ihr könnt den Entwurf, den ich mit Sitegrinder von Medialab erstellt habe unter:
    http://fotografie-roeder.de/turngau-m-m/
    anschauen.
    Dann wißt Ihr auch gleich, wie es gedacht ist.
    Die Tabellen sind noch nicht fertig aber so ähnlich gedacht.
    Leider ist Medialab nicht mehr existent, deswegen bemühe ich mich jetzt vehement, die Sache in Muse
    zu gestalten.
    Jede Hilfe ist willkommen.
    Uwe

    Mittlerweile habe ich über das englischsprachige Forum bemerkt, daß Tabellen sehr gerne benutzt werden würden, wenn es denn einfacher wäre. Ich habe herausbekommen, daß es tatsächlich besser aussieht, wenn man die "gesendete" html Datei
    als separate Webseite öffnet, sich davon den Quelltext zeigen läßt ( In Safari 7.1/Mavericks  ist das nicht mehr F11 sondern: Entwickler-Seitenquelltext einblenden oder "alt-cmd-U"), diesen kopiert und dann in Muse über "Objekt-html einfügen"
    entsprechend platziert. Allerdings ist so zum Beispiel nicht mehr möglich, diesen als Text zu editieren, das kann ich allerdings erst sagen, wenn ich die Site auf einem ftp-Server habe und vielleicht klappt es ja auch. Ob der Test auch funktioniert über die
    Funktion "SItevorschau in Browser" möchte ich so nicht bestätigen. Auch ist es so nicht ohne weiteres möglich einen Downloadlink hinzuzufügen. Das wäre aber in meinem Fall extrem wichtig. Tiny mcd wäre hier eine schöne Lösung.
    Dieses Forum lebt ja schließlich auch von tiny mcd, allerdings mit logischerweise eingeschränktem Handlungsspielraum. So realisiere ich jetzt auch die Bild einfügen Funktion. Hier also die Bilder von meinem Menü vor dem Embed und nach dem Embed.
    Obwohl ich eine google Font verwendet habe, erscheint dieses T-icon. Bei 02_nachher erscheint das Hauptmenü in der Mitte hinter der Tabelle. Das Submenü bleibt stehen. Beide Menüs sind in der dafür vorgesehenen Masterpage angelegt.
    Über:  Adobe Muse Table Maker Widget | MuseThemes.com gibt es auch eine Tabelle, aber ich benötige eigentlich nicht alle Widgets und Templates für eine Jahresgebühr von 69$. Soweit ich jetzt bin mit meinem Wissensstand, werde ich die Tabelle wie oben beschrieben anlegen, und die Downloadbuttons extra platzieren. Elegant ist anders. Übrigens ist der Thread im Englischen durchaus interessant mit weiteren Tips:  Re: Is there an easy way to create or import tables into muse
    Cheerio
    Uwe

  • How to embed html tags in out.println

    Hi,
    i have the following code in a function in java which passes the JspWriter object
    out.println("<table>");
              out.println("<tr>");
              out.println("<td>User Id</td>");
              out.println("<td>Pack Purchased </td>");
              out.println("<td>Sms Used</td>");
              out.println("<td>Sms Left</td>");
              out.println("<td>New User</td>");
    out.println("</tr></table>");is what i'm doing rite? plz help.

    Hi,
    i' having a problem with the following code.
    the web page isnt displaying anything. its just a blank page. please help
    public void calculateUserDetails(JspWriter out) throws IOException
              out.println("<table border=1>");
              out.print("<tr><td>User Id</td>");
              out.print("<td>Pack Purchased </td><td>Sms Used</td>");
              out.print("<td>Sms Left</td><td>New User</td>");
              out.print("</tr>");
              Enumeration objEnumKeys = hashAllDetails.keys();
              while(objEnumKeys.hasMoreElements())
                 String strHashKey = (String)     objEnumKeys.nextElement();
                 UserDetails objUserDetails = (UserDetails) hashAllDetails.get(strHashKey);
                 intBasicPacksTotalCount += objUserDetails.CountBasicPacks;
                 intAdvancedPacksTotalCount += objUserDetails.CountAdvancedPacks;
                 int intCurrentUserSoldSmsCount = getSoldSmsCountToUser(objUserDetails);
                 intTotalSoldSmsCount = intTotalSoldSmsCount + intCurrentUserSoldSmsCount;
                 int intCurrentUserUtilizedSmsCount = intCurrentUserSoldSmsCount - objUserDetails.SmsBalance;
                 intTotalUtilizedSmsCount += intCurrentUserUtilizedSmsCount;
                 intActivePacksCount += getUserActiveSMSPacksCount(objUserDetails, intCurrentUserUtilizedSmsCount);           
                 int intTotalCountPackPurchased = packPurchased(objUserDetails);
                out.print("<tr><td>");
                out.print(objUserDetails.UserId);
                out.print("</td><td>Rs.");
                out.print(intTotalCountPackPurchased);
                out.print("</td><td>");
                out.print(intCurrentUserUtilizedSmsCount);
                out.print("</td><td>");
                out.print(objUserDetails.SmsBalance);
                out.print("</td>");
                boolean newFlag=NewUser(objUserDetails);
                if(newFlag==true)
                     out.print("<td>Yes</td></tr>");
                else
                     out.print("<td>No</td></tr>");
               }               //End while
               out.println("</table>");
         }     

  • How to use html tags inside java

    I have to retrieve data from db and return the data to my index.jsp page.
    Its working fine.
    But I have o display in a pable format using html. How to embed html tags? I tried this way. Its not working. Any suggestions?
       String htmlOpen = "<html>";
        String htmlEnd = "</html>";
        String titleOpen ="<title>";
        String titleEnd ="</title>";
        String bodyOpen = "<body>";
        String bodyEnd = "</body>";
        for (int i = 1; i <= cols;i++){
            output = output + rsmd.getColumnName(i);
         while (rst.next()) {
            for (int i = 1; i <= cols;i++){
                      output = output +rst.getString(i);
      result = htmlOpen + titleOpen + titleEnd + bodyOpen + output+ bodyEnd + htmlEnd;
        stmt.close();
        conn.close();
         return htmlOpen;
      }

    See those charcters in your JSP that look like "<%"? Those characters mean: "the code after this is Java - interpret it as such".
    Then when you close your Java block with "%>", it then means: "the code after this is html - output it to the request response that is being built. However, within the html code, the syntax "<%= java_variable_name %>" means "take the current value of that Java variable and insert it into the html output".
    Here's an example:
    %>
    <table cellspacing="2" cellpadding="2" border="1">
    <tr>
    <%
        String s = null;
        for (int i = 1; i <= ncol; i++)
          s = rsmd.getColumnName(i);
    %>
      <th nowrap><A HREF="<%=sortLink.toString()%>&sortby=<%=s%>"><%= s %></th>
    <%
    %>
    </tr>
    <%
        if (rs == null || numRows <= 0)
          %><tr><td colspan="10" nowrap>No data available for specified query.</td></td><%
        else
          int rowCounter = 0;
          while(rs.next() && rowCounter < PAGE_SIZE)
            rowCounter++;
    %>
      <tr><%
            for (int i = 1; i <= ncol; i++)
              s = rs.getString(i);
              if (rsmd.getColumnName(i).equalsIgnoreCase("password"))
                    %><td nowrap>********</td>
    <%
              else
                %><td nowrap><%= s %></td>
    <%
            %></tr><%
    %>
    </table>This is JSP 101, what they teach in the first hour of class...
    Here's a decent JSP tutorial:
    http://www.jsptut.com/

  • How can i display HTML text in a TextArea

    Hello All,
    We are developing a chat application using Java Swing and RMI with MySQL as backend.
    We have two options.The users can chat thro both browser and application(Swing GUI).
    Now when a user who chats thro a browser sends a message,the chat contents are stored in HTML format in the database (like <BR><font>R u There?</Font></BR>).When the other user happens to chat thro the application,the chat contents send by the other user has to appear in the HTML format in the TextArea of the application.So obviously the textarea shud understand the HTML and display it accordingly.
    How can i do this?Kindly give me an example with some code samples if i have to use EditorPane etc 'coz i haven't got any experience using EditorPanes.
    Thanks in advance
    Regards
    Vijayakannan

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JFrame {
        public Test() {
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container content = getContentPane();
         JEditorPane jep = new JEditorPane("text/html",
                  "Joe: <font color=red>R u <b>There</b>?</Font><BR>"+
                  "Mary: <font color=green>Keep ur shorts on...</Font>");
         content.add(new JScrollPane(jep), BorderLayout.CENTER);
         setSize(200,200);
         show();
        public static void main(String[] args) { new Test(); }
    }

  • How to embed Edge Animate 2014.1 object in html page?

    Since there is no more *_edgePreload.js file, I don't know how to embed my animation into an html page. I don't wanna use iframe.

    I am new to Edge Animate, and I've created my first project and I believe that it is nearly web ready. The problem is that I already have a site that was not built with Adobe products... again, I'm new here.
    I have scoured the internet trying to find out how to implement this job into our site, but the only answers that I find are statements saying that it works with this builder or that one...or that it can be put in with Dreamweaver and instructions on how to do so.
    We built this site using OptimizePress 2 (a site/page builder for WordPress) , and I would need to put in the created content that I am speaking of via a custom code/html block that I can put on the page in the location I desire the finished product to be located.
    How do I go about adding the finished product to the site... is there a step by step list of instructions on how to do this? There will come a time soon where I will want to make pages using only Edge Animate content for things like landing pages, welcome pages, error pages, etc... but for now I would like to be able to put things in like this that I've built.
    It's just a scrolling "ticker-style" schedule of our session hours. People seem to have trouble scrolling to find them, or even clicking on "Schedule" on our membership side, so we are putting it up in bright scrolling letters.
    One of the guys that helps me with site work managed to get it here.... Trading Scheudle Roller but I need to get this to a code block (element as OP2 calls it) to display this in a particular location. I'm not sure if it's even done right the way he has it in there now
    I'm sorry this got long winded, but any help...instruction or tutorial would be greatly appreciated.
    Thank you,
    Brandon D Gibbs
    The Lion's Den Trading, LLC
    https://thelionsdentrading.com

  • How I post HTML and Video embed code from my component to landing page?

    Hi there,
    How I post HTML and Video embed code from my component to landing page?
    My Components are developed in NODEJS and PHP.
    Thanks

    Answered here http://topliners.eloqua.com/thread/7944

  • How to add html tags to textarea item

    hello,
    i want to have links or bottons that will put html tags in my textarea item
    for example if i will press a link name bold it will put the bold open and close html tag.
    i want to be able doing so without erasing the already text i have in my textarea item.
    thanks
    p.s
    i can't use the textarea with html editor item.

    thanks it works ( still have one more question)
    i used Balaji Chellappa suggestion
    but change it a little bit :
    a href="#" onclick="javascript:document.getElementById('P3_MESSAGE_DESC').value=document.getElementById('P3_MESSAGE_DESC').value + ' B> /B>';">Bold /a>
    one more question:
    this javascript add the bold tag to the end of the textarea item.
    how can i add it the tag where the cursor is ?
    if it's to hard (i'm not javascript expert) i just want to add the tag a line under the text
    for example:
    if my test is : test test test
    and i push the bold link it will be:
    test test test
    b> /b>
    instead of :
    test test test b> /b>
    thanks
    p.s
    how can i put html tag in my posts ?

Maybe you are looking for

  • How do you reset the version on the ipod

    I have a 30g ipod photo and a 30g ipod video. This is my issue, my photo has version 1.2.1. I have a pioneer navi unit with ipod control and it can no longer read my ipod. My video ipod still works and it has version 1.1.1 on it. I reseted my photo i

  • Object type mappings in expression builder

    Hi, I'm trying to use expression builder to give me a query returning all instances of an object with a particular foreign key, and where 'active' = true. 'active' is a CHAR field in the database with values 'T' or 'F' and this is mapped to a Boolean

  • System not populating any report in V_UC

    Hi all, i am runing report Incomplete Outbound Deliveries V_UC system not populating report can any one guide me where i am wrong while executing V_UC report. Thanks Ram

  • RMA FORM USING SMARTFORMS

    I have been requested to make a Return Material Authorization RMA form using smartforms. My questions are: Is there any standard template/format in SAP I can use. And if there is, is there any standard ABAP program which i can use with the form (if o

  • Depreciation Recalculation after control period change in a depr. key

    Hi gurus, I've a problem with dep recalculation: for a specific dep.key (with Multilev.method= 20%, constant)  the control period is 06/06/06/06 so the starting dep date is at the begin of the year. For example if I post (in 2009) 100 for an asset  t