View Single Post
Old 06-15-2009, 03:10 AM  
EscortBiz
Fuck Checks, CASH only!
 
Join Date: May 2002
Location: New York City
Posts: 19,422
Quote:
Originally Posted by harvey View Post
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
it seems like whatever you do the right clicking on a flash movie will always bring up settings and about adobe, im really trying to avoid that
EscortBiz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote