# Invisible buttons necessary?

**URL:** <https://forum.kirupa.com/t/invisible-buttons-necessary/287238>\
**Category:** flash\
**Created:** [April 28, 2009, 1:18pm UTC](https://forum.kirupa.com/t/invisible-buttons-necessary/287238 "2009-04-28T13:18:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BeerOclock](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Post date:** [April 28, 2009, 1:18pm UTC](https://forum.kirupa.com/t/invisible-buttons-necessary/287238/1 "2009-04-28T13:18:34Z")

</div>

I keep hearing about using a big invisible button on the top layer of your flash movie when you want any click to take you to another website for example.

But what Ive done is a little different. My very BOTTOM layer is a background gradient, which is obviously not invisible. In my actionscript I have Gradient.onRelease = function () {getURL… etc etc

This seems to work on my computer. The question is, is this a bad practice? Will this fail on some versions of flash players/browsers? Is the invisible button method better? It just seems dumb to do the invisible button thing when i have a perfectly sized background gradient that seems to work.
