Displaying 2 results from an estimated 2 matches for "swfdec_as_frame_get_variable".
2007 Sep 26
1
Youtube broken by 89d295a94
...= swfdec_as_value_to_string (cx, val);
+ swfdec_as_context_eval (cx, NULL, s, val);
if (swfdec_action_get_movie_by_path (cx, s, &object, &s)) {
if (object) {
if (s) {
@@ -589,7 +590,7 @@ swfdec_action_get_variable (SwfdecAsContext *cx, guint action, const guint8 *dat
swfdec_as_frame_get_variable (cx->frame, swfdec_as_context_get_string (cx, s), val);
}
} else {
- SWFDEC_AS_VALUE_SET_UNDEFINED (val);
+// SWFDEC_AS_VALUE_SET_UNDEFINED (val);
#ifdef SWFDEC_WARN_MISSING_PROPERTIES
SWFDEC_WARNING ("no variable named %s", s);
#endif
--
Regards,
Pavel Roskin
2007 Sep 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_scope.c libswfdec/swfdec_as_scope.h libswfdec/swfdec_as_script_function.c
...963,11 @@ swfdec_as_context_eval_get_property (Swf
swfdec_as_object_get_variable (obj, name, ret);
} else {
if (cx->frame) {
- obj = swfdec_as_frame_find_variable (cx->frame, name);
- if (obj) {
- swfdec_as_object_get_variable (obj, name, ret);
- return;
- }
+ swfdec_as_frame_get_variable (cx->frame, name, ret);
} else {
SWFDEC_WARNING ("eval called without a frame");
swfdec_as_object_get_variable (cx->global, name, ret);
}
- SWFDEC_AS_VALUE_SET_UNDEFINED (ret);
}
}
@@ -985,11 +980,10 @@ swfdec_as_context_eval_set_property (Swf...