View Full Version : Cut, copy and Paste in Flex applications

03-17-2009, 03:27 PM
I was wondering if there's any way other than using the systems commands Ctrl-C, Ctrl-X, Ctrl-V to implement these features in Flex. I want to be able to right click and have options like Cut, Copy and Paste. Any ideas of how to implement this?

Peter Cowling
03-19-2009, 06:46 PM
ContextMenu (http://blog.flexexamples.com/2007/08/20/using-a-custom-context-menu-with-the-flex-datagrid-control/)

03-21-2009, 12:36 AM
hm i know some of this topic, others will come soon who are more pro than me :)
flash gives you automatic cut+copy+paste functionality for text input fields.
And i know that you cant retrieve automatically anything from the clipboard due to security reasons. (= there is a command to copy to clipboard, but there is no command for pasting stuff from clipboard via AS.)