Skip to main content
Participant
July 20, 2010
Answered

getClipboardContents()

  • July 20, 2010
  • 1 reply
  • 476 views

So i thought this was basically a security error... meaning you can only read the clipboard's content with a user generated paste event (only happens through short cut keys or a context menu action). My question is can this actually be called or is just here so you can listen for a paste event and then envoke it your self?

This topic has been closed for replies.
Correct answer robin_briggs

It can be called in an AIR application at any time, and is here for player in browser so that clients can handle paste themselves. In browser context you're right, you can only read from the clipboard in response to a Paste event.

- robin

1 reply

robin_briggsCorrect answer
Adobe Employee
July 20, 2010

It can be called in an AIR application at any time, and is here for player in browser so that clients can handle paste themselves. In browser context you're right, you can only read from the clipboard in response to a Paste event.

- robin