Difference between revisions of "Logo.as"
From Organic Design wiki
m |
m |
||
Line 1: | Line 1: | ||
− | attachMovie( ' | + | attachMovie( 'square', 'test', 1 ); |
test._x = test._y = 50; | test._x = test._y = 50; | ||
test._xscale = test._yscale = 500; | test._xscale = test._yscale = 500; | ||
Line 10: | Line 10: | ||
function reduce() { | function reduce() { | ||
− | test._x = _root._xmouse; | + | test._x = ball._x = _root._xmouse; |
− | test._y = _root._ymouse; | + | test._y = ball._y = _root._ymouse; |
} | } |
Revision as of 09:19, 16 March 2006
attachMovie( 'square', 'test', 1 ); test._x = test._y = 50; test._xscale = test._yscale = 500; test._visible = true; test._alpha = 100;
attachMovie( 'ball', 'ball', 2 ); ball._x = ball._y = 50; ball._xscale = ball._yscale = 50;
function reduce() { test._x = ball._x = _root._xmouse; test._y = ball._y = _root._ymouse; }