A Flash Developer Resource Site

Results 1 to 20 of 20

Thread: JAVASCRIPT running flash button

Threaded View

  1. #8
    Senior Member
    Join Date
    Aug 2009
    Posts
    113
    import flash.external.ExternalInterface;
    ExternalInterface.call("focus");

    myListener = new Object();
    myListener.onKeyDown = function() {

    if (Key.getCode() == 113) {
    getURL("javascript:command('listen',2)","_self");
    }
    };
    Key.addListener(myListener);
    is there something wrong with the actionscript? coz if I am typing in html textbox and I press F2, still, the clue button is not functioning.
    Last edited by ayusuits; 11-02-2009 at 09:47 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center