Many times I've referenced an active view by opening them like so

OpenBW = new lz.BigWindow(canvas, {x:xcor, y:10, width:wid});

OpenBW = something like this <BigWindow>#3 /BigWindow

after doing this I can refer to that view using the variable OpenBW.

In a project I'm currently working on it would be pretty messy to spawn all of my views like the one above but I still would like to be able to reference them.

How can I do this?

I've tried to assign the Id of the view I want to control to a variable and I've also tried getUID but both of these return "TypeError: Cannot call method 'doStart' of undefined"

Can someone please help

--
ignotus

Reply via email to