# A chick script question

**URL:** https://forum.kirupa.com/t/a-chick-script-question/256624
**Category:** flash
**Created:** [April 4, 2008, 7:44pm UTC](https://forum.kirupa.com/t/a-chick-script-question/256624 "2008-04-04T19:44:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rob24](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rob24](https://forum.kirupa.com/u/rob24)
#### Post date: [April 4, 2008, 7:44pm UTC](https://forum.kirupa.com/t/a-chick-script-question/256624/1 "2008-04-04T19:44:11Z")

</div>

Instead of making a new thread, i though i would just edit this one. I have a new question. In flash i have a symbol named “Ball.” In THAT symbol, i have another symbol named “Up.” in frame one. The next 5 frames is a motion tween. At the last frame there is a new symbol named “Bar.” Now my problem is, that when I click on “Bar” plays over again. This is because on symbol “Ball” on have a “on (release) {play();}” Now what I need, is something to add to this scrip that tells the program to only play when “Up” is being released.  
This is a quick swf of what Im talking about.  
[http://img170.imageshack.us/my.php?image=linkreturnca2.swf](http://img170.imageshack.us/my.php?image=linkretur%20nca2.swf)  
(I also have a script that sends it back to frame 1 when u roll off, so just click the black thing and keep ur mouse there till the tween is done) Then if u click again it will restart. I don’t want it to restart if i click again. Any help would be great thanks guys.
