javascript - Disable right-clicking on an embedded livestream flash object? -


i'm running embedded flash swf object on site. i'd prevent people right-clicking on it. problem don't have access original swf, can't add ac3 script, , want avoid using javascript so. people can still disable java want.

so question is, there anyway this? thanks.

load swf new swf, , there disable right-click.

// load swf var myloader:loader = new loader(); var url:urlrequest = new urlrequest("externalswf.swf"); myloader.load(url); addchild(myloader);     // disable right-click stage.addeventlistener(mouseevent.right_click, function(e:event){}); 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -