Category Archives: Scripts

Extended Object

Some peculiarities of the inheritance in Lingo have always seemed to me to be limiting factors. By the standard means we are not able to know (for sure) if a given object implements a specific handler. Also, we do not know (for sure) if a given object has a specific property. We can not find out what is the object type, nor we can inherit in an easy and flexible way a number of parents.
Let me show you the following example…

588 views

Extended list

This script combines some useful methods of AS3 Array with those of Lingo List. Moreover, some of the original Lingo list methods like add(), append(), deleteAt() and getAt() are modified. For example, getAt() method returns VOID instead of “index out of range” exception.

153 views

Extended Filmloop

Here is another script trying to solve the problems which arise when one is using a #filmloop. How to pause a #filmloop? How to affect the speed of its performance? How to make a #filmloop to be played (for instance) in 1.5 seconds? The answers of these and many other questions are here!

203 views

Extended Timeout

Some time ago, while working on a game, I had to use a multitude of timeout( ) objects (over 250) with different durations. In the course of the work it was getting more and more difficult for me to manage them. Unfortunately, I fully realized that I was going in the wrong direction just when I had to implement…

77 views

Event Dispatcher

One easy way for your script to gain event dispatching capabilities is to inherit the “EventDispatcher” script.

90 views