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
Post a Comment