another day, another question it seems... I'm currently scripting an onscreen keyboard, which I have done many times in Flash and Director so I know LC will certainly be able to do what I need but the syntax still takes adjusting for me...
I want to fill the keyboard's buttons with the names of the keys, which can change. I'd do this with a repeat loop, but in order to do that I first need to be able to get the name of the group (each button is a group consisting of the button graphic and 2 text layers). In Flash I would use the keyword 'this' to indicate the code has to focus on the current group (or movieclip as it is called there) and then I could get the name of it and thus fill the buttons correctly from within my group and have them respond correctly to the user interactions.
I tried with "target" to get at least something just for the fun of it, and unfortunately got the names of the text layers instead of the group. But so far LC hasn't dissapointed me, so I keep my hopes up!

Johan