var rbg: Object=user.group;
var UserClicked: Schnur = "";
var-LDR: Ladevorrichtung = neue Ladevorrichtung ();
ldr.load (neues URLRequest („http://www.sample.com/design1.gif "));
var Lux: MovieClip = neues MovieClip ();
mc.addChild (LDR);
ldr.x = 300;
ldr.y = 100;
this.addChild (LDR);
user.group.addEventListener (MouseEvent.CLICK, checkAnswer);
Funktion checkAnswer (evt: MouseEvent): Lücke {
UserClicked = Schnur (rbg.selectedData);
Spur (UserClicked);
ldr.load (neues URLRequest („http://www.sample.com/design2.gif "));
}
|