-- Lingo syntax
castObjRef.findEmpty({memberObjRef})
// JavaScript syntax
castObjRef.findEmpty({memberObjRef});
Cast library method; displays the next empty cast member position or the position after a specified cast member.
This method is available only on the current cast library.
memberObjRef Optional. A reference to the cast member after which the next empty cast member position is displayed. If omitted, the next empty cast member position is displayed.
This statement finds the first empty cast member on or after cast member 100:
-- Lingo syntax trace(castLib(1).findEmpty(member(100))) // JavaScript syntax trace(castLib(1).findEmpty(member(100)));