|
|||
|
I make application for playing included .swf files.
At change movie FlashPlayer.movie (getAdditionalFile ("1.swf")); FlashPlayer.movie (getAdditionalFile ("2.swf")); ... I have two problems 1. Value variables with identical name transferred from 1.swf in 2.swf 2. If user has changed variable value in 1.swf and switched 1.swf-> 2.swf-> 1.swf the changed variable keeps value, but i need variable with default value. Movie should playing as for the first time run with default values. How I can make it using FFish Script? p.s. I have no source codes .swf files and I can not change Action Script. Movie can use hundreds variables - the method FlashPlayer.setVariable() is very hard. |
|
|||
|
To change the playing movie, you must use
Code:
FlashPlayer.movie = getAdditionalFile ("1.swf");
FlashPlayer.movie = getAdditionalFile ("2.swf");
Code:
Application.onMovieLoaded = function(movie)
{
FlashPlayer.setVariable("...", "...");
}
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|