A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Overriding standard softkeys

  1. #1
    Join Date
    Mar 2008

    Overriding standard softkeys

    I've just "converted" a Flash web application to Flash Lite 1.1 (for various reasons), and exported it to my SE W910i. However, despite using the fscommand2( "FullScreen", true );, the phone's standard softkey labels are still visible, and active. So I can't customize the softkeys as I want, they still trigger "alternatives" and "back" (meaning quit program), respectively.

    How do I override these standard softkey actions? I'm currently using on (keyPress "<PageDown>"), as with the directional keys.

    Many many thanks in advance

    Edit: It appears that my softkey action does trigger, but immediately afterwards the phone's built in action triggers (in this case exiting the program).
    Last edited by squallsquall; 06-22-2008 at 08:29 AM.

  2. #2
    Join Date
    Apr 2001
    Akron OH, USA
    read about fscommand2("SetSoftKeys","left label","right label")

    You can use pageup and pagedown to trap softkey presses in FL1.1. FL2.0 AS2 requires a different approach which you can read about in the documentation.

    SE does not recommend using softkeys with its version of Flash lite due to inconsistent implementation across SE devices.

    softkey support is more of a standalone player feature. SE does not yet support standalone, it is browser only. That is why the fullscreen command has no effect on the SE phone.
    aviarts.com - web development and flash development

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