Actionscript 3 :: Write To Windows Event Log From Within Adobe AIR?
Apr 19, 2011
Is it possible for Adobe AIR (via AS3) to write events to the OS's event log? In particular, I need an event to show up in the the Windows 7 Event Viewer. I've tried using throw to throw a custom error, but it doesn't appear in the Application Logs.I know I could create a NativeProcess to do this, but I'm hoping there's a native AIR solution.
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
I've been experimenting with Windows Azure Blob storage using the samples using Silverlight.
I was wondering if it's possible to write a file upload component in Flash instead of Silverlight, since the former is installed almost everywere. I've never programmed in Action Script but I have a solid background in C# so that must not be hard.
I cannot afford the Creative Suite or Flex Builder but I would like to develop a commercial Flex/ActionScript AIR application. Is this a viable goal and are there robust tools out there that don't cost a small fortune?
"The specified module could not be found C:/Program Files/Common Files/Adobe/Adobe Version Cue CS4/Client/4.0.0/VersionCue.DLL" is the message that comes up everytime I have Adobe Flash CS4 installed and right click near any file, just not in open programs. After right clicking and having this annoying message pop up, it restarts Windows Explorer. Whenever I uninstall the program everything's fine, however I want to use this product (free trial) but none of my downloads and installations of it (at least 5) have worked! I check for a VersionCue.DLL and I can't find it, also when I choose things like Action Scriptt 3.0 and 2.0 or any other selection at the start up menu, it freezes and quits!
Another Adobe AIR question for you: Can we write files to the file system and leave them as read-only in Adobe AIR? In the future, we would overwrite these files (or delete them and write a new one).
Update: I tried the following approach, but I was still able to open the file, edit, and save to the file system after the process executed.
I am trying to host a flash object inside an CAxWindow, I have managed to insert a shockwaveflash (SWF) and its working fine. I am trying to find all available API's that are available in the flash ocx. I am unable to find any documentation for the functions in the IShockwaveFlash interface.I know that Adobe doesn't have a documentation for using flash in VC++ but I was wondering if anyone can point me to a place where I can find an UNOFFICIAL documentation for flash.ocx or code samples as the only API that I could find and I'm currently using is "PutMovie".
Is it possible to capture user typed inputs from keyboard and overwrite user entered text with pre-defined words in Flex/Adobe Air? I'm looking for a functionality in Adobe Air something like "typinator" does.
I've tried downloading the newest Adobe Flash Player 10 on IE8 on my Windows Vista and it's not working.It downloads but when I go back to hulu.com it says I still have to download the latest version. I've tried unistalling and installing it (several times)... I've made sure that Shockwave is enabled under Internet settings... I've also tried unistalling IE8 and reinstalling without the updates... and still nothing.I even tried installing Flash 10 on IE7, still nothing worked.
I have Windows Vista 32 bit and not terribly computer savvy.Hulu works fine when I use Firefox, but it's not working on IE8. I need it to work on IE8 in order to stream video from hulu on our Wii through PlayOn TV.
I would like to know, if there is any way to enable the following (at least in windows):
right-click on any file in local filesystem, choose sendTo and send the file to an adobe air application (for upload purpose for example). AIR can handle that via INVOKE Event, but how can I achieve this from the windows side - how can an AIR application register itself as a sendTo Option?
The admin guide for flash 8/9 suggests there's a .msm (merge module) for windows? I'm not seeing a merge module for flash 10. Does such a thing exist and if so where?
If I declare a window this way, and then call this.open(false);, the window will quickly open and then hide, and then be reshown when I actually display it, I want to do this to be able to load content and fit the window to that size before showing it.
I am creating an AIR application using Flex. In it I use a file in application directory to store some data in it.Its working very well to read and write data to this file with various OS except windows 7. In windows 7 it is not working. May be its a permission problem.
How can i write file in the application directory with Windows 7 ?
I would like my application to be able to remain running while the user goes and uses another application. (It will be playing music) Additionally, how to communicate w/ Cocoa Touch from this environment?
If you think this is not possible, which platforms are capable of this (other than the obj-c mac x-code route, which I am trying to avoid)?
I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?
It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.
I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.
When working with NativeWindow's in AIR, can you get an event everytime the window is minimized / unminimized? I tried hooking up with DisplayStateChanged but its not firing when the window is minimized. you know how to get such an event?
I am trying to write a keyboard event listener so that when I press a specific key it controls the time line. Below is working code for when I press "enter". How would I make it work if I pressed "Q"?
I am a n00b and therefore might get terminology etc. wrong. I am developing for Scaleform (therefore authoring in ActionScript 2.0 for Flash Player 8).
I have a movie clip on stage which is a stack of buttons. I want to create a simple test, I want a function to fire when the mouse is rolled OFF the BtnList movie clip.
Is anybody else finding their flash website event.RESIZE isn't working in Windows 7?My website works fine when I run it at home in Vista, however at work in Windows 7 it just does not work and I have no idea why???! Essentially the bit that says portfolio works should stick in the top right corner on resize and the mute and sound button in the bottom left.
I am new to flex framework.I have created an application using flex framework 4.1 which is having various components that are shown to the end user in the form of a popup window using <mx:TitleWindow>.This titlewindow is closed either on the click of the close button (displayed in it's titlebar) or by pressing the "escape key" on the keyboard.I coded a functionality wherein I close the current TitleWindow whenever an 'escape' button is pressed.Here is what I did.On the keydown event of TitleWindow I called this function.[code]I had to repeat this code for every TitleWindow that I have used in the project.How can I write the above functionality only once and reuse it amongst various TitleWindow and other components so that the code for the same is not repeated across various components? Every TitleWindow that I am using has different code, scripts and layout in it.
I want the stage to react every time some changes are made to certain objects. Is there a way to write custom Event? I could of course modify this object, but I would like to know if there is any more OOP way to do it. And events ARE OOP, ain't they?
I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?
Each time the server gets rebooted we receive an invalid license key warning in the event viewer application log. Will this cause the server to stop working? Our license key is valid. The C:Program FilesAdobeFlash Media Server 4.5licenses folder shows the files- sif35.bin,sif40.bin,sif45.bin and sif.bin.
I'm embedding a flash object in an html page and calling windows.onload to initialize the Flash movie. The problem is that the windows.onload does not wait for the Flash object to completely load. Is there way to make sure that the Flash object has fully loaded?
Here is the code I'm using: <head> <script> var falshObj = null; function pageInit() { thisMovie(); [Code] .....