User Guide
menu 213
on new me
return me
end
The following two sets of handlers make up a parent script. The first set uses me to refer to the
child object. The second set uses the variable
myAddress to refer to the child object. In all other
respects, the parent scripts are the same.
This is the first set:
property myData
on new me, theData
myData = theData
return me
end
on stepFrame me
ProcessData me
end
This is the second set:
property myData
on new myAddress, theData
myData = theData
return myAddress
end
on stepFrame myAddress
ProcessData myAddress
end
See also
new(), ancestor
menu
Usage
-- Lingo syntax
menu: menuName
itemName | script
itemName | script
...
or
menu: menuName
itemName | script
itemName | script
...
[more menus]
Description
Keyword; in conjunction with the installMenu command, specifies the actual content of custom
menus. Field cast members contain menu definitions; refer to them by the cast member name
or number.