// How to move your MC around MovieClip.prototype.moveAround = function(){ Key.addListener(this); this.onKeyDown = function (){ this._x += Key.isDown (Key.RIGHT)*1 - Key.isDown (Key.LEFT)*1; this._y += Key.isDown (Key.DOWN)*1 - Key.isDown (Key.UP)*1; } }; // How to apply myMC.moveAround();
Thanks to Mike Chambers of Macromedia, for giving a link to me on his blog. Now, I really need to concentrate on my site and its usage to the new aspiring Flash designers/developers.
Brajeshwar is an ardent believer of KISS (Keep It Simple Stupid), he envision pushing the technical envelop time and again for the betterment of commercial and practical applications.