开发者

workaround for Flash 10 clipboard restriction

Is there a workaround for the Flash 10 clipboard restriction that will only activate the clipboard if interacting with the flash movie? More info here: http://www.adobe.com/devnet/flashplayer/art开发者_Python百科icles/fplayer10_uia_requirements.html This basically will stop you from automatically assigning the clipboard from Javascript.

Is there a way possibly to synthesize a click into the flash movie from JS?

I want to be able to assign the clipboard without having to interact with the flash movie and I want to keep it 1x1px and off to the side.


Nope - afraid not. There is no work around for this.

  • You can't send events into Flash. You can bring them out - but they mean nothing to JS
  • You can make events, but you cannot synthesize a real click event.

I was doing the same thing when generating an upload browser window from flash activated by javascript - I don't think I ever found a work around.

Uber sucks I know


Well, it looks like my OCD tenacity is paying off. I actually found a pretty cool workaround

http://code.google.com/p/zeroclipboard/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜