Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Constrain Mouse to Stage Area
Bevel Drag Light-Alphamania
Importing Photoshop layers
Push Dial-Alphamania
Which Keys
Popup Menu ActiveX Control
cXtraStringGrid
Hoolicon
cXtraDateTimePicker
AnySaver
 

 

 

Behavior Game protector

Added on 9/14/1999

 

Compatibilities:
behavior D6_5 D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: MarkDaggett

On every exitFrame the behavior checks to see if it is on the correct web page. If it is then nothing happens, if it is not then it displays an alert message telling the user that this game has been pirated from it"s rightful owner. It will display this message on every exitFrame so it can get annoying quick. The hope here is that the pirate realizes this problem and never uploads it to his site in the first place. The other advantage of this is that it will also display the message locally too, so if someone saves the game to their hard drive (shockwave remote users take note) it will display the message as well. In any respect. I hope that you find this useful and that it keeps people form stealing your work.

--written by Mark Daggett info@flavoredthunder.com
--get more behaviors and free stuff at http://www.flavoredthunder.com
property pMoviePAth
property pDoOnce
on beginSprite me
end

on exitFrame me
  if string(the moviepath) contains string(pMoviePAth) then
    
    return
  else
    --you could also get rid of the alert message and send the user to a hidden copyright screen with a link to your site.
    alert "This game has been stolen from"&RETURN&pMoviePath&RETURN&"Don"t support pirates go to the real site!"
  end if
  
  
end
on getPropertyDescriptionList me
  set pdlist to [:]
  addprop pdlist, #pMoviePAth, [#comment:"correct url", #format:#string, #default:""]
  return pdlist
end getPropertyDescriptionList

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail