# Buttons on bitmapdata?

**URL:** https://forum.kirupa.com/t/buttons-on-bitmapdata/278216
**Category:** flash
**Created:** [December 24, 2008, 5:39am UTC](https://forum.kirupa.com/t/buttons-on-bitmapdata/278216 "2008-12-24T05:39:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BirdInTheCity](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@BirdInTheCity](https://forum.kirupa.com/u/BirdInTheCity)
#### Post date: [December 24, 2008, 5:39am UTC](https://forum.kirupa.com/t/buttons-on-bitmapdata/278216/1 "2008-12-24T05:39:35Z")

</div>

I have created a faux-3D cylinder using this awesome bit of code:  
[http://dispatchevent.org/roger/cylinder-mapping/](http://dispatchevent.org/roger/cylinder-mapping/)

Now here’s the problem: On my rotatable cylinder (see link for visual ref) I want to have an interactive menu appear on the label. (eg A label of “Nutritional Facts” on the cylinder that has rollover buttons for each line).

Is this possible? Can anyone please describe a reference for help or even a starting spot of how to achieve this? I’m thinking it probably involves somehow getting the X/Y coordinates from the distorted bitmapdata and then checking for a button at that point on the original square image. But how would I go about that?

Any and all help would be very much appreciated!  
-Brian
