[Squeakland] 2 questions - embedding text box and keystroke listener

Arvind S. Grover AGrover at HewittSchool.org
Thu Dec 9 16:05:25 PST 2004


I have tried posting these in the forum, but it seems that no one is
really looking there, so I am going to post them here:

1) i am trying to embed a text box into a painted object so that it
looks and acts like one object. basically i want to be able to pick up
and move the item as one, but still be able to script the textbox's
behavior. i am have tried the embed action, but it only says i can embed
into "world." any ideas?

2) What is the best way to "listen" for keystrokes? Example: the user
hits the left arrow key and the object moves to the left.




More information about the Squeakland mailing list