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):
This doesn't work eitherCode: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"); }
I have tried this:
That doesn't workCode: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"); }
have tried this:
that doesn't work eitherCode:on (keyPress("u")) { stopAllSounds(); cover_a._visible = 0; cover_b._visible = 0; cover_c._visible = 0; cover_d._visible = 0; gotoAndStop("unselected"); }
Apologies if this is an easy fix - not used flash / swish for years!
many thanks,
Neil



Reply With Quote