I've done something like this in the past:
if(_root._url.indexOf('file://') != -1 || _root._url.indexOf
('yourdomain.com') == -1) {
_visible = false;
}
Sure you can still decompile it, but depending on what's in the SWF,
that's proba
This really is not effective. Ultimately the swf still ends up getting
sent to the client when the application is used. Then that user can get
the swf out of thier cache and decompile it to grab the assets. As Tom
explained, If your app loads external swf's you cannot protect them, you
can o
Yo. Adding scripts that do the following to each of your map content swfs
should solve your problem:
1) Create an if-then statement that checks for a variable that your map
loader swf will set. If this variable is not set to the proper value that
your loader/viewer swf sets, make the map swf
3 matches
Mail list logo