I'm trying to create a simple music site using the Grooveshark API and their flash widgets. What I would like to do is have an album cover image with a play button in the middle and when that play button is clicked I would like it to "click" a div that is placed ontop of the flash widget play button, which would theoretically start playing the song.
I know I can create DIVs ontop of the flash widget, but what I'm not sure of is if I can imitate a click on the widget. The flash widget can't be controlled by javascript or any hooks according to their API.
So can clicking a DIV ontop of a flash widget imitate an actual click on the flash?
Here's a link to their API: http://developers.grooveshark.com/tuts/widgets