Please enable JavaScript to view this site.

Project Packer - User Guide

Navigation: The Flash Compiler

Flash Projects with more files

Scroll Prev Top Next More

In this chapter, we are going to protect MP3-files with a Flash Music Player! Follow these steps to create and protect your Flash project.

You can use the Project_Packer_Workshop files to exercise the procedure!


This is the directory with the files you need:




directory images: each MP3-file has it's own image

directory radio: this is the directory with the MP3-files

file mp3player.swf: this is your Flash Music Player. It will be the start-file of your project!

file mp3player.xml: this is the configuration file for the Flash music Player. In our example, these are the contents of the xml file:


<?xml version="1.0" encoding="utf-8"?>

<musicplayer id="mp001" width="450" height="172" type="normal">

 <config id="play_start" value="yes" enable="yes"/>

 <config id="play_mode" value="all" enable="yes"/>

 <config id="volume" value="50" enable="yes"/>

 <config id="album_countsongs" value="yes" enable="yes"/>

 <config id="album_sublist" value="yes" enable="yes"/>

 <config id="show_songtime" value="yes" enable="yes"/>

 <config id="gui_title" value="" enable="yes"/>

 <config id="gui_composer" value="" enable="yes"/>

 <config id="gui_artistpic" value="" enable="yes"/>

 <config id="gui_comment" value="" enable="no"/>

 <caption id="c_choose" enable="yes"><![CDATA[Choose a category:]]></caption>

 <caption id="c_song_album" enable="yes"><![CDATA[Category:]]></caption>

 <caption id="c_song_name" enable="yes"><![CDATA[Title:]]></caption>

 <caption id="c_song_author" enable="yes"><![CDATA[Composer:]]></caption>

 <caption id="c_load" enable="yes"><![CDATA[LOAD STATUS]]></caption>

 <caption id="c_progess" enable="yes"><![CDATA[Playing progress]]></caption>

 <caption id="c_button_prev" enable="yes"><![CDATA[Previous Track]]></caption>

 <caption id="c_button_play" enable="yes"><![CDATA[Play]]></caption>

 <caption id="c_button_pause" enable="yes"><![CDATA[Pause]]></caption>

 <caption id="c_button_stop" enable="yes"><![CDATA[Stop]]></caption>

 <caption id="c_button_next" enable="yes"><![CDATA[Next Track]]></caption>

 <caption id="c_button_loop" enable="yes"><![CDATA[Auto Loop Songs]]></caption>

 <caption id="c_button_volume" enable="yes"><![CDATA[Volume Control]]></caption>

 <button id="1" text="Orontes" link="" display="yes" enable="yes"/>

 <button id="2" text="Help" link="" display="yes" enable="yes"/>

 <button id="3" text="Order" link="" display="yes" enable="yes"/>

 <station name="Project Packer Music Protection">


                 <title>Beautiful Noise</title>

                 <composer>John Doe</composer>





                 <title>Lounge Music</title>

                 <composer>John Doe</composer>





 <config id="show_song_url" value="no" enable="no"/><caption id="c_song_url" enable="no"><![CDATA[]]></caption>



Start Project Packer.  You will see this screen:


Project Packer - Main Screen



Click on the button add file(s), you will see a dialog-box, where you can select the SWF-file.

Select your Flash start-file 'mp3player.swf'. You will see the file with full path in the file-list:


Select the SWF start-file to pack/compile/protect


Click on the selected SWF file to mark it as 'run file'.  This is very important before the next step!

Click on the button: add with wildcards. This step is very important because we are going to pack more than one file in our project! If you had selected mp3player.swf in the previous step, you will see this dialog:


Add files with wildcards

The directory of your project, in this case the directory and sub-directories of the mp3player.swf file is suggested!


Click on the OK button.  The Project Packer file selection box, looks like this now:


File selection box, with entry with wildcards

The second line will include all the files and (sub)directories in the soundprotection directory!



Don't change these options!  The correct options are:

oFlash Support: Standard Flash Support (Standard Flash Compiler). This is always your first option!

oRestore to: Current Directory

oRun selected File enabled

oExtract Files in Virtual Zone enabled

If you need Copy Protection, you must enable Lock to Storage Medium.  When you enable this option, you must save your project on your destination medium (HD, USB-stick, optical disk)!

Make sure the SWF start-file mp3player.swf is still selected 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, with the Flash Music Player and all the other files included:


Protected Flash Music Player