[Newbies] Re: How to add a gif or an image to a Morph

K. K. Subramaniam subbukk at gmail.com
Thu Mar 18 13:30:32 UTC 2010


On Thursday 18 March 2010 04:56:13 pm FrankBz wrote:
> The problem is that I'm writing a a morph that should change background
> image accordingly to user action.. 
What exactly are you trying to do? Create a button? Create a scenic animated 
background? Do you need to scale/rotate your background image before display?

See ThreePhaseButtonMorph for a morph which changes its background depending 
on mouse gestures.

PasteUpMorph has a  backgroundMorph that can be changed using backgroundForm: 
or backgroundSketch:

You can embed your morph into a SketchMorph that displays your background form 
after scale/rotation transforms.

HTH .. Subbu


More information about the Beginners mailing list