Apr 25

Flash 2.0 Components

Category: flash 2.0

Use Accordion as your navigation. You may easily customize its style. Download this component.zip

No comments

Jan 21

Protect flash

Category: PHP, flash 2.0

Here is my idea on how you can protect your flash animation / flash application from swf decompilers and from browsers ‘file save As…’ .

Files we need and their purpose:

  • page.php [server-side script can encrypt the movie’s file name, contains the loader.swf]
  • loader.swf  [recieve encrypted value from page.php and post it to decryptor.php]
  • decryptor.php [receives post, decrypts and tell what to load to loader.swf]
    - session was used to ensure no result will be displayed when this page is accessed
  • main.swf 
    - animation as much as possible should be in a movieclip (so decompilers may interpret your animation in only one frame)
    - validation in a movieclip (validation of 2 values before play, i.e the value of encrypted text to compare)

I already done this coding. And by doing this practice we can protect our flash files. In the actual testing the only swf that can be downloaded by the user will be the loader.swf, which calls the main.swf using encryption.  I will upload the files soon…

2 comments

Jan 19

PHP Basics

Category: PHP

Repeating Action with loops using the while() loop and the for() loop in PHP. loop.php

Loop thru an array using foreach() and for loop(). array_loop.php

Display time and format date in PHP. date.php

Format dates(from an array) using function. ex_function.php

No comments

Next Page »