In this chapter, we are going to compile another well known Flash Game: Candy Crush! Candy Crush is an advanced game, and it will not work with the Standard Flash Compiler. Follow these steps to create and protect your Flash project.
You can use the Project_Packer_Workshop files to exercise the procedure!
•Start Project Packer. You will see this screen:
•Click on the button add file(s), you will see a dialog-box, where you can select the SWF-file.
•Select your Flash-file candy-crush.swf'. You will see the file with full path in the file-list:
•Don't change these options! The correct options are:
oFlash Support: Extended Flash Support (Extended Flash Compiler). If you use the Standard Flash Compiler, the game will not work. You can try it, if you like!
oRestore to: Current Directory
oRun selected File enabled
oExtract Files in Virtual Zone enabled
•Click on the selected SWF file to mark it as 'run file'.
•Click on the button: Build Archive. You can select the destination medium and the type of archive you like: PPA (Project Packer Archive file) or EXE (standalone EXE file). You will see this dialog if the operation was successful:
•Click on the OK button
Now, you have a compiled and protected Flash project, compiled with the Extended Flash Compiler: