How to copy richEditableText content to clipboard??

i want to copy a richEditableText content to the system clipboard
i wrote this:
System.setClipboard( myRichEditableText.content );
but...... the parameter must be a string .......
could anyone teach me how to do that @@?

thx a lot.  : )
i've met a trouble again, could u help me?
if i have a variable
public var myVar:String == "xxxx"
and i wanna add this string variable to a textFlow  , what should i write??
<s:TextFlow>
<s:p><s:span>
</s:span></s:p>
</s:TextFlow>
doesn't work T.T ....
2010/3/3 Vikram_S <[email protected]>
Hi,
>
http://help.adobe.com/en_US/Flex/4.0/langref/spark/components/RichEditableText.html#conten t
     Please go to this link. Here they have mentioned to use textFlow
property.
     You can get content form textFlow use deepCopy() method.
>
http://help.adobe.com/en_US/Flex/4.0/langref/flashx/textLayout/elements/FlowElement.html#d eepCopy%28%29
     This will return FlowElement. Using FlowElement you can get text.
toString method.
>
     This should help you...
Thanks,
Vikram
>

Similar Messages

  • How to copy the content in XMLtype column between databases

    Hi, there,
    Does anyone know how to copy the content in XMLtype clumn between databases? I tried insert as select via database link and it gives me the following message:
    SQL> insert into nrt_ot_request_temp (SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML )
    2 select SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML from nrt_ot_request@nrtdb_acacia;
    select SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML from nrt_ot_request@nrtdb_acacia
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Thanks,
    Jessica

    Hi Jessica,
    in my eyes the second statement
    select ... xmlstring_column ... from table@remote_side;
    causes the error. Columns of type XMLString internally are stored as CLOBs in Oracle. Unfortunately there are restrictions on statements for CLOBs and remote locators.
    It seems you cannot say
    SELECT clob_column FROM table@remote_site;
    Remark: For me this is a showstopper for the datatype XMLString if you cannot run a simple statement like this one. It seems you can do an insert and an update but no select.
    On the other hand your first statement
    INSERT INTO table_local SELECT * FROM table@remote_site;
    should work following the documentation.
    See also
    http://docs.oracle.com/cd_a97630/appdev.920/a96591/adl04mng.htm#98328
    Best regards
    Indu Keilitz

  • HOW TO COPY BUISNESS CONTENT SOME  CHARACTERSTICS   AND KEY FIGURE I WANT

    HOW TO COPY BUISNESS CONTENT SOME  CHARACTERSTICS   AND KEY FIGURE I WANT TO LOAD MY  INFOCUBE  PLEASE GIVE DETAILS SCREENSHOTS

    HI,
    Go through this url
    [http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a66d5e07211d2acb80000e829fbfe/content.htm]
    Regards,
    Rajkandula

  • How to copy original content from memory card to a...

    I ordered a memory card for my 6233, and tried to copy the contents of the card to my PC, in order to get them onto the new memory card - but I get an "access denied" message when connecting the phone via my USB cable in storage mode. I assume this is because the content is copy protected.
    Is there anyway of copying the data from my old miniSD card to my new one, using Windows?
    5800 v20.0.012 -- 6500s v9.40 -- 6233 v5.43 -- 5140 v3.13

    how many STUPID answers...
    if you don't have to say something smart, don't say at all, don't bother.....

  • How to copy cell content without formula

    In numbers, how do I copy and paste the cell content without transferring the underlying formula?

    Use the menu item "Edit > Paste Values" when pasting instead of <COMMAND>+v (paste)
    Message was edited by: Wayne Contello

  • How to copy active documentname to clipboard

    Hi,
    I need a script for PS which will copy active document name to the clipboard, which then have to manually'll put myself as the text in the picture.
    Reading the document's name I've already got:
    MyDoc = app.activeDocument.name;
    but I can not cope with this copy. I should be grateful for any help and suggestions.
    Yours
    Rafal

    There used to be a Script around called »AddFileName.js« that may help, though it did not go through clipboard but just created a text layer.
    http://newsgroups.derkeiler.com/Archive/Comp/comp.graphics.apps.photoshop/2005-11/msg00309 .html

  • Unsure how to copy current contents of iPod back to iTunes for future use

    Had a system failure that required operating system upgrade to Windows Vista. This left iPod with orphaned content that does not show on iTunes. Am afraid that if I put new content on the iPod, the old would now be gone forever. Looking for a ready-access backup version to be held on iTunes such that it can be reloaded at any time.
    P.S. - Also, under Vista and iTunes 7, I no longer seem to be able to create new/distinct playlists.
    Thanks...

    If you've lost all of the music you had saved on your pc and it only survives now on your iPod, then one of the easiest ways to repopulate iTunes with the music from your iPod is to follow the instructions on this thread...
    http://discussions.apple.com/thread.jspa?messageID=1643495&#1643495
    As for backing up iTunes, check out Apple's technical article http://docs.info.apple.com/article.html?artnum=302392 on how to do this. I think there are other methods of doing it as well. Search this forum and you'll find lots of discussions about it.

  • How to copy the content of one file into another

    I have tried this code
    try {
                   fin = new FileInputStream("file path");
              catch(FileNotFoundException exc)
                   System.out.println("File not found");
                   return 0;
              catch(ArrayIndexOutOfBoundsException exc)
                   System.out.println("Usage: Showfile file");
                   return 0;
              while(true){
                   i=fin.read();
                   if(i==-1)
                        break;
                   cnt++;
              fin.close();*/
    now in this way i can lift one character at a time and copy it into another file (note i have not done the copy part in this code but that can be implemented) however this whole procedure is taking too much time if the size of the file is too big....kindly suggest another way to copy one file into another

    have you ever copied and pasted a large file in Windows or another OS? Larger files take more time to copy, that's just how it is.

  • How to copy terminal output into clipboard

    Good morning.
    Sorry for posting this topic in mavericks, but there is no standard software part...
    Ok.
    I use the screen command in terminal to communicate with a serial interface.
    The problem is, when the output is too long I can't see the beginning of ot , because screen only writes at the screen size of terminal and the user is not able to scroll above ... if u try this, u'll see earlier history of terminal.
    It would be helpful to copy an output to the clipboard so I can paste it in vim, gedit, pages,... whatever.
    I tried:
    <command> |xclip
    <command> |pbcopy
    but both commands weren't found and have not worked yet.
    Who can help me? :-)
    Thanks in advance.

    When you in a 'screen' sesssion, everything you type is going to the serial port you are controlling, so normal Mac OS X commands are not going to apply, including pbcopy.  If the serial device you are talking to is another Mac, then at best you would be telling that Mac to put the output into its paste buffer, which will not do you any good on your Mac.
    The fact that you found <command> | less works, implies that your serial port is connected to a Unix type system.
    Accourding to "man screen", screen has its own scrollback history buffer.
    It also has the ability to log screen output to a screen.<n> file where <n> is the screen number.
    Once you have something in a log file on your Mac, you can then extract the information using any utilitiy you want (nano, vim, gedit, pages, cat, grep, awk, perl, etc...), including pbcopy if that is the way you want to go.
    NOTE:  While I've used screen years ago, my use was very minimum and I never became all that good at it.  My initial use was to preserve sessions when comm-lines were unreliable and screen would let me reconnect and continue the existing session, but they were not so unreliable that I spent that much time using screen.

  • How to copy the contents of objects of one user to other without EXP ,IMP

    I have a user x, i want to copy all the object from x to y without exp and imp

    I suppose you could write a procedure using a bunch of DBMS_METADATA.GET_DDL() commands. Find out all the objects user x owns and loop through them, getting the ddl for each of them and executing the DDL for user y?

  • Copying the Contents of Keychain

    I am about to do an erase and install of Leo. Does anyone know how to copy the contents of the keychain to save from losing all my passwords?
    Keychain has an Export option but I can't get it to work. It is simply greyed out.

    Many thanks. Selecting the login keychains don't seem to allow you to copy them but the system keychains do.
    Anyway, the suggestion to copy the file sounds better. Does this copy all keychains?

  • Please help - how to copy DVD to computer so that it will play on computer

    I apologize if this is the wrong forum, but I am stuck. I have a DVD of my son-in-law's memorial service that I need to copy onto my computer in a playable form. The DVD itself works great on both the TV, and on the computer (playing with iDVD on the latter). However, I simply do not know how to copy the contents of the DVD to my hard drive so that it will play directly from the drive, and so that I can place the video file in my .Mac public folder for relatives to download. When I open (not play) the DVD, I see two folders: AUDIO_TS which is empty, and VIDEO_TS, which contains files. I have copied these to my hard drive, and I have also made a disk image of the DVD on my drive. However, neither of these gives me a file on which I can click and get it to play. (If I insert the DVD itself into the computer, iDVD launches and the movie plays). Please help. Thank you!

    Here's a sample of what you need to do:
    Step 1
    Step 2
    Message was edited by: SDMacuser

  • How to copy a page( webpart page) with its content using client side.

    How to copy a page(in my case  webpart page) with its content(it may contain webparts) using client code (i mean using SPservices or ECMA script).
    What i am planning is ,to give end user a page where it will contain text box to specify  name of page and a button with the help of  content editor webpart.
    where on click of button we need to write client side code such that it should create a new page from a existing page in a library with given name by user.
    Any suggestion would be helpful. For your information we can do it through UI with the help Site Actions / Manage Content and Structure.But i want to automate it using client side code.Server side code is restricted.
    or can we create a template of an existing page with content without the help of sharepoint designer.
    Thanks in advance
    with regards Ravichandra

    This is good example
    http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/
    Create web service
    http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/. Create method "Create Page" http://www.learningsharepoint.com/2010/09/17/create-publishing-pages-sharepoint-2010-programmatically/
    Build your Java Script. You can use Content Editor Web Part if you want to avoid custom web part development http://www.codeproject.com/Articles/544538/JQuery-with-SharePoint
    Oleg

  • After recording text using the dragon dictation app, it is converted, it can be copied to the iOS system clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    after recording text using the Dragon dictation app, it can be copied to the iOS systme clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    You need to do a long-press in any data entry field, then select Paste.

  • How to get(copy) the contents i.e the cell of an excel sheet to other excel

    How to get(copy) the contents i.e the cells of an excel sheet to another excel sheet.
    I can read the contents i.e the text in the cells and able to display it in the Java console
    i want these contents to be copied to another excel sheet with the cells data.
    I am using Java Swing for the UI, POI framework for the excel work.
    Please anyone suggest some code to this requirement.

    [spreadsheets with poi|http://poi.apache.org/spreadsheet/converting.html] Hi
    on the poi apache site there's a number of good examples...
    I started with poi only a week ago, but just from reading these examples
    (especially SS Usermodel code) i managed all i needed to know (so far).
    kind regards
    BB
    Edited by: BugBunny on Feb 22, 2010 4:36 AM

Maybe you are looking for

  • Setting logging level

    Hello folks; Is there a way to set the logging threshold for log messages sent to the weblogic log? I see where to adjust logging threshold for the standard out, but this level doesn't seem to affect the threshold for messages getting to the physical

  • Can a 2012 Mac Pro use a 2012 27in iMac as a primary display?

    Greetings all, I am trying to spec out a trade show configuration. It will have a Mac Pro, A couple iMacs, a few Macbook Pros and a couple iPads. What I need to know is if one of the iMacs can serve as the display for the Mac pPro. The money is not a

  • Problem with Launchpad

    If I open the Launchpad and start to move between its pages, Launchpad loses its smoothness after 4-5 scrolling between its pages. I thought it was because the new update, but just do not notice it before. The more icons, the more noticeable slowdown

  • C_LOAD_DATES in BAW 7.9.5.2(ODI)

    Hi All, I believe c_load_dates table is used to fetch the last extract date for a table. The insert query for C_load_dates stores the following: LAST_MAX_DATE --->ADD_TO_DATE(%NOW%,'DD',(-1)*TO_FLOAT(P.PARAM_VALUE) ///which is 30 ETL_LOAD_DATE ---> %

  • Edit Built in Reports

    Hi, Can I change the SQL Query of the built in Reports. Please  help