|
Re: I am a total beginner with some questions: msg#00121lang.smalltalk.squeak.beginners
I typed this into a workspace and it tells me that the image (I checked that the path is valid) does not exist. this is a screen shot of it: http://www.nabble.com/file/p16714731/Squeak%2Berror%2B2.jpg do you have any idea why this error occurs? matthewf wrote: > > 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/ > _______________________________________________ > Beginners mailing list > Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx > http://lists.squeakfoundation.org/mailman/listinfo/beginners > > -- View this message in context: http://www.nabble.com/I-am-a-total-beginner-with-some-questions-tp16540965p16714731.html Sent from the Squeak - Beginners mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: I am a total beginner with some questions, kennellgr |
|---|---|
| Next by Date: | Re: I am a total beginner with some questions, Bert Freudenberg |
| Previous by Thread: | Re: I am a total beginner with some questions, Matthew Fulmer |
| Next by Thread: | Re: I am a total beginner with some questions, Bert Freudenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |