Ok, so i have my main file, have set a button (fully working radada) with the a.s of
doodler.onPress = function() {
_root.createEmptyMovieClip("container", 1);
loadMovie("doodler.swf", "container");
container._x = 7;
container._y = 72;
};
Everything works perfectly, the doodler.swf is loaded fine, but the actionscripting in doodler.swf
_root.createEmptyMovieClip("myLine", 0);
_root.onMouseDown = function() {
myLine.moveTo(_xmouse, _ymouse);
myLine.lineStyle(2, 0xff0000, 100);
_root.onMouseMove = function() {
myLine.lineTo(_xmouse, _ymouse);
};
};
_root.onMouseUp = function() {
_root.onMouseMove = noLine;
};
Doesnt want to work once loaded into the main swf file. Help? (I looked at a recent post about loading external swf, but that didnt appear to help me either)