[Newbies]Imagesfiles in Squeak

Rob Van Pamel rob.vanpamel at telenet.be
Fri May 4 12:40:02 UTC 2007


Yes i've tried that but he tells me the following 

	subdir#test.jpg does not exist.

I've checked the case sensitivity from the folder but it is exactly the
same. Do i have to escape the / sign? Because he looks in "subdir#test.jpg"
I am working on a Windows Xp PC

Thanks for the advage


-----Oorspronkelijk bericht-----
Van: beginners-bounces at lists.squeakfoundation.org
[mailto:beginners-bounces at lists.squeakfoundation.org] Namens David Shaffer
Verzonden: donderdag 3 mei 2007 20:25
Aan: A friendly place to get answers to even the most basic questions about
Squeak.
Onderwerp: Re: [Newbies]Imagesfiles in Squeak

Rob Van Pamel wrote:
>
> Hello
>
> 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
>
Rob,

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.

David


_______________________________________________
Beginners mailing list
Beginners at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners



More information about the Beginners mailing list