Difference between revisions of "Logo.as"
From Organic Design wiki
m |
(working?) |
||
Line 10: | Line 10: | ||
function reduce() { | function reduce() { | ||
− | test | + | test._x = _root._xmouse - test._width/2; |
− | test | + | test._y = _root._ymouse - test._height/2; |
} | } |
Revision as of 09:37, 16 March 2006
attachMovie( 'xmlwiki', 'test', 2 ); //createEmptyMovieClip( 'test', 2 ); //test.loadMovie( '/wiki/images/6/6d/Xmlwiki.png' ); //test.loadMovie( '/wiki/images/1/18/Xmlwiki.jpg' ); //test.loadMovie( '/xmlwiki.dbl' );
attachMovie( 'ball', 'ball', 3 ); ball._x = ball._y = 50; ball._xscale = ball._yscale = 50;
function reduce() { test._x = _root._xmouse - test._width/2; test._y = _root._ymouse - test._height/2; }