Set the shape of the current window using the content of the HTML document currently rendered.
The color defined by the first top-left of the browser area is set as transparent, so each pixel of this color is invisible.
In this example, two DIV tags are visible. When autoShape is applied,
the grey part is invisible as the color of the first pixel in the top left part of
the browser object is set as transparent color.
Call this function when you want to apply a shape to the window. The content of your HTML document define the shape.
If you want to animate your window synchronously with your HTML content, call the functions mio_autoShape_start and mio_autoShape_end. |