I have created a faux-3D cylinder using this awesome bit of code:
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