Flash & JavaScript

Hello everyone,

I have a JavaScript photo album in a HTML page. The JavaScript displays small thumbnails of pictures. On clicking the thumbnails a bigger version is displayed right above it.

I want to modify this and use Flash to display the thumbnails. So far, I’ve been able to create the flash file that displays the thumbnails. However I’m having problems with passing the value of an image on clicking the thumbnails so that the bigger version image is displayed.

Can someone tell me if it is even possible to achieve?

Thanks for your time!