Displaying 1 result from an estimated 1 matches for "flashnew".
Did you mean:
flashnet
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...to get at the constructor - spidermonkey doesn't like
- * new with strings */
- push_uint16 (state, 1);
- bind_name (state, "eval");
- push_prop (state, "eval");
- PUSH_OBJ (state);
- FLASHCALL (state);
- /* use call instead of new here - if this doesn't work, a FLASHNEW opcode is needed */
- PUSH_OBJ (state);
- FLASHCALL (state);
-}
-
-static void
-compile_init_object (CompileState *state, guint action, guint len)
-{
- name (state, "Object");
- PUSH_OBJ (state);
- THREELINER_INT (state, JSOP_NEW, 0);
- DUP (state);
- FLASHSWAP (state, 3);
- DUP (...