Loading A Movie On Mouse Click

I’m serving flash up through a php site, and I was wondering:

Since I only want people to be able to view my content when they’re logged into the app (and hence the flash will be displayed within the page using an embed tag) and not just navigate to the directory where the content is (which has to have execute permissions enabled, unfortunately)…is there a way, possibly using javascript or php, to load the movie on mouseclick (over the area where the movie would be displayed)?

As I’m new to flash, I have no idea if javascript is able to interact with actionscript in this fashion. Any insight would be appreciated, even if it’s a completely different solution to the problem.