# Small rotating part within a bigger button

**URL:** https://forum.kirupa.com/t/small-rotating-part-within-a-bigger-button/179587
**Category:** flash
**Created:** [February 21, 2006, 2:26pm UTC](https://forum.kirupa.com/t/small-rotating-part-within-a-bigger-button/179587 "2006-02-21T14:26:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Declan](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@Declan](https://forum.kirupa.com/u/Declan)
#### Post date: [February 21, 2006, 2:26pm UTC](https://forum.kirupa.com/t/small-rotating-part-within-a-bigger-button/179587/1 "2006-02-21T14:26:25Z")

</div>

Hello - I’m having real trouble with something which I’m sure is simple Flash programming, but I just can’t see what I’m doing wrong.

I’ve got a big button (250 x 156 px). I would like the whole image to be the hotspot for the button. Within the button I have a smaller triangle (25 x 20 px), which I would like to rotate clockwise one point when the user rolls over the button then stop. I would like it to do this every time the button is rolled over. I’ve attached a simple image of this button to this post -

![](http://images5.pictiger.com/images/fb/12f5b0862426f91249a5be01f3342ffb.gif)

If that doesn’t work, it’s here: [http://server5.pictiger.com/img/55213/other/dummy-button.php](http://server5.pictiger.com/img/55213/other/dummy-button.php)

I’ve tried following the tutorials here, but just can’t get it to do what I want. If any of you could help I would be most grateful! Thanks!
