Troubleshooting

Scripting error with LemurEditor 5.0.3

Started by mssngmrblz on .

Sign in or create an account to join the conversation.

7 posts

I have a page in my template for loading custom controls. When I launch a new scene in live that loads controls the page is first wiped clean to make way for the new bank of controls.

it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.

Thanks for your time and thought.

Pat
Hi
Yes i am pretty sure it was deprecated with create object though they are looking at keeping that
From memory they were used together to get around the memory issues on hardware lemurs.
With the sizes possible now i guess it would be a case of rewriting Mu to simply have all those subpages in the one project and simply page them in and out of view as needed
mssngmrblz wrote:I have a page in my template for loading custom controls. When I launch a new scene in live that loads controls the page is first wiped clean to make way for the new bank of controls.

it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.

Thanks for your time and thought.

Pat
Got it. That's good programming practice for sure. From my (limited) experiences with Lemur on iOS programming, resource management may be done 'under the hood', but in general I've tried to define a set of controls and then either use hide/show type operations to bring them into view or use setattribute() type commands to relabel/resize/reposition them as needed.

I can certainly see how the sheer number of objects needed for large templates could cause memory issues, although there was a recent maximum template size increase in one of the 5.0.x updates.