[Newbies]Imagesfiles in Squeak
cdshaffer at acm.org
Thu May 3 18:25:25 UTC 2007
Rob Van Pamel wrote:
> If i want to use some images to embed them into my application.
> (Form fromFileNamed: 'test.jpg') asMorph openInWorld
> This works, but how can I specify that he searches in a subdirectory.
> I don’t want to use an absolute path but a relative path.
> Thanx in advantage
> Rob Van Pamel
Did you try:
(Form fromFileNamed: 'subdir/test.jpg') asMorph openInWorld
??? It works fine for me and the directory name is interpreted relative
to the image directory.
More information about the Beginners