ActionScript 2.0 :: Trapping HELP Key In OS X?
Aug 17, 2006
I am having a problem trapping the HELP key in OS X. Every other key I have tried seems to work. I have the "Disable Keyboard Shortcuts" checked in the Control Menu.
My code is pretty simple:
Code:
if ( (Key.isDown(Key.HOME)) )
{
infobar_sequence();
debounce = debounceConstant;
[code]....
The HOME key works fine, as does the PGUP key, however I get no response from the HELP key? Anyone else seen this? Know how to solve this?The weird thing is that I can verify the keycode for the HELP key by doing a
[CODE]trace(Key.getCode());[CODE]
which outputs a "47" whenever I hit the help key btw, I am using Flash 8.0 on OS X.4
View 2 Replies
Oct 8, 2002
I am creating a software product demonstrator. The software uses the Escape key to let users get out of menus - crap I know, but that's the way they do it! My problem is that I want Flash MX to look out for the Escape key being hit within my demonstrator and then go to another frame when it is hit.
View 2 Replies
Jul 17, 2009
Is it at all possible to test if a sound file has not been found? Every tutorial I have read regarding sound.loadSound and sound.onLoad has been focused on everything being fine and flash finding the correct file. I need to be able to get a flash movie to continue as normal if the sound file is unavailable.
For example: My flash movie loads in a sound then waits for the sound to finish before continuing using the sound.onSoundComplete event. This wont work if the sound is not present, and so the movie stops and does nothing. I have tried to use sound.onLoad if (success == false) but flash seems to go here before it even starts loading the sound file, making my movie believe that no flash file is loading even though one is.
View 7 Replies
Aug 1, 2009
I want to load as many bitmaps as are in a folder, looping back to the 1st when I run out of files. I've modified code I found elsewhere for the error trapping, but it doesn't work. Instead of getting the traced 'Errorhandler: ' + event, I get 'Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.' in the output window.
[Code]...
View 1 Replies