I have a Movieclip called “LUWelcome1.swf”, using:
on (release){
_root.gotoAndStop(“f1”);
}
“f1” being the name of the name of the target frame.
ON “f1” I use:
loadMovie(“LUWelcome1.swf”, “holder”);
stop();
it loads into my main movie which is called “M&KWeb.swf”.
This all works fine.
But…Inside “LUWelcome1.swf” on the 9th frame, I have clip which has 10 buttons which the user must rollover in sequence from 1-10 correctly.
Everytime they move over the correct number a small movie clip plays over it, this is inside “LUWelcome1.swf”.
Once they have completed the task they are allowed to continue to the nextframe with the right arrow key on the keyboard.
This all works perfectly when the clip is not loaded into the main move, when I view it seperately.
Soon as it gets view via the main movie nothing works.
This is the script used on the 9thFrame of “LUWelcome1.swf”:
_root.Info_txt.text=“Move the Mouse Pointer over box number 1.”;
Screen_btn.useHandCursor=false;
for (i=1;i<11;i++){
_root[“B”+i].useHandCursor=false;
}
current=1;
complete=0;
function CheckBox(x){
if (x==current){
_root.Info_txt.text="Move the Mouse Pointer over box number "+(x+1);
_root[“plane”+x].gotoAndPlay(2);
_root.current++;
_root[“activated”+x]=1;
if (current==11){
doComplete();
}
}
else {
if (_root[“activated”+x]!=1){
_root.wrong._x=_xmouse;
_root.wrong._y=_ymouse;
_root.wrong.gotoAndPlay(2);
}
}
}
function doComplete(){
welldone.gotoAndPlay(2);
infotxt._visible=0;
_root.Info_txt.text=“Press the RIGHT ARROW key on your keyboard to continue.”;
complete=1;
}
Please help.I’m really to advanced actionscript.
Thanks
Deadcell