Top layer and layering

Klaus Major klaus at major-k.de
Fri Aug 4 09:53:51 CDT 2006


Hi Shari,

> Learn something new about Metacard every day...
>
> Layering is a big issue in one of my projects, and the layering  
> changes constantly.  Sometimes a thing needs to appear on top of  
> other things, and I went to a lot of trouble to determine the layer  
> it needed to appear at.
>
> I just got the notion to try something, and what are the odds?  It  
> worked!
>
> The simplicity is awesome.
>
> All you need to query is:
>
> put the number of layers + 1 into topLayer

you can also set the layer of an object to an incredible (or at least  
unlikely high ;-)
number, the engine will take care of that!

set the layer of img "my beautiful image" to 1000000

will do :-)

> And voila!
> -- 
> Mac and Windows shareware games
> http://www.gypsyware.com

Best from germany

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the metacard mailing list