[Newbies] I am a total beginner with some questions

Matthew Fulmer tapplek at gmail.com
Tue Apr 8 18:42:11 UTC 2008

On Tue, Apr 08, 2008 at 04:53:12PM +0100, Marcus Strehlow wrote:
>    x := ImageMorph new.
>    x image: (Form fromFileNamed: 'path/to/your/image.jpg').
>    x openInWorld.

Even shorter:

x:= (Form fromFileNamed: 'path/to/your/image.jpg') asMorph.
x openInWorld.

>    This will load the specified file, create the necessary form, and is then
>    opened in your current world.

Matthew Fulmer -- http://mtfulmer.wordpress.com/

More information about the Beginners mailing list