logo       

Re: Fading a PNG: msg#00140

lang.smalltalk.squeak.beginners

Subject: Re: Fading a PNG


m := Morph new openInWorld.
m visible: false.
m visible: true.




On 4/22/07, Brad Fuller <brad@xxxxxxxxxxxxxx > wrote:
Steven Greenberg wrote:
> I have a PNG image that I'd like to display fading out.  I tried the
> BitBlt method suggested by "Team RAR" to fade the image, but I can't
> make it work.
>
> The image loads properly from a file and displays fine as an
> ImageMorph.  I have been able to use a TransformationMorph to rotate
> and scale it, and PNG transparency is working properly.
>
> Is the "Team RAR" BitBlt method the only way, or are there alternatives?
>
> I'm running a 3.9 image, and my display depth is set to 32 bits.
>
along the same lines, how can one make an object disappear, or
invisible? I don't mean delete the morph, but just make it invisible and
make it visible again.

--
brad fuller
www.bradfuller.com
+1 (408) 799-6124

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

_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise