GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Can you do this with flash? (https://gfy.com/showthread.php?t=910586)

EscortBiz 06-14-2009 04:01 PM

Can you do this with flash?
 
make a flash video that when user right clicks it doest say "settings" and "flash player" just says nothing?

EscortBiz 06-14-2009 04:07 PM

got the solution thanks anyways

bns666 06-14-2009 04:20 PM

i am interested in solution too so please post it here :)

EscortBiz 06-14-2009 07:31 PM

no way to get rid of setting and about adobe just by disabling right click on whole page

edit: even that dont work

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

EscortBiz 06-15-2009 03:10 AM

Quote:

Originally Posted by harvey (Post 15959938)
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


All times are GMT -7. The time now is 12:35 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123