Displaying 1 result from an estimated 1 matches for "movie_b_func".
Did you mean:
movie_a_func
2009 Mar 05
1
Question about SwfdecAsScriptFunction in swfdec
...ific case:
(1)swf(movie) 'A' defines a script function 'movie_a_func()' inside its
body.
(2)swf(movie) 'B' loads movie 'A' at runtime by using loadMovieNum('A.swf',
2);
(3)movie 'B' then create a reference to function 'movie_a_func()' , eg.
movie_b_func = _level2.movie_a_func;
(4)unload movie 'A' by using _level2.unloadMovie();
(5)next frame; //Note target of ''movie_a_func', which is 'A' is destroyed
and collected here.
(6)call function 'movie_b_func'; // bomb, trying to reference its
target(movie A) that i...