Discussion Board

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

    How to handle key press events in a flash lite 3 application embedded in a html


    I am new to both flash and this community. I have a simple flash lite 3 application (which plays an rtmp stream from an external FMS) with a couple of buttons on it. When I run it on emulator (Device Central CS3) I can interact with the buttons using keys and also navigation keys (as tabs to move around the buttons).

    However when I publish the flash file into a html and load that from my web server which also hosts my FMS (I have to do it, otherwise due to the sand box, my video stream doesnt play) the n958gb gives me a virtual mouse thingy (which is really bad by the way) and takes away all key control from my flash file (even the number keys hav some shortcuts). Although I can click on the buttons using the mouse, the mouse interface is really bad and I would prefer some thing like a tab key to move around the buttons quickly, at least.

    How do I get around this virual mouse and get to key handling.

    I am using the FL3 that comes in built with the phone, not the developer version.


  2. #2
    Registered User
    Join Date
    Oct 2008

    Re: How to handle key press events in a flash lite 3 application embedded in a html

    I am also facing the same problem and been trying to bypass with softkey, ascii reads, all does not work, it does not allow "focus" on the embedded flash to respond to the keypressed.

    Does anyone else know how to work this?

  3. #3
    Regular Contributor
    Join Date
    May 2007

    Re: How to handle key press events in a flash lite 3 application embedded in a html

    Have you tried setting the focus on the flash with Javascript like:
    window.onload = init;

    function init(){document.getElementById("IdOfFlashElement").focus()}

    Aanyway, what's happening here is, that you are in the browser and not in the standalone player. Try putting your .swf into a folder called "trusted" in the device see more here: http://discussion.forum.nokia.com/fo...d.php?t=128030

Similar Threads

  1. Replies: 8
    Last Post: 2009-01-24, 06:00
  2. phone app & long press red key
    By morost in forum Symbian
    Replies: 2
    Last Post: 2007-09-21, 07:51
  3. Flash Lite Application Charset Problem
    By D.Luciani in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-03-07, 14:30
  4. Flash Lite handsets poll
    By ilyadanilov in forum Series 40 & S60 Platform Feedback Archive
    Replies: 11
    Last Post: 2006-07-04, 23:17
  5. S60 2nd FP3 and 3rd - Flash Lite frustration
    By ilyadanilov in forum General Development Questions
    Replies: 7
    Last Post: 2006-02-08, 19:07

Posting Permissions

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