pack_file object
This method will list all the files in the pack.
string[] list_files()
Parameters:
None.
Return value:
An array of files on success, or an empty array on failure.
Remarks:
Although internal names can take the form of directory formatting, the pack format cannot differentiate between directories and files. Therefore if you have an internal name of music/level1.ogg, that is what will appear in the relevant entry in the list.
Files will be listed in the order they were added to the pack file.
This method can only be used on a pack opened for reading.
Example:

    // List the files in a pack.

    void main()
    {
    pack_file test;
    test.open("pack.dat");
    string[] list;
    list=test.list_files();
    for(uint counter=0; counter<list.length(); counter++)
    {
    alert("File "+counter,list[counter]);
    }
    }