From: ts Date: 2002-06-07T22:16:03+09:00 Subject: Re: Local works, Instance fails >>>>> "m" == michael libby writes: m> temp_file = @temp_file #for some reason @temp_file won't work in the m> @image = TkPhotoImage.new{file temp_file} #image.new command!! This is the way to do it, because if TkPhotoImage::new has a block it will call #instance_eval. This mean that with @image = TkPhotoImage.new{file @temp_file} @temp_file make reference to an instance variable of the new TkPhotoImage object Guy Decoux