NEU: Alle Visual Codes als Code Snippets für Flash CS5:
jetzt hier downloaden .

Multipress

Code Actionscript 2.0

Instanz-Aktion

on (press) {
// grows each time, when pressed
_xscale = _xscale * 1.1;
_yscale = _yscale * 1.1;
}

Code Actionscript 3.0

square.addEventListener(MouseEvent.MOUSE_DOWN, press); function press(e:MouseEvent) { // grows each time, when pressed square.scaleX = square.scaleX * 1.1; square.scaleY = square.scaleY * 1.1; }

Infos

Das Quadrat wächst bei jedem Mausklick um das 1.1fache an.

Download

Right click: Flashfile AS 2.0 | Flashfile AS 3.0 | SWF-File


Share