# Rollout state on button

**URL:** <https://forum.kirupa.com/t/rollout-state-on-button/293232>\
**Category:** Uncategorized\
**Created:** [July 25, 2009, 1:35pm UTC](https://forum.kirupa.com/t/rollout-state-on-button/293232 "2009-07-25T13:35:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveypoo](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@daveypoo](https://forum.kirupa.com/u/daveypoo)\
**Post date:** [July 25, 2009, 1:35pm UTC](https://forum.kirupa.com/t/rollout-state-on-button/293232/1 "2009-07-25T13:35:26Z")

</div>

Hi i’m new hear so please be gentle

Anyway, i have made a button with a rollover and rollout state.  
Everything seems to work fine but only once, When you want to use the button again.  
It does not seem to start again on “rollover”.  
it only does the rollout script.

Any help please ;( … i am very new to this and this is my first time using flash.  
but i am confident that i can learn quickly.  
here is the script so far.

[COLOR=Navy]stop();

import flash.events.MouseEvent;

btn1.addEventListener(MouseEvent.MOUSE\_OVER, over);

function over(event:MouseEvent){  
gotoAndPlay (1)  
}

btn1.addEventListener(MouseEvent.MOUSE\_OUT, out);

function out(event:MouseEvent){  
gotoAndPlay (6)  
}[/COLOR]
