Hello,
m> i want to write code for moving eyes just like the eyes in squeak logo.can m> any one helps me please.
sorry, your question is a bit unclear to me.
MovingEyeMorph is ready made for use and change.
So: The moving part of the moving eye is done in MovingEyeMorph>>step. (read this as in a Browser find the class "MovingEyeMorph" and there look at the step method.
The geometry is set up in the initialize method.
If you don't yet know what a Morph is, there's a lot of material on the swiki at http://wiki.squeak.org
I find Jim Benson's Article at http://wiki.squeak.org/1253 a pleasant read for a start, even though it's a bit outdated.
regards
Herbert mailto:herbertkoenig@gmx.net