[Newbies] Fading a PNG

Steven Greenberg greenbes at puzzlingevidence.net
Mon Apr 23 00:00:54 UTC 2007


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




On 4/22/07, Brad Fuller <brad at bradfuller.com> 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 at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20070422/a127b267/attachment.htm


More information about the Beginners mailing list