If the user is typing something other than what is expected to be found 
in the array then they are being naughty to begin with.

Thanks for the new comparison code.  That does the trick.

Michael Grant wrote:
> Best I can tell from a quick glance is that you are comparing the wrong
> things. I think what you want to do is this:
>
> konami.indexOf( kkeys.toString() )
>
> However the logic looks off to me. You just keep adding to the array without
> ever clearing it, so the array is going to get massive if the user is typing
> (for instance) or if the keystrokes don't come in a very specific way. Maybe
> that's what you want though?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:296354
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to