Brian Milinski | St. Norbert College CSCI 460
2/17/2012
Today I was able to get fscommand to work in action script to launch a keyboard utility called "OnScreen". The trouble I was having before is that when debugging in Flash, the fscommand will not execute. The publish settings in Flash must be set to "Windows projector". In Flash going to File -> Publish Settings... will allow you to select a "Windows projector" as an output file when you publish the Flash application. A Windows projector is an executable, and by running this executable I was able to test fscommand. I discovered that the batch file does run when the published .exe file is executed and the on screen keyboard "OnScreen" launched successfully.
Here is the tutorial I referenced for publish settings:
Fscommand TutorialAfter getting this to work correctly I went out and took some photographs of the campus for the XML slide show which I have created. While the touch screen is idol the pictures will scroll through like a screen saver. I added action script code to go to the next frame in the Flash movie upon recieving a mouse click event. After getting to the next frame in the movie I stop and remove all sprites from the screen. This essentially is a clear all, and now I am left with a fresh slate to design the user interface. I will now begin designing and implementing the functionality of the application... interaction with external devices... getting input from the user... etc.
Here is a snippet of how I used fscommand:
Source