Click to See Complete Forum and Search --> : Protecting my flash


The Doctor
07-12-2006, 12:20 PM
I like using Macromedia Flash and I love to put things on my site ... Which is under consruction, but How do I stop people copy my .swf file? I mean I have seen it before I have try to steal someone elses games :rolleyes: And I want it so when someone copys the .swf it shows a diffrent .swf saying go away or something lol


PLEASE help, please please.

Please help, i'm young :P

Jamie

wh666-666
07-12-2006, 08:50 PM
On macromedia you can protect flash to a degree to make it difficult to alter (depending how you make it in the first place). What about watermarking the flash movie ?

The Doctor
07-13-2006, 12:55 PM
Watermarking won't help ... I need the flash on the servers i'm using to be complety to be procteted esspically my work.

skilled1
07-13-2006, 01:05 PM
only way i see this is if you have something like alot of 'humor' sites have, where the applet that is embeded on the page, sources the video so if you set it up like

<embed src=http://www.yourdomain.com/flash/gameapplet.swf&id=9

and that gameapplet.swf just gets passed the id for the game you want to play, this however either needs PHP, ColdFusion or another serverside programing langauge, to figure out URL passed variables, and display it the way you are looking for.

The Doctor
07-13-2006, 01:07 PM
hmmm ... I like how your thniking and I have PHP ... can you explain a little bit more please?

skilled1
07-13-2006, 02:39 PM
http://www.humordump.com/

if you go there, you can watch movies, well they have a swf player that loads and plays the movies


<div class="mplayer">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="420" height="320">
<param name="movie" value="/media/mp.swf?v=2838"/>
<param name="quality" value="high"/>
<embed src="/media/mp.swf?v=2838" quality="high"
width="420" height="320"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
</object>


by looking though their code they have this as the actual object

<td><input style="width:180px;" type="text" value='&lt;param name="movie" value="http://humordump.com/media/mp.swf?2838"&gt;&lt;/param&gt;&lt;embed src="http://humordump.com/media/mp.swf?v=2838" type="application/x-shockwave-flash" width="420" height="320"

you can see that they refrence a common player file 'mp.swf' and pass to that ?v=# the video given the id# 2838, if you have a common 'player' file and pass a game ID to it, and keep the games themself in a protected folder, rather than the same folder as the player, no one would know the name of the game, or how to steal it, just know the id# of the game

The Doctor
07-13-2006, 03:05 PM
ok ... I got that now, but how can I make this work for me?

Thanks

Jamie