ADOBE AIR Application - Right click can call a function? - actionscript-3

I wonder if with a AIR app written in AS3 the right click on the scene can do other things that display a context menu ?

Yes, there is a rightClick event

Related

Webcam Capture/Panel JavaFx and Swing

I am using the sarxos webcam capture and I successfully have it working in Swing with a with the Webcam Panel which uses Jpanel.
I now need to use this in my Java Fx application.
So my question is, how do I put a Swing Jpanel in say an anchor pane, or something else?
I looked at Swing Node but couldn't find examples for this?
Any suggestions?
Thanks

How to pin script frame to actions panel in Flash CC 2014 like it was in Flash CS6

In Flash Pro CS6 there was a very useful "Pin Current Script" button on action panel. I used it in all my projects.
In Flash CC 2014 it is not there any more and every time I select an object, the script window shows the script on symbol or frame I have selected. I need my main script and other frames to be pinned like in Flash CS6.
Is there any way to pin script frames to scripts panel in CC 2014?
As you have noticed, pinning scripts has been deprecated in CC: https://forums.adobe.com/message/6137313
Instead, you'll have to use the Framescript Navigator to click between frame scripts:

how do I use ActionScript 3 / Flash components?

I want to use the ScrollPane component. One tutorial said I go to
Window -> Components
and click ScrollPane, but there is no components when I go to
Window -> Components
. I found this:
http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fa2.html
If you scroll down in the link above, it mentions that I can import it using ActionScript like so:
import fl.containers.ScrollPane;
but it gives me an error saying
Scene=Szene 1, layer=actions, frame=1, Line 1 Syntax error.
I found this later on:
http://forums.adobe.com/thread/617557
and apparently the solution is to "add a ScrollPane to your fla's library"? How do I do this? One of the users on that forum also mentioned
"any AS3 package that begins with fl requires a component either on stage or in the library of that FLA file". How do I put a component of the ScrollPane in the library? Isn't the ScrollPane what I am trying to import?
Note: I am using Flash CS5 and ActionScript 3.
Found the answer. I was working in Adobe Flash CS5 and I needed to change the Flash player version to Flash Player 10 and verify that ActionScript 3 was being used.

AS3 multi-touch buttons error

I made two buttons and created action script below and then i published it and tested on my Galaxy3 but multi touch does not work. can anyone tell me what to do step by step? i am very very new to scrips and all that. probably some example file would be so so so nice!
import flash. ui. Multitouch;
import flash. ui. MultitouchInputMode;
Multitouch. inputMode = MultitouchInputMode. TOUCH_POINT;
Check this URL, with all necessary information about touch, multitouch and gesture input.
Also, I extremely recommend you to check Gestouch (multitouch gesture recognition library for Flash (ActionScript) development), check some examples and how to use here

DFP errors on swf file - "Flash files with mouse tracking are not allowed."

I built a flash project that uses the Jumpeye Components. I exported to an .swf file and I'm getting an error when uploading my creative to Doubleclick For Publishers.
"Flash files with mouse tracking are not allowed."
What might be causing this, or how can I disable mouse tracking?
Probably they check if the SWF you upload listens for MouseEvent.MOUSE_MOVE while inactive (by default). So, if your Jumpeye component is an eye following your mouse cursor, as I guess by the name, it does this very trick, is detected and disallowed.
I had to setup the banner as a "3rd party" banner ad and it's working now. Thanks!
To bypass this, when uploading the creative, select "system defined templates" then type in "Flash banner with optional third party tracking".
All of the standard Flash fields are available.
Not sure if this is what the accepted answer means, but that wasn't apparent.