Ok, this is what i did.
I made a small thumbnail, made it a mc and put
on(rollOver){
loadMovie(“test.swf”,_root.drag_mov);
};
on(rollOut){
unloadMovie(_root.drag_mov);
};
// I wanted to load a swf inside a mc so i can move that mc (drag_mov) where i want (follow my mouse as long as i hover over the thumbnail. When i roll out it should unload the swf.
test.swf has two frames, a loader (frame1) and on frame2 a picture, converted to a mc, and on frame 2 the following script:
xxl._x = _xmouse;
xxl._y = _ymouse;
xxl.startDrag();
//xxl is what i named the mc with the picture iside.
If i open my main swf file, roll over the thumbnail, i can get a glympse at the loader and then my swf goes to frame 1(my main swf). I did not get this error on my browsers (i used IE 6 and Mozilla FIrefox2) but when other people tried to look at the swf (i uploaded it) they got the error mentioned above.
I really need to get this to work because i have a deadline.
I am using Flash8 and AS2.
If you know another way of loading a swf and making it follow the mouse as long as i hover a button then unload it when i rollout, please tell me.
Thank you.
P.s. i haven’t tried to put the following script on my thumbnail mc:
on(rollOver){
loadMovieNum(“test.swf”,10);
};
on(rollOut){
unloadMovieNum(10);
};