If I want to paste from clipboard on a Flex web app, which element and class should I use?

I want to have this function: copy image from somewhere, and paste in an area in  Flex app, can I realize that?
which element to support? canvas?
which class can implement this?
thanks!

With System.setClipboard("Text this in clipBoard"); this we can use for Text, but I am not sure for setting Images in ClipBoard or no.
You can refer this
http://www.flexets.com/show-image-from-clipboard

Similar Messages

  • Cannot paste from clipboard. Cannot read the available clipboard formats.

    I cannot open a new or old pagemaker 6.5 document.  The message comes up 'cannot paste from clipboard.  Cannot read the available clipboard formats.
    It will not let you do anything and I have to close by Alt. Ctrl. Delete.
    Any help would be much appreciated.
    Linda

    Let me confirm what you're saying.
    PM (windows?) loads up OK, but when you try to open an existing or create new publication, you get the error "'cannot paste from clipboard.  Cannot read the available clipboard formats"?
    !. PM6.5 can only be operated on a contemporary OS, like Win98SE or Win2K.  Generally speaking, with later versions on Windows, it's a non-starter.  If this is the case, and it's essential you open your PM files, download and install the trial version of PM7.
    2. You probably have some corruption somewhere.  You can try trashing all the configuration files (search using the string  PM65*.cnf ) and re-loading PM65
    3. If suggestion 2 fails, you need to remove and re-install PM65, but even this may not work.  See 7.6 - Re-installing PageMaker of this linked PDF which was taken from the old AdobeForums FAQs.  (Note the date of this FAQs and begin to realise how ancient PM65 is.)
    4. Forget all the above, and move to InDesign.
    Iechyd da! John
    23:09 15/09/2009 BST

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • How do I copy & paste from an email to another web site?

    How do I copy & paste from an email to another web site?

    Hello, not quite sure what it is you want to do.
    In Mail you can copy something by highlighting it & CMD+c, or Mail>Edit>Copy, but whether you can paste it to a website, not sure, but you could say paste in in a Reply here...
    Re: Grey Screen with spinning gear
    reply from duwatucan in Mac mini - View the full discussion
    Congratulations, your post has solved duwatucan's question.
    Learn more about the Apple Support Communities Reputation System
    Did this help? Go to the message, sign in, and reply
    Start a new discussion in the same community

  • I have a isic card and i am a student and i want to see if you have any discount for app for apple and for the i phones and if i have the b.o.box in the us can i buy the iPhone from your site

    i have a isic card and i am a student and i want to see if you have any discount for app for apple and for the i phones and if i have the b.o.box in the us can i buy the iPhone from your site

    Apple does not offer educational discounts on the iPhone. I don't know what you mean by "app for Apple".
    Regards.

  • Access file object from flex web app

    Hi all,
    I want to access file object from flex web app. What should i do?
    I have to take array from my XML. In XML there will be only dir path. So for taking file name from dir i have to access it and have to perform for loop on that dir.
    What should I do?
    Any Ideas?
    Thanks,
    -CK

    Hi Michael
    My question is that I dont want to give name of images in XML file.
    In XML file there will be only path of image directory. So I need to find all image name from that image directory.
    Thats why I want to access file object.
    Any ideas?    

  • I have ip 3gs and ios 4.1 i want to upgrade it to download latest version of apps ,which ios will be compatible and is there any danger to update ios before i erased all settings and content and i tried to update but it failed .it is working properly

    i have ip 3gs and ios 4.1 i want to upgrade it to download latest version of apps ,which ios will be compatible and is there any danger to update ios before i erased all settings and content and i tried to update but it failed .it is working properly but i want to update from itunes.iwill do back up but is there any other thing i will face after updating like it will jut show apple loge and will not work. please answer quickly

    An iPhone 3GS is too old to update to the very latest iOS and you will never be able to use apps that are compatible.  The phone is just too old now in technology terms and the app makers have all moved on, so it's time to get a new phone. 
    Ideally, perhaps get an iPhone 4s or if you can afford it, an iPhone 5s or 5c which are the newest models.

  • All the my messages from my phone inbox disappeared.Why did it happen and how should i get the messages back?please help

    All the my messages from my phone inbox disappeared.Why did it happen and how should i get the messages back?please help

    Is the MacBook the computer you have synced with in the past? If not you can use the computer that you have synced with to restore your apps. Are you sure you are using the same Apple ID that you used to purchase the Apps?

  • HT201335 It got nA new router today and wanted to turn on apple tv but my remote app on iPad and iPhone will not recognize apple tv. Btw- I do not have apple tv remote.

    It got A new router today and wanted to turn on apple tv but my remote app on iPad and iPhone will not recognize apple tv. Btw- I do not have apple tv remote.

    It reboots it but unplugging can also rectify communication issues like this. A restore would be the next step.

  • HT201441 I buy may iPhone 5 from the UK store ,, It s A new one and no one has used it before ,, the problem that it asked for an other apple ID !!! ,, my order for my iPhone is here in the UK store .. what should i do now ????     ,,, help me please

    I buy may iPhone 5 from the UK store ,, It s A new one and no one has used it before ,, the problem that it asked for an other apple ID !!! ,, my order for my iPhone is here in the UK store .. what should i do now ????     ,,, help me please

    Take it back and ask for a refund or a replacement.

  • Urxvt pasting from clipboard.. efficient, fast, clean

    All urxvt users know this problem: you cannot paste from X clipboard into urxvt.
    There are various workarounds.  Many of them rely on synchronizing primary selection with clipboard (which I do not like.  I don't want to "lose" a buffer).  this can be in the form of autocutsel, or keybinds to do something like "xsel -bo | xsel -p", which has the additional disadvantage it requires an extra keyboard shortcut (one to sync the primary selection, one to do the actual paste).
    I was wondering what would be a simple and clean way to paste the clipboard into urxvt (by using a -but only one- keyboard shortcut), without touching the primary selection.
    I came up with putting this in my .xbindkeysrc
    "xdotool type "$(xsel -bo)""
    alt+Insert
    But it's not perfect.  I also tried with --clearmodifiers.  If you try this out, you'll notice sometimes the paste will work, sometimes it will work half.  Sometimes it replaces existing text, sometimes it will do nothing, and the best part is sometimes if you do backspace or stuff like that it behaves differently, I actually messed up my keyboard events with this.
    Anyone an idea for the "perfect" way to go?

    realturner wrote:
    I've just found this page recently and made a solution:
    #! perl -w
    # Usage:
    # URxvt.perl-ext-common: clipboard
    # URxvt.keysym.Mod4-c: perl:clipboard:copy
    # URxvt.keysym.Mod4-v: perl:clipboard:paste
    # consult command "xmodmap" to see what your modifier mapped into.
    sub copy {
    my ($self) = @_;
    my $pid = open( pout, "| xsel -ib" ) or die "fork";
    print pout $self->selection;
    close(pout) or die "close";
    sub paste {
    my ($self) = @_;
    my $content = `xsel -ob` ;
    $self->tt_write ($content);
    sub on_user_command {
    my ($self, $cmd) = @_;
    if ($cmd eq "clipboard:copy") {
    $self->copy;
    if ($cmd eq "clipboard:paste") {
    $self->paste;
    save this script as /usr/lib/urxvt/perl/clipboard
    then add lines in ~/.Xdefaults:
    URxvt.perl-ext-common: clipboard
    URxvt.keysym.Mod4-c: perl:clipboard:copy
    URxvt.keysym.Mod4-v: perl:clipboard:paste
    should have a good work for copy/paste via Win+C/V
    Edit: changed the method piping to xsel, avoid escape sequence problem.
    wow! nice. thank you.
    i didn't update this thread for a while, but i noticed that the earlier xdotool based solutions (including mine and Procyon's) sometimes just don't work, and I don't know why i will try this approach for a while
    btw is there no recommed userspace location for urxvt scripts? otherwise, package your script please

  • Paste from clipboard?

    I used the listener to get the javascript to copy in an object from InDesign using BridgeTalk. the problem is, I want to use the dimensions from the clipboard every time, not the dimensions recorded during the original "listen", anybody know how to change this?
    Thanks in advance!
    Heres the current script:
    var obj = app.activeDocument.selection;
    app.select(obj);
    app.copy(obj);
    //function pasteToPS() {
    var bt = new BridgeTalk;
    bt.target = "photoshop";
    var myScript = '//start\n';
    // insert stuff from PS listener below this line
    // =======================================================
    myScript += 'var id53 = charIDToTypeID( "Mk " );\n';
    myScript += ' var desc8 = new ActionDescriptor();\n';
    myScript += 'var id54 = charIDToTypeID( "Nw " );\n';
    myScript += 'var desc9 = new ActionDescriptor();\n';
    myScript += 'var id55 = charIDToTypeID( "Md " );\n';
    myScript += 'var id56 = charIDToTypeID( "RGBM" );\n';
    myScript += 'desc9.putClass( id55, id56 );\n';
    myScript += 'var id57 = charIDToTypeID( "Wdth" );\n';
    myScript += 'var id58 = charIDToTypeID( "#Rlt" );\n';
    //var from clipboard instead of the 122 value?
    myScript += 'desc9.putUnitDouble( id57, id58, 122.000000 );\n';
    myScript += 'var id59 = charIDToTypeID( "Hght" );\n';
    myScript += 'var id60 = charIDToTypeID( "#Rlt" );\n';
    //var from clipboard instead ofthe 119 value?
    myScript += 'desc9.putUnitDouble( id59, id60, 122.000000 );\n';
    myScript += 'var id61 = charIDToTypeID( "Rslt" );\n';
    myScript += 'var id62 = charIDToTypeID( "#Rsl" );\n';
    myScript += 'desc9.putUnitDouble( id61, id62, 72.000000 );\n';
    myScript += 'var id63 = stringIDToTypeID( "pixelScaleFactor" );\n';
    myScript += 'desc9.putDouble( id63, 1.000000 );\n';
    myScript += 'var id64 = charIDToTypeID( "Fl " );\n';
    myScript += 'var id65 = charIDToTypeID( "Fl " );\n';
    myScript += 'var id66 = charIDToTypeID( "Trns" );\n';
    myScript += 'desc9.putEnumerated( id64, id65, id66 );\n';
    myScript += 'var id67 = charIDToTypeID( "Dpth" );\n';
    myScript += 'desc9.putInteger( id67, 8 );\n';
    myScript += 'var id68 = stringIDToTypeID( "profile" );\n';
    myScript += 'desc9.putString( id68, "sRGB IEC61966-2.1" );\n';
    myScript += 'var id69 = charIDToTypeID( "Dcmn" );\n';
    myScript += 'desc8.putObject( id54, id69, desc9 );\n';
    myScript += 'executeAction( id53, desc8, DialogModes.NO );\n';
    // =======================================================
    myScript += 'var id70 = charIDToTypeID( "past" );\n';
    myScript += 'var desc10 = new ActionDescriptor();\n';
    myScript += 'var id71 = charIDToTypeID( "AntA" );\n';
    myScript += 'desc10.putBoolean( id71, true );\n';
    myScript += 'var id72 = charIDToTypeID( "As " );\n';
    myScript += 'var id73 = stringIDToTypeID( "smartObject" );\n';
    myScript += 'desc10.putClass( id72, id73 );\n';
    myScript += 'var id74 = charIDToTypeID( "FTcs" );\n';
    myScript += 'var id75 = charIDToTypeID( "QCSt" );\n';
    myScript += 'var id76 = charIDToTypeID( "Qcsa" );\n';
    myScript += 'desc10.putEnumerated( id74, id75, id76 );\n';
    myScript += 'var id77 = charIDToTypeID( "Ofst" );\n';
    myScript += 'var desc11 = new ActionDescriptor();\n';
    myScript += 'var id78 = charIDToTypeID( "Hrzn" );\n';
    myScript += 'var id79 = charIDToTypeID( "#Rlt" );\n';
    myScript += 'desc11.putUnitDouble( id78, id79, 0.000000 );\n';
    myScript += 'var id80 = charIDToTypeID( "Vrtc" );\n';
    myScript += 'var id81 = charIDToTypeID( "#Rlt" );\n';
    myScript += 'desc11.putUnitDouble( id80, id81, 0.000000 );\n';
    myScript += 'var id82 = charIDToTypeID( "Ofst" );\n';
    myScript += 'desc10.putObject( id77, id82, desc11 );\n';

    Hello Christoph,
    Fortunately, no. I have seen them do some very stupid things before, but this is what we have found to be the fastest way to create composites and create new scaled images for printers dpi regulations. I have seen many scripts that will scale and rotate the original placed link. Those scripts may work fine but they don't crop the images to the bleed size as copying from ID and pasting into PS would. This is important because sometimes we are dealing with 1 gig files, then scaling them up creates what is basically an unusable file. Is this something that could logically be scripted? Have you seen one like this?
    What we manually do now, which is what I would like to script is:     Select image(s) in ID, copy, in Photoshop make a new document, 300 dpi, CMYK, no color management. Then we would paste the clipboard data into this new Photoshop document as a smart object, with the top left corner 0 px, 0 px. Then we save it out using the original links name with an _xxx (xxx is the percent the link was placed in ID) added to the end of the name. We save them as flat tifs with LZW compression to a designated "Scaled Links" folder. Then, we place it in ID at 100%, at bleed.
    As you can see, this is a relatively simple task, but can be time consuming if you need to do it 50 times my 3:30 this afternoon! If you have any tips or suggestions, I would greatly appreciate it.
    Thanks,
    Danny

  • Forms 11gR2 - paste from clipboard into image item

    Hi, how can I paste image from clipboard straight into an Image item on Form?
    If it can't be done via standard Forms functionality, is there any workaround - I mean can Java Bean do it, or maybe drag and drop via Beans Area?
    I know it's quite odd functionality, but any hint is much appreciated.
    Thanks in advance. Jack

    Hello,
    <p>I think that it is not possible. The only ways to populate an Image Item is to use the Read_Image_File() or to query from the database.
    You can use a Java Bean that allows to drag and drop an image file.</p>
    Francois

  • Bug:  Copy / Paste from Clipboard.  Issue on HTML build.

    Bug: Copy Pasted from the clipboard.  On export to HTML, some of the graphic references got confused.  Replaced 4 image with the 3rd and 4th no where to be found.

    While there isn't a unique number displayed with each pasted item in the Assets panel, Muse does append a number to the image file name on export to maintain unique names on the exported site.
    As noted in my reply to your other thread, please export from scratch to an empty folder and verify the behavior. Thanks.

  • Object is distorted when pasted from clipboard into Acrobat

    I am running Acrobat X Pro. I can copy an image from my application and paste it Word without problem. However, if I paste it into Acrobat via Edit/Paste or using the Comment/Stamp tool to paste from the clipboard, the aspect ratio of the image is distorted. If I copy the image to Word, then copy it from Word and paste into Acrobat, it is not distorted. Is there any known problem with pasting metafiles from the clipboard into Acrobat? Any clues for diagnosing what might be the problem?

    A better approach might be to use Acrobat X Pro's Edit Object Tool to insert the image.
    Be well...

Maybe you are looking for