|
|||
|
Hi there all, im testing this software, and i can understand most of it functionallity and features, but for some reason, i can not understand how to code one of the most easy things. Here's my question.
I have swf movies. Movie 1 = Main intro and a simple "Choose Language" menu that sends Code:
fscommand("ffish_run", [language here]);
Movie 2 = it can be one of 6 different movies, depending of the language selected in movie 1. The question is: Whats the method to replace the movie being displayed in the main application window by the 2nd movie. Im sorry but i can not figure out how to code it. Any help will be welcome. Thanks in advance. Diego. ![]() |
|
|||
|
If the purpose of the menu is only to load a movie, you don't need to send a command to swfkit, just load the specified movie in action script directly. You only need to call the Application.setBasePath method in the "initialize" script.
If you don't know how to make it work, please send your files to support@swfkit.com, we will make a sample for you. |
|
|||
|
Quote:
The thing is, i know how to do it in action script, but i was wondering if there was a way to do it in SWFKIT. I mean, i have 2 movies in SWFKIT's Movie List, and i want, at some point, to unload movie 1 and load movie 2. That way, i can pack the movies inside the generated exe. |
|
|||
|
You can add the external movies into the attachment list and insert the following code into the "initialize" script:
Code:
var path = getAdditionalFile(); Application.setBasePath(path); |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|