harvey |
06-15-2009 12:56 AM |
I don't know if this is what you mean, but if so, it's really easy, just go to File> Publish Settings (or Ctrl+Shift+12)> and in the HTML Tab uncheck "Display Menu". Or in the code that flash generates, set menu to 'false'
and if you want to use a projector movie, just add this in the first frame:
Code:
fscommand("showmenu", "false");
you can also use JScript (this worked for older versions, not sure for newer ones)
Code:
<script language="JavaScript1.1">
<!--
function right(e)
{
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//--></script>
If the above fails, if the video has no user interaction (ie just click to go to another page) you can do the following
Basically, you need to add the flash video in a div and then a div over it with a higher z-index. This div will have just a transparent png, so all clicking (left and right) will be disallowed. Of course, you can link the transparent gif with border:0 so users can click on it to go to the page you want.
Problem with this approach is that you'll need to autoplay the flash video or have the transparent png link to play the video and then the flash video should pass a variable so the link changes to stop, goto, whatever
|