PDA

View Full Version : Movieclip covering a button... how to click the button?


maskedMan
05-29-2008, 07:05 PM
I'm using vCam in a project right now, and I'd like to be able to have clickable hotspots on the screen... but the problem is that the vcam movieclip sits on top of the buttons and therefore makes them unclickable.

How do you deal with this in as3? Is there a way to make sure you only get the hand cursor when you're over the button even though the vCam clip is in the way? I've attached a small file demonstrating the issue.

maskedMan
05-29-2008, 08:52 PM
No wonder it wasn't working. vCam sets its parent's visibility to false, therefore no matter what event handlers you assign that parent, it won't register any click events! Fixed. :)