How to Run Air on any PC from CHORME or IE Explorer
I also published this question in the General CC Forum, then I saw this AS3 Forum (please excuse duplicate entry.)
I create a Mouse Detection Event that detects all three mouse button events (AS3). The MIDDLE_MOUSE_DOWN event executes perfectly on PC1. However, middle mouse detection does not work when I open the same file in Chrome or IE on PC2?
Summary:
All three mouseclick events are detected on PC1.
However... ONLY left mouseclick detected on PC2?
All configs are identical on both PCs:
Air Installed Player 2.6
Flash Player 11.8
Published AIR html
Same CHROME & IE Explorer Browsers both sys
Same PC systems win 7, SVC 1 etc.
What is missing to prevent my second PC2 from detecting the mouse clicks... Any ideas?
Thanks,
please don't cross post.
Similar Messages
-
How to run the open script code from eclipse?
Hi,
How to run the open script code from eclipse.
Please let me any soulutions on this.Hi Konda
I am not quite sure you can do that and it would even be not supported... Again, what is the purpose? Why do you want to run your openscript code in Eclipse?
What is the code you try to run?
As an example, even if you include al the jar files and so on. don't think the function "Launch Browser" could work because it isn't only java code orjar files.....
If you give us more background. maybe we can guide you to a better solution...
JB -
How to run form in the background from command line
please can anybody tell me to
how to run form in the background from command line
vishalUmmm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
Cheers, APC -
How to run an external .exe file from an indesign pluging
Hi,
Suppose if I have written an separate application in C++ (.exe file) & need to run it from an indesign pluging(as if a service in windows). have you provided that facilities in your SDK? if it's please let me know how to run an external .exe file from a indesign pluging.
Thanks,I'm actully writing data in PMString to a external txt file.
another question..
if i want to execute an action when the ok button is cliked how can i do it?
whe i add a button(widget) i know how to handle it. please see my code.
// Call the base class Update function so that default behavior will still occur (OK and Cancel buttons, etc.).
CDialogObserver::Update(theChange, theSubject, protocol, changedBy);
do
InterfacePtr<IControlView> controlView(theSubject, UseDefaultIID());
ASSERT(controlView);
if(!controlView) {
break;
// Get the button ID from the view.
WidgetID theSelectedWidget = controlView->GetWidgetID();
if (theChange == kTrueStateMessage)
//if (theSelectedWidget == kEXTCODGoButtonWidgetID
switch(theSelectedWidget.Get())
case kEXTCODGoButtonWidgetID:
this->ViewOutput();
break;
case kEXTCODFindButtonWidgetID:
this->SaveLog();
break;
// TODO: process this
} while (kFalse);
I do two actions "SaveLog" & "ViewOutput()" using two buttons. But i dont know how to execute an action when the ok button is clicked... -
How to run OPatch against Node Manager from the admin server
How to run OPatch against Node Manager from the admin server
Hello,
I'm not sure what you meant by Opatch against nodemanager.You can check the below document about how to apply patches using Opatch
Oracle Fusion Middleware Patching with OPatch - 12c (12.1.2)
Refer the section " Common OPatch Commands When Patching an Oracle Fusion Middleware Oracle home"
/MR -
How can i air display the Screen from mac to the more than 3 iPads?
how can i air display the Screen from mac to the more than 3 iPads?
thanksEnergy Saver, you can keep the computer awake while the screen saver shuts the monitor off but I'm not sure that would do it for you.
-
How to upload and download any file from plsql through weblogic server
hi all,
how to upload and download any file from plsql through weblogic server? i am using oracle 10g express edition and jboss.
Thanks and Regards,
MSORAhi bala ,
for a windown server u can use VNC (virtual network connection) which opens a session on u r desktop later u can drag and drop form there vice versa and for a linux box you can use Win SCP which helps to open a session with interface to u r desktop in both cases you can upload and down load files very easiy just as we drag and drop items in a simple pc .. we use the same technique...
bye
vamshi -
How to run a CMD command directly from run ?
How to run a CMD command directly from run ?
Like "cmd md D:\abcd". I did this before. But now I totally forgot how to do that ?
Please help..........Hi,
To add, here is the command CMD reference:
Cmd
Best regards
Michael Shao
TechNet Community Support -
How to run Content DB Client console from JDevloper
Hi
I have downloaded all the content db client console pages from server. Please let me know how to run the console from my local machine thru jdeveloper. When i tried to run it is giving some runtime exceptions.
Sep 10, 2007 10:46:07 AM oracle.ifs.fdk.http.HttpNodeManager
INFO: Creating HTTP Node ...
07/09/10 10:46:07 Cannot create HTTP Node:
oracle.ifs.common.IfsException: IFS-45061: Unable to create node
oracle.ifs.common.IfsException: IFS-20016: Required parameters are null (either "Schema Name" or "Domain Name" should be non-null)
at oracle.ifs.management.domain.HttpServletNodeUtilities.createNode(HttpServletNodeUtilities.java:243)
at oracle.ifs.management.domain.HttpServletNodeUtilities.createNode(HttpServletNodeUtilities.java:156)
at oracle.ifs.fdk.http.HttpServer.createNode(HttpServer.java:162)
at oracle.ifs.fdk.http.HttpNodeManager.contextInitialized(HttpNodeManager.java:37)
Please let me know if there is any documentation for this.
Thanks
RaviHi,
I built berkeley DB 4.4.20 and use it from Jbuilder2005, I noticed that tha size of Jbuilderw.exe consumes about 96MB of memory and the size of javaw.exe consumes (in my application) about 63MB. so I thought that if I load the jdk1.4 only ( by running my code from the command line) this will save memory because not all compenents of Jbuilder will be loaded into memory. to do so, I copied the directory jdk1.4 from inside jbuilder2005 and put it on c:\, then I build berkeley DB using visaul c++ 6.0 and filled the following pathes in the include directory(tools-->options->directories)
c:\jdk1.4\include
c:\jdk1.4\include\win32
and in the executable files directories I added the following path:
c:\jdk1.4\bin
then I set the classpath from inside windows (server2003), and I set the path as well but when I run the java class from the command line, I recieved message like "the packege com.sleepycat.db " not exist
thanks -
How to run Executables or .bat files from Java?
Hi!
I need to open a Web Browser from Java App.
Please, help me to do this without calling JNI
-or-
provide me with sample which works with
Runtime.execute() method.
I have done full permission:
grant
permission java.security.AllPermission "","";
};Thank You in advance!To run any command from java code, the method is
Runtime.getRuntime().exec( myCommandString )
Where, myCommandString is something like "/full/pathname/command".
If the pathname contains spaces, e.g. "c:\program files\windows\notepad", then enclose it in quotes within the quoted string. Or pre-tokenize them into elements of an array and call exec(String[] cmd) instead of exec(String cmd).
From JDK1.3 there are two new overloaded Runtime.exec() methods. These allow you to specify starting directory for the child process.
Note, there is a gotcha associated with reading output from commands. When the runtime exec's the process, it passes to it 3 streams, for stdin, stdout, and stderr; the out and err are buffered but the buffer size isn't very big. When your process runs, it reads (if needed) from in, and writes to out and err.
If it doesn't write more than the buffer-size, it can run to completion.
But if it tries to write more data to one or the other stream than the buffer can hold, the write blocks, and your process hangs, waiting for you to empty the buffer so it can write some more.
So after the exec call, get the streams, and read from them in a loop until they both hit end-of-stream (don't block on either one, just read whatever is available from each, each loop iteration).
Then when the streams have ended, call the process.waitFor() method to let it finish dying.
Now, here is a code snippet how you achieve this.
String strCommand = "cmd.exe /c " + strCommand;
boolean bWait = true;
//execute the command
try
Runtime r = Runtime.getRuntime();
Process pr = r.exec(strCommand);
Process pr = r.exec(callAndArgs);
BufferedInputStream bis =new BufferedInputStream(pr.getInputStream ());
int c=0;
/** Outlet for IO for the process **/
while (c!=-1)
c=bis.read();
/**Now wait for the process to get finished **/
if(bWait == true)
pr.waitFor();
pr.destroy();
catch(Exception e)
System.out.println("Could not execute process " + strCommand);
return(false); -
How to run .ksh file in unix from .jsp files
Hi frnd,
How to connect unix servers from .jsp file & I want to run unix scripts .ksh files from .jsp files
Thanku
bhupathipawanIt is usually a bad idea to do any major processing directly within a JSP. It is better to create a helper class and invoke methods on that. This helper class can then be tested outside of the inhospitable JSP environment.
To run the '.ksh' file you will need to use either Runtime.exec() or the more modern ProcessBuilder. You will save yourself a lot of grief if you read thoroughly the 4 sections of http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html and then implement the recommendations.
Note - although the 'traps' article is written around the use of Runtime.exec(), it's content is equally applicable to ProcessBuilder. -
How to run a dialog's method from a button's event handler?
I've created my first dialog from the samples, but I am having trouble figuring out how to run a method in my dialog from an button's event handler. Can anyone please point me in the right direction?
function CreateDialog()
this.windowRef = null;
CreateDialog.prototype.run = function()
//...declare a bunch of vars
// Create a window of type palette.
var win = new Window("dialog", "Element Spray Generator",[iTop,iLeft,iTop + iWidth,iLeft + iHeight] ); // bounds = [left, top, right, bottom]
this.windowRef = win;
// Add a frame for the contents.
win.btnPanel = win.add("panel", [iPadding,iPadding,iWidth-iPadding,iHeight-iPadding], "");
.... add a bunch of other stuff ...
win.btnAdd = win.btnPanel.add("button", [win.btnRemove.bounds.left - iPadding - iButtonWidth,win.lstImages.bounds.bottom + iSmPadding,win.btnRemove.bounds.left - iPadding,win.lstImages.bounds.bottom + iSmPadding +iTextHeight], "Add");
win.btnAdd.onClick = function() {
//todo implement this
var f = File.openDialog("Open File") ;
win.lstImages.add("item", f.displayName );
this.EnableControls(); //<--- problem is on this line here!!
this.EnableControls(); //<--- this works
// Display the window
win.show();
return true;
CreateDialog.prototype.EnableControls = function (){
var result = true;
result = result && (this.windowRef.ddlPaths.selection != "");
result = result && (this.windowRef.lstImages.items.length > 0);
this.windowRef.btnOK.enabled = result;This may not be the reason, but when using the way I create dialogs 'this' inside of an onClick points to the control.
win.btnAdd.onClick = function() {
//todo implement this
var f = File.openDialog("Open File") ;
win.lstImages.add("item", f.displayName );
this.EnableControls(); //<--- I would expect it to call another function of btnAdd
// this.parent.EnableControls() might be what you want if the control is not in some other container -
How to run a command line window from code?
In an application I need to run a dll file with a few arguements. These arguements can be given in the command line window. The execution of the dll file will return a string that i need to get (for the parsing etc).
1. How can I open a command line window from the Java code?
2. How to run commands on it?
3. How to get the results of the commands from the command line into my program?In an application I need to run a dll file with a few
arguements. These arguements can be given in the
command line window. The execution of the dll file
will return a string that i need to get (for the
parsing etc).
A dll is used by other programs. It is not possible to run it from the command line. -
How to run and email a report from SSIS
Hi guys
I need to set up an SSIS package that will run a standard report and email the results.
I have sorted out the email side of the job, but need to know if/how I can run BPC reports from SSIS.
Has anyone done anything similar, or have any tips/pointers?
Thanks
CraigHi Craig,
I have never done this, but I doubt this is something possible in a standard way, or if it's feasable, could be very difficult to set up.
In fact, BPC works over Webservices, and it should probably be possible to use an ActiveX task inside our SSIS package and code something in VB there, referencing some API...
In any case, why don't you use the Offline Distribution Wizard for that? It's doing exactly what you're expecting.
Kind Regards,
Patrick -
How to run a BI-Publisher report from the Appworx enterprise batch sheduler
We have a BI-Publisher report that needs to be executed staight after a batch job. Does anyone know how to execute a report from the Appworx enterprise batch scheduler?
Thanks.I'm not familiar with AppWorx, but we use Autosys. We created a PL/SQL wrapper that calls FND_REQUEST.ADD_LAYOUT and FND_REQUEST.SUBMIT_REQUEST to submit XDOREPPB. For any report that needs to be scheduled via Autosys, the wrapper program is executed with the appropriate parameters.
Hope this helps.
Maybe you are looking for
-
How can I stop iCloud from uploading my iCal & Address Book: Help!
Hi, I just made all the updates for my iMac and iPhone. All of them. Then I (un)checked everything but "Find my Mac/iPhone" Dispite my settings, I can still find replicas of my iCal and Address Book in iCloud through its Safari interface. How can I d
-
i had to get a new iphone and want to know how to tell if my pictures from my previous phone were backed up on itunes. when i connect to itunes, does it automatically sync / backup even if i'm going from a 4 w/IOS 6 to a 5S w/IOS 7?
-
I've made a fillable form and need javascript assistance
I've created a fillable form (for internal company use) and would like certain fields to auto fill based on what other field values are. Here is snap shot of the form Here is an explanation of the table. The top fillable row: model = user fill in mod
-
Difference between text size in General setting and large type in Accessibility settings
Difference between text size in General settings and large type in Accessibility settings?
-
Which table tag number is stored after running post mass additions in FA
Hi, could any one tell me, in which table tag number is get stored after running the post mass additions program in FA (R12).