Hi,

sorry I forgot to inform you. I already added the opacity setter/ 
getter to ImageMorph yesterday. You can now do stuff like:

x = new ImageMorph(new Rectangle(45, 45, 49, 49),  
URL.source.withFilename('mouse.png').toString());
x.openInWorld();
x.setOpacity(0.3)

Robert

On Feb 25, 2009, at 2:15 PM, Philip Weaver wrote:

> That was pretty simple to hack. But Lively still may need  
> morph.setOpacity().
>
> ImageMorph.subclass("enhanced.ImageMorph", {
>       
>       initialize: function($super, rectangle, imagePath) {
>               
>               $super(rectangle, imagePath);
>               
>               this.rawNode.style.setProperty('opacity', '0.2');
>               this.setFillOpacity(0.0);
>       }
> });
>
> _______________________________________________
> General mailing list
> [email protected]
> http://livelykernel.sunlabs.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://livelykernel.sunlabs.com/mailman/listinfo/general

Reply via email to