Home
2008:
January
February
March
April
May
June
July
August
2007:
January
February
March
April
May
June
July
August
September
October
November
December
2006:
January
February
March
April
May
June
July
August
September
October
November
December
2005:
January
February
March
April
May
June
July
August
September
October
November
December
2004:
January
February
March
April
May
June
July
August
September
October
November
December
2003:
January
February
March
April
May
June
July
August
September
October
November
December
2002:
January
February
March
April
May
June
July
August
September
October
November
December
2001:
January
February
March
April
May
June
July
August
September
October
November
December
2000:
April
May
June
July
August
September
October
November
December

(keitai-l) Re: Fwd: Flash Lite 2.1 i-mode key capture

From: Nick Gerig <lists_at_device54.com>
Date: 06/30/08
Message-ID: <4868C623.5040206_at_device54.com>
Ok I see, that's a shame and a pain to manage. At least theres a hack ....

Cheers

Nick

Dan Atkinson wrote:
> Hi Nick
> I tried getAscii() and it returns '9' for both the up and down keys as with
> getCode(). It seems to be an issue with certain docomo phones as far as i
> can see.
>
> -Dan
>
> On Mon, Jun 30, 2008 at 7:40 PM, Nick Gerig <lists_at_device54.com> wrote:
>
>   
>> First thing in the morning I completely misread the thread :)
>>
>> There are some keys on Nokia implementations that return the same code
>> when you use getCode(), whereas getAscii() always returns a unique
>> number. Might be worth checking if you havent already.
>>
>>
>> Cheers
>>
>> Nick
>>
>> Nick Gerig wrote:
>>     
>>> Have you tried keylistener.onKeyUp = function(){}
>>>
>>> Or is this a Japanese implementation issue?
>>>
>>> Cheers
>>>
>>>
>>> Nick
>>>
>>>
>>> Darren Osadchuk wrote:
>>>
>>>       
>>>> Hi Dan,
>>>>
>>>> You can capture up/down key presses in AS 2 using a 3-button hack: set
>>>> the focus to the middle button ( Selection.setFocus() ), then when the
>>>> user presses up (the top button receives focus), fire scroll_up() and
>>>> return the focus to the middle button. Do something similar for the
>>>> bottom button. I don't believe that there is a way using listeners to
>>>> capture up/down presses.
>>>>
>>>> If you want to drop me a note off-list I can send you a sample fla.
>>>>
>>>> Thanks,
>>>> Darren
>>>>
>>>> --
>>>> Darren Osadchuk
>>>> darren_at_LudicrousSoftware.com
>>>> www.LudicrousSoftware.com
>>>>
>>>> Dan Atkinson wrote:
>>>>
>>>>
>>>>         
>>>>> Hi
>>>>> I am trying to detect up and down button events in flash lite 2.1 using
>>>>>           
>> AS 2
>>     
>>>>> but it's having problems when testing on a P905i phone.
>>>>>
>>>>> The basic code is:
>>>>>
>>>>> keyListener.onKeyDown = function() {
>>>>>
>>>>>     if (Key.getCode() == Key.UP){
>>>>>         scroll_up();
>>>>>     }
>>>>>
>>>>>     if (Key.getCode() == Key.DOWN){
>>>>>         scroll_down();
>>>>>     }
>>>>> }
>>>>>
>>>>> Key.addListener(keyListener);
>>>>>
>>>>> On the P905i the key code being returned is 9 for up and down, all the
>>>>>           
>> other
>>     
>>>>> keys function as normal, Does anyone know anyway to fix this?
>>>>>
>>>>> Thanks
>>>>>
>>>>> -Dan
>>>>>
>>>>>
>>>>>
>>>>> This mail was sent to address darren_at_ludicroussoftware.com
>>>>> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> This mail was sent to address lists_at_device54.com
>>>> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>>>>
>>>>
>>>>
>>>>
>>>>         
>>> This mail was sent to address lists_at_device54.com
>>> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>>>
>>>
>>>
>>>
>>>       
>>
>>
>> This mail was sent to address dan_at_danatkinson.com
>> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>>
>>
>>     
>
>
>   
Received on Mon Jun 30 14:41:24 2008