var rbg: Object=user.group;
var UserClicked: Sznurek = "";
var ldr: Ładowacz = nowy Ładowacz ();
ldr.load (nowy URLRequest ("http://www.sample.com/design1.gif "));
var mc: MovieClip = nowy MovieClip ();
mc.addChild (ldr);
ldr.x = 300;
ldr.y = 100;
this.addChild (ldr);
user.group.addEventListener (MouseEvent.CLICK, checkAnswer);
funkcja checkAnswer (evt: MouseEvent): pustka {
UserClicked = Sznurek (rbg.selectedData);
ślad (UserClicked);
ldr.load (nowy URLRequest ("http://www.sample.com/design2.gif "));
}
|