Hi,
Without scripting it is not possible to launch multiple Flash movies at once.
However, you can do that with some very simple scripting.
First, enable the Flash Plugin from the "Plugins" tab of the Project Properties window.
Then, put the following code on the "Advanced" tab of the Frame Properties of the frame on which you want to display the Flash movie(s):
- Code: Select all
PlayFlashMovieVER11 FileName, Left, Top, Width, Height, CloseAtTheEnd, ExecuteVBSCodeAtEnd, VBSCodeToExecute
where:
- "FileName" is the name of the file, which must be located inside the "External" subfolder of your project folder.
- "Left", "Top", "Width", and "Height" are strings containing the Flash movie position and size in pixels.
- "CloseAtTheEnd" is a STRING equal to "True" or "False" depending on whether you want to the movie to automatically close when it has finished or remain open.
- "ExecuteVBSCodeAtEnd" is a STRING equal to "True" or "False" depending on whether you want to have some VBScript code executed when the movie has finished playing.
- "VBSCodeToExecute" is a STRING with the code to execute, in case ExecuteVBSCodeAtEnd = "True".
Here is an example:
- Code: Select all
PlayFlashMovieVER11 "MyMovie.swf", "0", "0", "640", "480", "True", "False", ""
Call the method multiple times to launch several movies at once. Here is an example:
- Code: Select all
PlayFlashMovieVER11 "MyMovie1.swf", "0", "0", "100", "120", "True", "False", ""
PlayFlashMovieVER11 "MyMovie2.swf", "120", "0", "50", "70", "True", "False", ""
For the advanced users: you can have a look at how the Flash plugin work by clicking "Create/Modify plugins" from the Adventure Maker main menu, then selecting the plugin, and then clicking "Edit selected plugin".
GM-Support