Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2008

    Unhappy softkeys not working

    Iv created a flashlite 2.0 application and have tested it on the Nokia 6300 emulator provided as an update for Macromedia Professional 8.

    The application operates correctly on the emulator but the left and right softkeys fail to operate when i test the application on the Nokia 6300 handset, and the default behaviours (falsh menu, and quit) run instead.

    Ive tried many ways to fix the problem, ive:

    *checked to make sure that the actionscript language is actionscript 2

    * added this code on the frames to remap the softkeys:

    fscommand2("setsoftkeys", left, right);

    Ive looked through the action listener too and i cant see any errors either:

    var myListener:Object = new Object();
    myListener.onKeyDown = function() {
    var keyCode = Key.getCode ();

    if (keyCode == ExtendedKey.SOFT1) {

    else if (keyCode == ExtendedKey.SOFT2) {

    Any suggestions to solve the issue will be very much appreciated!!

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2005

    Re: softkeys not working


    couple of things.
    I always do the following:
    fscommand2("SetSoftKeys", "", "");
    You do not need to label the soft keys since you wan always fullscreen.

    second for the soft keys I always use the following:

    var SoftKeys:Object = new Object();
    SoftKeys.onKeyDown = function() {
    switch (Key.getCode()) {
    case ExtendedKey.SOFT1 :
    case ExtendedKey.SOFT2 :

    I think you are missing the last line, the addListener call


  3. #3
    Registered User
    Join Date
    Jan 2008

    Re: softkeys not working

    Thanx your code worked!!

Similar Threads

  1. Working on GSM, Not working on CDMA
    By aminuddin09 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-03-21, 07:07
  2. sendRedirect not working
    By nicole_yap in forum Mobile Java General
    Replies: 0
    Last Post: 2005-09-16, 03:35
  3. softkeys not working in multiviews application
    By naveed_kunjahi in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-11-18, 19:08
  4. 7650 / BlueUSB Bluetooth USB dongle / PC-suite not working!
    By mahaikol in forum Bluetooth Technology
    Replies: 7
    Last Post: 2002-12-28, 06:47

Posting Permissions

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