Can i get some help here?

Hey Kirupians…

It’s been ages since I came on this board but I’m in need of some AS assistance:

I’m trying to use the “if / else” statement to control what this button does. For example, I want to be able to have the user click on this button and be able to tell whether or not the user is coming from another clip named movieclip1.

[INDENT]on (release) {
if (movieclip1=true) {
tellTarget ("/movieclip1/movieclipinside") {
gotoAndStop(“stop”);
}
}
}
[/INDENT]

The script above works, however, not sure how to make it work if the user was not coming from movieclip1. Is this where I would use the Else statment? And if so how the heck should I code this?

Any help is much appreciated.