sorry another AS Q :E
sorry another AS Q :E
Out of context: Reply #24
- Started
- Last post
- 25 Responses
- weestu0
I got this working in MX:
mouseClick = new Object();
Mouse.addListener(mouseClick);
i=0;
mouseClick.onMouseDown = function () {
newx2 = _root._xmouse;
newy2 = _root._ymouse;if (i>3){
i = 0;
_root.attachMovie("eagle","eagle... + i, i ) ;
_root["eagle"+i]._x=newx2;
_root["eagle"+i]._y=newy2;
} else {
i++;
_root.attachMovie("eagle","eagle... + i, i ) ;
_root["eagle"+i]._x=newx2;
_root["eagle"+i]._y=newy2;
}
}To use attachMovie you need to set up linkage from the library.