开发者

AS3 - Copy image to clipboard

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜