Trap/script for arrow keys?

Sarah sarahr at genesearch.com.au
Thu Mar 6 20:35:01 EST 2003


Judy, insert a "put" or "answer" statement in your arrowKey script so 
you can see if it is actually being called. Also, check the settings 
for textArrows and navigationArrows. They may have no effect but it is 
worth checking.

Cheers,
Sarah

On Friday, March 7, 2003, at 11:25  am, Judy Perry wrote:

> Sarah,
>
> I have these set in the openCard handler, so they DO possess a value 
> prior
> to the keydown being sent.
>
> Ummm, yeah, it would be nice if things matched wouldn't it?!  Actually,
> I'd just be happy to get the *&#! thing to move!
>
> Judy
> On Fri, 7 Mar 2003, Sarah wrote:
>
>> Judy,
>>
>> I can't see where you set theXcoord and theYCoord initially. Try
>> inserting these lines before the "switch" statement:
>> 	put item 1 of the loc of btn "Fish" into theXCoord
>> 	put item 2 of the loc of btn "Fish" into theYCoord
>>
>> It seems a bit illogical that you are using left & right arrows to 
>> move
>> up & down and vice versa :-) I think you need to change it so that 
>> left
>> & right change theXCoord and up/down change theYCoord.
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the use-livecode mailing list