i have a button, that when you click on it launches an mc, and when clicked again it plays the mc’s next frame which affectively closes the mc. but…
when clicked again nothing happens. it’s like an empty click or some thing.
if you click it again after that it works fine… second click works well, but then again… the third click does nothing.
i’m not sure why this happens. does any have any advice on this?
i just figured it out. as i was typing the question in i realized what i was doing.
its a simple mistake.
the button has just the usual 'on (release){ mc.play(2) }
the mc was just sitting on the stage. the start of the mc has an empty
keyframe with stop(). so on frame 2 the mc plays through to the next
stop(). then following the second click on the button flash sends the play
head to the next frame by default right… so it just plays through till the
3rd stop().
the problem is when clicked again flash sends the play head to the next frame
which is at the start of the mc. remember the first stop right? well it was that one that caused the clip to just sit there. cause the play head went to the next stop() frame.
the solution was to remove the 3rd stop(). then the play head goes right to the first stop() frame.
so in conclusion the play head stopped 3 times. when removing the last frame stop() frame it went to the beginnnig where it should have been going the whole time.
thanks again for the reply. hate to waste a post like that.