|
|||
|
On 'Right Mouse Button Click', I already set it to 'Show Context Menu'..
Oh.. so, I need change it to 'Show Flash Player Menu' ? but it will show Zoom In, Show All, Play etc when I right click outside the textfield.. how can I get rid of those unwanted menu? |
|
|||
|
okay, so right now i'm trying to paste clipboard using another way..
I'm creating a button, when user click it, it will insert a clipboard into a textfield with instance name vidID. when user press that button, it will do Code:
//AS 3.0
fscommand("FFish_Run", "pasteClip");
vidID.text = clipper
Code:
//pasteClip
var clipContent = Application.clipboard.paste()
FlashPlayer.setVariable("clipper",clipContent)
Code:
FSCommand("FFish_Run", "pasteClip")
Warning: using undefined property "clipboard"
Warning: unknown method "paste"
Warning: using undefined variable "clipContent"
|
|
|||
|
The clipboard feature is only available in swfkit pro. And the way that you call it will not work, as fscommands are asynchronous. Please try the following AS3 code
Code:
import SWFKit.*; import SWFKit.application; var clipbd = new clipboard; vidID = clipbd.paste(); clipbd.Release(); |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|