# Can i get some help here?

**URL:** <https://forum.kirupa.com/t/can-i-get-some-help-here/228312>\
**Category:** Uncategorized\
**Created:** [June 6, 2007, 8:24pm UTC](https://forum.kirupa.com/t/can-i-get-some-help-here/228312 "2007-06-06T20:24:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacdesco](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@pacdesco](https://forum.kirupa.com/u/pacdesco)\
**Post date:** [June 6, 2007, 8:24pm UTC](https://forum.kirupa.com/t/can-i-get-some-help-here/228312/1 "2007-06-06T20:24:13Z")

</div>

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.
