I have a problem with the minimized image property of a window in AS Studio : it doesn't work .
This is the code that I use in the will open and will miniaturize events of a window :
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> load image <font color = red>"image.tiff"</font>
set minimized image of theObject to <font color = red>"image.tiff"</font> </font>[/code]
I also tried
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> load image <font color = red>"image.tiff"</font>
set minimized image of theObject to load image <font color = red>"image.tiff"</font> </font>[/code]
but nothing works.
To me , everything looks fine in these lines , but it doesn't work at all.
The strange thing is that it doesn't even give any error , minimizing works perfectly and everything.
But when the minimized window is in the Dock , it just has the normal icon of the real wndow , but scaled down.
Obviously , this is not what I want it to do , I want a custom image for the window in the Dock.
Does anybody know what I'm doing wrong ?