Show/Hide Toolbars

All-In-One Protector 8

Navigation: Part II - Enhanced Features > All-In-One Player > All-In-One Player - Start / Command Line options

Start a specific file inside the database

Scroll Prev Top Next More

If you have a menu application as an EXE file, it might be useful, to start a specific flash file inside the database. The menu.exe file would be on the CD/disk (outside the database) and start each flash file individually.

 

Example - Start files are in the main folder

You have 3 flash files inside the database. All start files are in the main folder.

 

Click to enlarge

Import - 3 flash files - all in one folder

 

You have to specify one start file. This would be the file which is loaded when you start the All-In-One Player without any command.

 

The menu application could invoke each flash file individually. If the menu has an option Lesson 1, Lesson 2, Lesson 3 then selecting option Lesson 1 one would directly load file 1.

 

The command to load a file would be

"mycourse.exe" -load "file1.swf"

 

Note: mycourse.exe is the name of the All-In-One Player. You could also specify a path

"c:\programs\myapps\mycourse.exe" -load "file1.swf"

 

Example - Start file is in a sub folder

You have 3 flash files inside the database. The files are in separate folders.

 

 

Click to enlarge

Import - 3 flash files - files are in sub folders

 

If you start a flash file in a sub folder and this flash file also starts other flash files, you have to specify the option: Always use relative Paths in the screen - SWF Options.

 

The command to load a file would be

"mycourse.exe" -load "course1\file1.swf"

 

You can also specify an EXE file as the start file

See also
All-In-One Player - Start Options
Open a database (aipfile file)