Category Archives: Experiments

JavaScript memory leak

I found by accident that using some javascript functions in Director brings memory leaks. Such a function, for example, is Math.round().

155 views

object getProp() / setProp()

I have never seen in any documents that Lingo allows properties to be added to an already existing instance. For example…

160 views

Read-only Properties

It is often necessary for a certain property in a given script to be a read-only one. This cannot be achieved by the common properties, proposed by Lingo, so we usually use accessors methods by the means of which we manipulate these properties in the way we like. This works out, of course. But if we want (for

88 views