# Need help with a button in Flash8

**URL:** <https://forum.kirupa.com/t/need-help-with-a-button-in-flash8/193086>\
**Category:** flash\
**Created:** [July 4, 2006, 8:53am UTC](https://forum.kirupa.com/t/need-help-with-a-button-in-flash8/193086 "2006-07-04T08:53:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MakaveliReturns](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MakaveliReturns](https://forum.kirupa.com/u/MakaveliReturns)\
**Post date:** [July 4, 2006, 8:53am UTC](https://forum.kirupa.com/t/need-help-with-a-button-in-flash8/193086/1 "2006-07-04T08:53:19Z")

</div>

Hey guys, love the site!

My Q is I’m trying to do a simple task here with buttons, and I’ve spent hours and hours digging my head into action script, but can’t get this to work correctly.

I have 2 raster images (off state and on state), I want the rollOver and rollOut functions to work this way:

\*On top of the first image, I want the rollover image to “wipe” in. So far I have done this correctly and RollOut works as well.

My second thing I want the button to do is strobe when clicked on (onPress). Well I did that as well, but after I have clicked it, it will also do the RollOut as well and I have to hold down the mouse button for it to complete the onPress action. It all looks funky when I click on it. RollOver and Rollout are fine.

I’d really appreciate it if you guys could help!

Thanks

PS. I’ve attached the swf & fla file, I know I’m doing something wrong for sure.
