search for: movie_a_func

Displaying 1 result from an estimated 1 matches for "movie_a_func".

2009 Mar 05
1
Question about SwfdecAsScriptFunction in swfdec
...get) in the marking phase? What if the function's target has been destroyed while the function itself is still kept alive? (Answer myself: then there would be a segfault when executing that function) Let me give a more specific 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....