So, working around that compiler bug
<canvas width="1000" height="600">
<handler name="oninit">
var i;
i = 1000;
var starttime;
starttime = getTimer();
while (i > 0) {
i--;
new lz.view(canvas, {x: i, y: i});
}
new lz.text(canvas,{x:0, y:20, text: 'elapsed time: '+getTimer()});
var ctime;
ctime = getTimer() - starttime;
new lz.text(canvas,{x:0, y:30, text: ('initialize new views
time: '+ctime )} );
</handler>
</canvas>
SWF8
total elapsed time 137 msec
creating views: 97 msec
SWF9
total elapsed time 450 msec
creating views: 270 msec
So it looks like a speedup of about three from swf8 to swf9 for view creation.
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]