Displaying 2 results from an estimated 2 matches for "_level2".
Did you mean:
level2
2007 Apr 12
11
Test if view renders appropriate partial?
Hello,
I am testing out a partial that calls another, general purpose
partial as part of its processing. Is there a class I can mock in
Rails views to accomplish what I need? That is, could I do something
like the following:
SomeClass.should_receive(:render).with(:partial => "foo", :locals => {
:bars => bars })
I tried breakpointing the view, and it looks like I am greeted
2009 Mar 05
1
Question about SwfdecAsScriptFunction in swfdec
...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 is already...