How to copy an 开发者_JAVA技巧image in AS3 to the clipboard? For text it works but I can't find a way to copy an image.
System.setClipboard("my text")
You cannot. From the docs:
Parameters
string:String — A plain-text string of characters to put on the system Clipboard, replacing its current contents (if any).
However, with Air you can use: Clipboard.setData()
instead.
精彩评论