thinkingarts (23) [Avatar] Offline
#1
In 4.2.5 Dynamic view instantiation the example code includes:

var parentview =
new LzView(first, {name: "second", width: 100,
height: 100, bgcolor: 0xDDDDDD, x: 20, y: 20});

However, I found this a bit misleading because the value returned is not a reference to the parent view (first), but the newly created child view (second).
(The same applies to 4.3.3).
macewen (20) [Avatar] Offline
#2
Re: Dynamic view instantiation
Thanks. Noted.