How do I... ?
AnswerList of Questions
Detect the End of a Flash Movie
In AutoPlay Media Studio it is possible to detect when a flash movie ends by using an FSCommand. This is useful if, for example, you want to navigate to another page once your flash movie ends.
To accomplish this:
1. In Adobe Flash: Create a Flash movie which contains an FSCommand on the last frame of the timeline:
fscommand("quit", "");
2. Insert the following code into the On FSCommand event of your flash object:
if e_FSCommand == "quit" then
--Whatever script is here will be performed when your flash movie ends.
end
How do I... ?
AnswerList of Questions
Detect what Operating System (OS) is Being Used
AutoPlay Media includes an action to detect what OS the user is running:
1. Add the following script to any event in your application to store the user's OS version in a variable OS_Name:
OS_Name = "OS Name: " .. System.GetOSName();
Note: AutoPlay has another built in function: System.GetOsVersionInfo(), which returns the version information of the user's operating system in a table.