Double click = success?

on (release) {
button_biography.onRelease = function() {
tellTarget (“transition_in”) {
gotoAndPlay(3);
loadMovieNum(“biography.swf”, 1);
}
};
}

Basically, I have a button on frame 3 on the ‘main.swf’. When the button is clicked, it plays frame 3 in a movie clip entitled ‘transition_in’ and loads the movie ‘biography.swf’ onto level 1. The action works; however, it, for some reason, is necessary for the button to be clicked twice for either action (tell target or loadmovie) to occur. How can I reduce this to one click? Thanks for your time.

I’m pretty new to this too, but try this:

on (release) {
	transition_in.gotoAndPlay(3);
	loadMovieNum("biography.swf", 1);
}

If that one doesn’t work then try this one

on (release) {
	_root.transition_in.gotoAndPlay(3);
	loadMovieNum("biography.swf", 1);
}

Thanks for the quick and effective response. It is much appreciated. I think that this would be a good time to express how much I hate actionscript. Ok, I don’t hate it, it’s worth it’s weight in gold, just a bit confusing at times, especially when you’re a coder like me. Anyways, that’s all besides the point. Thank you electrongeek.

Did it work? I’m a bit curious cause I sort of guessed on it. :-\

It most definitely worked. Thanks again.