Hi there,

I'm having difficulty controlling the timeline within a move clip.

i want to reuse the movieclip / sprite elsewhere - so im trying to avoid referencing the clip like this (which does work as intended):

Code:
on (keyPress("u")) {
    stopAllSounds();
    _root.questions.q1.cover_a._visible = 0;
    _root.questions.q1.cover_b._visible = 0;
    _root.questions.q1.cover_c._visible = 0;
    _root.questions.q1.cover_d._visible = 0;
    _root.questions.q1.gotoAndStop("unselected");
}
This doesn't work either


I have tried this:

Code:
on (keyPress("u")) {
   stopAllSounds();
   this.cover_a._visible = 0;
   this.cover_b._visible = 0;
   this.cover_c._visible = 0;
   this.cover_d._visible = 0;
   this.gotoAndStop("unselected");
}
That doesn't work


have tried this:

Code:
on (keyPress("u")) {
     stopAllSounds();
     cover_a._visible = 0;
     cover_b._visible = 0;
     cover_c._visible = 0;
     cover_d._visible = 0;
     gotoAndStop("unselected");
}
that doesn't work either

Apologies if this is an easy fix - not used flash / swish for years!

many thanks,
Neil