I create a Mouse Detection Event on PC1. Detection works great. However, mouse detection does not work when I play the same file on PC2?
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 something missing to prevent the my second PC from detecting the mouse clicks...Any ideas?
I'm opening an html file (that embeds a swf) in web browsers.
I added this line just to provide more detail.
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?
so that has nothing to do with adobe air.
if an html is on a pc and you're using a browser from that same pc, you can have security sandbox issues on one pc and not on the other (depending on whether a pc has ok'd potential security issues): http://www.macromedia.com/support/documentation/en/flashplayer/help/se ttings_manager04.html
i don't know how that could affect what you're detecting, but it's not clear what you're doing either.
anyway, upload your html and embedded swf to a server and test the uploaded files in your browsers.
My problem may be that I don't know how to create and launch an AIR file.
1- Open Flash Professional (Select AIR from menu)
2 - Create "Hello" test file.
3 - Publish the file.
Output files are: testAir.airi, testAir.exe, testAir.swf, testAIR xml
Next, I incude standard MOUSE_DOWN Events for LEFT MOUSE and...
this "Hello" file executes without a problem.
(My AIR files seems to be working)
However, the moment I add the MIDDLE_MOUSE or RIGHT _MOUSE events, the executable file will NOT even launch AND the SWF file becomes totally static, even standard LEFT_MOUSE events stopped wrking.
Hope this clarify's my issue.
There was an .airi file (no .air), so I removed the "i" and double clicked, I received a popup error:
"The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author."
When attempt to download and reinstall... i get "This version of Adobe AIR is already installed etc"
Should I remove current version before reinstall attempt?
I just removed and reinstalled and I get the same alert popup..."The application could not be installed because the installer file is damaged. "
create a new directory.
open flash 5.5, create a new air app and save as test1 in that new directory. use your certificate/password and publish your air app using the default file names.
take a screenshot of the files in that new directory and attach to this forum.
Can't seem to upload an image (might be security configs here.) However, here is a list of the files that appear in the folder:
1 - test1.air
2 - test1.airi
3 - test1.p12
4 - test1.swf
5 - test1-app.xml
- The certificalte I created does not contain a timestamp (unable to connect beyond firewalls.)
- I can now run the .exe file on different PCs BUT NOT, in any browsers? I noticed that no .html format created.
That is correct. That's what I've been doing for several years. However, this is my first AIR file AND as stated, the RIGHT and MIDDLE MOUSE Events do not work.
The Standard Left Mouse Click works, but NOT the MIDDLE and RIGHT (These are AIR specific events).
I might conclude that the two mouse events are depricated in the latest/new AIR Player?
I did notice that your and my similar file downloaded to my PC before launching. Is this the standard operation? If so, I'm causing more problems that necessary.
You just provide the user with a link (the AIR file does NOT play INSIDE a browser?)
whenever you commit to discussing, for example, an air application, i answer you and you change the topic to a non-air application.
whenever you commit to discussing, for example, a browser-based application, i answer you and you change the topic to an air application.
you are either
1. creating a desktop application that will be installed by users (an air app) or
2. creating a web-based application that will be viewed by users in their web browser (standard html, swf app).
or you could be creating both but you need to be clear about which you are discussing you need to maintain focus instead of repeatedly changing focus.
I detect attitude. We must maintain a certain level of integrity in the forums.
Please do not respond any further to this post or any of my future posts.
I will be reporting the occurrence to the forum moderators.