Newbie: Soft Key Problem

Hey
Environment:
Flash Lite 2
ActionScript 2.0
When I run this code in the "Generic Phone" emulator, I
several times presses on the soft keys on the emulator... But the
words "LEFT" or "RIGHT" isn't written to the Output-window. I
wonder what in my code are causing this problem... Below is a copy
of my code...
// this ActionScript sets your content to be full screen
fscommand2("FullScreen", true);
gotoAndStop(1);
fscommand2("SetSoftKeys", "<<<", ">>>");
btn_1.onPress = function() {
gotoAndStop(5);
btn_2.onPress = function() {
gotoAndStop(10);
var myListener
bject = new Object();
myListener.onPress = function() {
if (Key.getCode() == ExtendedKey.SOFT1) {
trace("LEFT");
} else if (Key.getCode() == ExtendedKey.SOFT2) {
trace("RIGHT");
Key.addListener(myListener);

Ciao
try
myListener.onKeyDown = function()
instead of
myListener.onPress = function() {
Alessandro

Similar Messages

  • Right soft key problem - N78

    When pressing the right soft key, the red button is pressed instead. It is definitely a software problem, as when i restart the phone, the problem dissapears, but comes back in a while.
    has anyone encountered anything like that?

    i also suffering the same problem.
    i want its solution.
    jimmyireland wrote:
    try updating firmware
    the try the following if nothing works send it to a nokia care centre
    *#7780# "soft reset"
    *#7370# "hard reset"
    Multimedia key + 3 key + * hold these in while powering up until you see the handshake
    back up data before you do these codes
    security code is 12345
    jimmyireland wrote:
    try updating firmware
    the try the following if nothing works send it to a nokia care centre
    *#7780# "soft reset"
    *#7370# "hard reset"
    Multimedia key + 3 key + * hold these in while powering up until you see the handshake
    back up data before you do these codes
    security code is 12345

  • Menu Creation and Using the SELECT soft key

    Hi,
    I am trying to design a menu similar to the thumbnail menus available in most phone these days.what i want is a set of icons placed in a tabular format ie rows and colums. the joystick control can be used to navigate thru the icons and using the select soft key ie the middle button of the soft keys, the next set of forms can be displayed.
    so far, i have created a form, used a few image item and used the Item's layout directive to arrange the imageItem as i want on the display. I can get the joystick to navigate between the imageItems however the select button doesnt fire any event.
    I have added a command to each of the items and set an ItemCommandListener.
    That approach seems to be working fine but it defeats my purpose. the reason being i had problems with the mapping of the command keys. For each display i had an option of going to the main menu and to the next screen. On the emulator it maps perfectly with the left key having the main menu and the right key having the "next form" button. But while implementing on the phone, the left key has the main menu but the right key shows "more options", when u click more options you get the "next form" button. This is happening in every form on display and makes it more tideous to use.
    Thats why i was hoping to get the select button working if possible. Any help would be much appreciated.

    Try searching J2mepolish.org plenty of work is done
    with Regards
    Rizwan

  • Soft Keys not lighting up

    The soft keys (settings, home, back and search buttons) at the bottom of the phone are not lighting up in portrait mode.  I can sometimes get them to turn on when my phone goes into landscape mode, but never in portrait.
    Is anyone else having this problem?
    Thanks =)

    Try booting into recovery and clear system cache...
    Power off the phone, press and hold the Volume up and Volume down button, then press the Power button simultaneously while powering up the unit.
    Screen will come up with "Fastboot" at the top of the screen, press Volume down key to cycle through choices until you get "Android Recovery", then press Volume up key to boot in this mode
    Wait for the "triangle ! / Android" screen then go on to step 4 
    Press both Volume up and Volume down key simultaneously. A Recovery Menu will come up
    Tap on Volume down key until "format cache data" is highlighted, and tap Power button. Another Confirmation screen will come. Tap on Volume down key until coming to Yes and tap Power button
    After userdata is cleared, the "reboot system now" option will be highlighted by Default. Tap Power button
    Phone will reboot to initial setup screen.

  • Soft keys not responding

    hi
    i followed the steps in the tutorial http://www.thetechlabs.com/tutorials/flash/creating-a-flash-lite-application-with-flash-cs 4-and-actionscript-20/ but when i run the application in the device central emulator, the soft keys do not respond. i even edited the action script code to change the text in the textboxes when the soft key is pressed but there is still no response.
    Thanx

    Hi dahaka2010,
    Has your problem been solved?
    On what profile/s and what content type/s were you trying it out? Wallpaper, Screensaver and Embedded in HTML for example do not have soft key functionality. Some profiles also might not support soft keys altogether.
    Thanks,
    Nandi

  • E71 left soft key malfunction: key reacts twice to...

    Hello to all out there,
    My E71 (which I love, btw) has taken on the annoying habit of reacting twice to one press on the left soft key (where 'menu' would be by default). For example: when I reply to a text message and want to insert a smiley, I use that key but it immediately acts like I pressed it twice and thus it sends off my unfinished message. Highly annoying.
    Could this be a software problem? I'm updated to the latest firmware version, 400.21.013 (22 october 2009). Or could it be dirt or moisture inside the phone?
    If you have any insights, I'd love to hear them.
    Cheers and thanks in advance,
    Anne-Krijn
    the Netherlands

    Have you guys ever used water or other liquid to clean the keyboard? Or, if any water ever leaked into the buttom of the Menu key, or the phone keybaord was intensely used with too much dust and sweat on it? If so, this kind of problem could happen.
    Absolute alcohol could help clean the keybaord if used properly.
    bbao
    * If this post helped you, please click the white Kudo star.
    * If this post has solved your issue, please click Accept as Solution.

  • Right Soft Key error in N70 Bluetooth menu?

    I have recently had my N70 upgraded to operating system version 5.0609.2.0.1 (I'm on UK T-Mobile)
    I notice that when I go to the Bluetooth menu, then go to the paired device menu, and connect to a previously paired device, the exit option (right soft key) does not operate when it returns to Exit as an option (rather than cancel)
    The key works in all other cases, apart from this part of the Bluetooth menu - I have to leave the menu by hitting the End key.
    Is this specific to my phone, or is it genereric to that software version?
    Anyone else got the same (minor) problem?

    Sounds odd, probably a fault with the firmware though - maybe worth a factory reset? or getting back in touch with the centre that updated the firmware and asking them to reflash it?
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • A gap between screen and right soft key with softw...

    I have many problems.
    First one is : When I press open button to open  pool game on my Asha 201 then I have
    to press Open Button many times to open games.I have tried factory
    restore settings but I don't think factory restore setting caused this
    problem. Your officer "  'Prashun Dey'
    E-mail Specialist - Nokia Care Bangladesh  " told me to update this phone using nokia suite. So far i know this nokia asha 210 doesn't support nokia suite.Why did he advise me this ???? I have bought this phone only five days ago and now I need a soft update. Not even a week passed and I need for a update of the software. Is it believable ?
    Another problem is :
    I have purchased my phone on 17 September.but
    I am being irritated by a gap between right soft key and Screen of my
    phone.This gap is larger than normal asha 210 model's phone. This gap
    making my left soft key button hard and it irritates me a lot when I
    type. How can I fix it ? Can I change or replace it from Nokia care ?
    I want it to be replaced.I have never faced such product setting problem on samsung. I must say samsung's 5000 taka's phone is thousand time better than this phone Asha 210. I have only one day in my hand to repare it otherwise I will go to head office of nokia with this complain. You should know that we have earned money by working hard in job field and don;t want to waste 6000 taka buying a defected phone.I don't understand why nokia packages defected and physically immature phone to be sold in store. If we can't solve this problem then i gotta take steps.
    I have uploaded an image which illustrating my actual problem with a drawn model of NOKIA ASHA 210. Hope that you will be kind enough providing me helps replacing or fixing this problem so that I never stop using NOKIA's phones.
    Not even a week passed and facing too many problems with one default problem of nokia which done by nokia while attaching parts of the device before packing the device to be sold.
    I have mailed my problem 2 days ago but nokia did not reply me yet!!! They are really nonsense !!!
    Attachments:
    nokia asha problem.JPG ‏54 KB

    I have used my 5c for one week and I can notice a gap too. I is really small, but when I look close to it I see small dust in there. I baby my phone a lot and I am sure it was not there 7 days ago when I got it. I am also afraid this to get larger... It may be a dilatation because of the weather or something, because I did not drop my phone.
    Can anybody help us?

  • Follow up to my Luma Key problem

    Hi again,
    Tom has answered to my Luma Key problem of bad quality by recomending me to put the oval form under my clip instead from above, and it worked verz well.
    But now I have another problem, I want now my oval to cross disolve to have the full scene that is now under to come gradually fully on screen. I have a cross disolve at the begining and at the end of the oval. Its fine for the oval to come gradually from full black screen to an oval with behind the 2nd scene, but when it shall starts to disolve, nothing happens. I also try with the pen, adding points and then pulling down in order to have the oval clip gradually dissolving, but nothing works ! Any clue ?
    Thanks,
    Nic

    Nicolas,
    One way to do this is:
    - Oval on V1
    - Clip1 on V2 with Composite Mode > Travel Matte Luma
    - Clip1 also on V3. Change it's opacity so it is 0 until the required number of frames before the end of the Oval. Then increase it's opacity to 100 at the end of the Oval.
    There might be a more efficient way to do this.

  • My iphone 5 camera suddenly stop working and the shutter dont open after some minutes shutter open with some dolor stripes and it takes 2 or 3 days and again start working normaly it happens every 3 weeks.is this a soft ware problem??

    my iphone 5 camera suddenly stop working and the shutter dont open after some minutes shutter open with some dolor stripes and it takes 2 or 3 days and again start working normaly it happens every 3 weeks.is this a soft ware problem??

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
     Cheers, Tom

  • I am running CC on Windows 7. My Control key is sticking only in PPS. It is not a sticky key problem

    I am running CC on Windows 7. My Control key is sticking only in PPS. It is not a sticky key problem and I am not running any similar program.

    yes, photoshop.
    Col. 3:17
    Sam Collins

  • 'Keys' problem when trying to re install 10.2 on Power Mac G4

    Have had my Power Mac G4 wiped clean prior to selling and am now trying to reinstall 10.2.
    Install disc one reached the end of its loading process and then froze.
    Install disc two did not respond when loaded.
    Put install disc one back in while holding down 'C' key. Started to install but soon stopped.
    Went to Disc First Aid > verify disc > 'keys out of order HD need repairing'.
    Clicked 'repair disc' and indicated 'repair complete'.
    Returned to 'verify disc' > HD needs repairing, key length too short.
    Repaired once more, keys still out of order.
    Removed Install disc one and loaded Disc Warrior.
    Speed inhibited by malfunction stage 5 when rebuilding directory.
    So with no full operating system loaded, how do we progress?

    John:
    "Keys problems" are directory issues which, if not repairable by Disk Utility need a third party package like Tech Tool Pro, DriveGenius, or Disk Warrior. However, in some cases the disk hardware may be damaged or the HDD may have failed and unable to hold the format. When in DU check the SMART status. Even if the SMART Status is Verified and the HDD is more than 3 years old you should consider replacement.
    cornelius

  • Soft key crashes program but works in Flash 8 emulator

    I am developing for the Nokia E62 in Flashlite 2.1 using
    Flash 8, The E62 is a Symbian S60 v 3 phone with a 320 x 240 pixel
    screen. The Flashlite 2.1 standalone player works fine on it but
    the phone comes only with a Flashlite 1.1 player. Flash 8 does not
    have a Flashlite 2.1 device profile available for the Nokia E62, so
    I am using teh generic Windows Mobile profile as it is the only one
    with the proper screen size.
    My program works on the emulator but when I test it on the
    phone, pressing the soft key crashes the program (my program quits
    but the standalone Flash 2,1 Player dos not die and I am returned
    to its menu fo choosing a movie to run.) In a previous version of
    the program, I was able to make the soft keys work fine on the
    phone so I know that the phone supports remapping softkeys.
    I am working in fullscreen mode so the Symbian system labels
    for the softkeys are not visible. Nonetheless, my past experience
    is that the program will crash if I do not use the fscommand2
    command:
    fscommand2("SetSoftKeys", "Menu", "Submit");
    Anyway, here is the code to handle softkeys which crashes on
    the phone when either soft key is pressed, but works on the
    emulator:
    fscommand2("SetSoftKeys", "Menu", "Submit");
    var softListener = new Object();
    softListener.onKeyDown = function() {
    var code = Key.getCode();
    switch(code) {
    case ExtendedKey.SOFT1:
    _root.gotoAndStop(3);
    break;
    case ExtendedKey.SOFT2:
    submit();
    break;
    Key.addListener(softListener);
    It appears that the phone crashes in the
    softListener.onKeyDown routine and not later on in the submit
    function.

    Thanks!
    What is the difference in how soft keys are used between AS 1
    and AS 2?
    I was publishing in Actionscript 2, but you are right, my
    code is AS1-style on the timeline, not AS2 using external class
    files. I wanted to publish as AS 2 to use strict typing in order to
    debug more easily.
    Except that in the snippet I sent, I declared
    var softLIstener = new Object() instead of
    var softListener:Object = new Object()
    and I did not do the type declarations in the function
    definition...
    So should I get rid of all the places where I did declare
    types and publish as AS1? Or do the declarations consistently and
    keep it AS2? If this is Flashlite 2.1, doesn't that mean I get
    Flash 7 - style AS 1 and not Flash 5 style? AS 1 prior to Flash MX
    is really limited and I don't remember it well. I thought AS 2 was
    backward compatible with AS 1 so that my hybrid code should work as
    AS 2. It does in the non-mobile versions of Flash...

  • When pressing soft key continuously error will occured

    In midp1.0 when pressing soft key continuously during the time of program execution in doesn't
    affect thread value.But the same program in midp 2.0 thread value will affected and error will
    occured.is there any difference between midp 1.0 and midp 2.0 when pressing key press?

    Please use CLDC and MIDP forum for midp related issues.
    http://forum.java.sun.com/forum.jspa?forumID=76

  • Keyboard with more soft keys

    I have recently bought HP Compaq 6730b notebook (product number: NB019EA#AKD). It is a good notebook but there is one issue that I don't like. Pressing keys on keyboard is too hard for me to be comfortable. My local HP call center told that HP doesn't have replacement keyboards with softer keys. Of course I expected this answer. But they also told that I can try to obtain keyboard replacement from other producers. There can be some keyboards from no name companies that can be more soft. Do you know such keyboards? I don't want to buy one and pay for transport to my country if I am not sure about it if it is better keyboard than I already have.
    My keyboard number is 487136-B31, but I think that it is common for all HP keyboards.
    Message Edited by darek on 11-13-2009 12:15 PM

    Generally what do you think about keyboards in HP? Do you think similarly as I or not?

Maybe you are looking for

  • Minimal requirements for remote client app to call a EJB 3 session bean

    I'm just starting to get into EJBs, trying to learn the EJB 3 APIs. I kind of understand the setup on the server side to create a session bean. What I don't understand is what I would have to deploy for each of the remote client app (Swing-based GUI

  • How to copy master spread from one document to other

    I've used kNewMasterSpreadCmdBoss command and IMasterSpreadCmdData interface but it copies master spread with empty master page. Should I setup some additional parameters for command? Or should I use different mechanism?

  • Jdbc scenario .. where to find the error msg

    Hi, I am working on a scenario, abap proxy->jdbc adapter->MsSql server. Whle testing, i sent the payload xml from the sproxy test sceen. After that, i checked the "Monitor for processed xml messages" screen (SXI_MONITOR). There it shows the status "P

  • Rotating and Centering Masked Text

    I'm in the process of creating a textual watermark for my photos in photoshop but have come across a big problem. I am using the horizontaly text mask tool but I cannot rotate nor center (both horizontally and vertically) my text before turning it in

  • MeetingPlace Express User ID Change

    I am running MeetingPlace Express 2.1.1.2 and it is AD/CCM Integrated. We in the process of changing our AD User login ID and I may have run into a problem. From Call Manager perspective I just perform a full sync and it is good when a change is made