•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Graphics and Multimedia section within the Web Development category of DaniWeb, a massive community of 455,985 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,795 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Graphics and Multimedia advertiser: Internet Marketing Services
Views: 1161 | Replies: 5
![]() |
Pls. suggest how can we protect ur flash work from swf catchers.
thnx,
thnx,
CORELROCKS
innovativeatul@gmail.com
innovativeatul@gmail.com
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,855
Reputation:
Rep Power: 32
Solved Threads: 304
If you mean that you dont want others to download and watch your swf files, then yes, you could save it, indirectly though. Basically they will download it, but wont be able to watch it. Firstly you could check whether the domain in which the swf movie is running is allowed using
And you could check in which player are you running this swf file using
And to prevent your swf from being decompiled, use any SWF Encrypters. However, as far as I know it would only encrypt your ActionScript, your sound and movies will still be readable.
LocalConnection object. This is probably used extensively by Flash game sites. Here's how you could implement it.var loc:LocalConnection = new LocalConnection();
var domain:String = loc.domain();
if (domain == "www.yoursite.com") {
gotoAndPlay("start");
} else {
gotoAndPlay("access_denied");
}And you could check in which player are you running this swf file using
System.capabilities.playerType
For Example: var player:String = System.capabilities.playerType;
if( player == "ActiveX" )
gotoAndPlay("start");
else
gotoAndPlay("access_denied");And to prevent your swf from being decompiled, use any SWF Encrypters. However, as far as I know it would only encrypt your ActionScript, your sound and movies will still be readable.
Last edited by vishesh : Dec 13th, 2007 at 5:22 am.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Graphics and Multimedia Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Tag Remover (Graphics and Multimedia)
- PokaPoka63 Serious Infection! (Viruses, Spyware and other Nasties)
- IE Syntax Error and Can´t browse some sites (Viruses, Spyware and other Nasties)
- Error Code: C00D119D Windows Media Player (Graphics and Multimedia)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: Flash 8 XML
- Next Thread: How to apply Preload behaviour?



Linear Mode