Hi everyone,
I've just uploaded three scripts to:
<http://groups.yahoo.com/group/openLingo/files/openSpark/>
Two of these (GroupBroker and SpriteGroup) allow you to create a group of
sprites that share a common ancestor.
For example: you may need four separate sprites (an integer slider, an
integer input field and a pair of nudge arrows) to create a unified integer
input control. You would drop the Sprite Group behavior on all four
sprites, and place the code to manage them in the shared ancestor instance.
The Group Instance Broker script allows you to identify such common
ancestors by ID, so you can have several distinct input controls at the same
time.
Other examples:
Text + scrollbar + hilite sprite
Multiple input fields + Revert + Cancel + OK button
The other script allows you to convert strings with high-ANSI characters and
line breaks from Windows to Mac format and back on the fly. Unix line feeds
(as created by OSX's TextEdit) are also handled.
These scripts are not yet in openLingo approved format. I would welcome
feedback on them first.
Cheers,
James