Hopefully there is a simple solution to this. I have the following onclick HTML code that I'd like to get working in a flash environment:

<a href="#" onclick="jwplayer().load('movie.mp4')">Click Here</a>

I am familiar with the following kind of button code for Flash, but am open to any ways if they work better:

on (press) {
getURL("index2.html");
}

I tried the following code, but it only works in Safari:

on (press) {
getURL("javascript:jwplayer().load('movie.mp4')");
}

If I have not gone in enough detail for the HTML code, here is some more code to put it into context:

<div id="container"></div>

<script type="text/javascript">
jwplayer("container").setup({
autostart: true,
flashplayer: "/jwplayer/player.swf",
height: 270,
width: 480
});
</script>

<a href="#" onclick="jwplayer().load('movie.mp4')">Click Here</a>

Thanks!