Javascript and flash

Heya, i am working on my site and i have coded a javascript popup image viewer for thumbnailed images, anyway i am using the google logo as a test, and i want to launch the following code from a button in flash, but any variation of the code still makes it impossible to launch the window, instead i get an error 404 message. Could anyone tell me how to get this:

<a href="http://www.google.co.uk/intl/en_uk/images/logo.gif" onClick="return enlarge('http://www.google.co.uk/intl/en_uk/images/logo.gif',event)">

into a format which is launchable from a getUrl command in flash please?

anyhelp will be much appreciated.