NEU: Alle Visual Codes als Code Snippets für Flash CS5:
jetzt hier downloaden .
Maus Position
Code Actionscript 2.0
Instanz-Aktion
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Code Actionscript 3.0
addEventListener(Event.ENTER_FRAME, enterFrame); function enterFrame(event:Event) { square.x = mouseX; square.y = mouseY; }
Infos
Download
Right click: Flashfile AS 2.0 | Flashfile AS 3.0 | SWF-File