search for: _bytestotal

Displaying 9 results from an estimated 9 matches for "_bytestotal".

2007 Aug 20
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object.c libswfdec/swfdec_loadvars_as.c test/trace
...es use the propflag to disable them in v5 diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index dde8fce..009bbcc 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -120,4 +120,4 @@ LoadVars.prototype.getBytesTotal = funct return this._bytesTotal; }; -ASSetPropFlags(LoadVars.prototype, null, 1); +ASSetPropFlags(LoadVars.prototype, null, 129); diff --git a/libswfdec/swfdec_initialize.h b/libswfdec/swfdec_initialize.h index c991bc5..15a9916 100644 --- a/libswfdec/swfdec_initialize.h +++ b/libswfdec/swfdec_initialize.h @@ -130,7 +130,7 @@ c...
2007 Aug 18
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...ect-7.swf loadobject.as + +var obj = new Object (); + +obj.load = ASnative (301, 0); + +obj.onData = function (str) { + trace ("Got: " + typeof (str) + " '" + str + "'"); + trace ("Loaded: " + this._bytesLoaded); + trace ("Total: " + this._bytesTotal); +}; + +trace ("Loaded: " + obj._bytesLoaded); +trace ("Total: " + obj._bytesTotal); +trace (obj.load ()); +trace ("Loaded: " + obj._bytesLoaded); +trace ("Total: " + obj._bytesTotal); +trace (obj.load ("loadobject.as")); +trace ("Loaded: &quo...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...es use the propflag to disable them in v5 diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index dde8fce..009bbcc 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -120,4 +120,4 @@ LoadVars.prototype.getBytesTotal = funct return this._bytesTotal; }; -ASSetPropFlags(LoadVars.prototype, null, 1); +ASSetPropFlags(LoadVars.prototype, null, 129); diff --git a/libswfdec/swfdec_initialize.h b/libswfdec/swfdec_initialize.h index c991bc5..15a9916 100644 --- a/libswfdec/swfdec_initialize.h +++ b/libswfdec/swfdec_initialize.h @@ -130,7 +130,7 @@ c...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...kefile.am Add test for deleting properties when in for in loop Implement hitTest for x, y coordinates (without shapeFlag) Forgot to add forin-delete test to Makefile.am (sigh) Move XML.load code to new LoadObject class, make it work with any Object Set _bytesLoaded and _bytesTotal properties in LoadObject Set _bytesLoaded to 0 when LoadObject is started Reformat LoadObject code a little Fix load method crash when called without params and fix it's return values Allow calling XML.load with 0 params to return FALSE Don't use program's...
2007 Aug 22
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_script_function.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
.../libswfdec/swfdec_initialize.as @@ -69,6 +69,7 @@ Mouse = new Object (); Mouse.show = ASnative (5, 0); Mouse.hide = ASnative (5, 1); AsBroadcaster.initialize (Mouse); +ASSetPropFlags(Mouse, null, 7); /*** STAGE ***/ @@ -120,4 +121,8 @@ LoadVars.prototype.getBytesTotal = funct return this._bytesTotal; }; -ASSetPropFlags(LoadVars.prototype, null, 129); +ASSetPropFlags(LoadVars.prototype, null, 131); + +/*** OH THE HUMANITY ***/ + +o = null; diff --git a/libswfdec/swfdec_initialize.h b/libswfdec/swfdec_initialize.h index 15a9916..7d5b5a0 100644 --- a/libswfdec/swfdec_initialize.h +++ b/libswfd...
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...nt System.capabilities.Query() diff --git a/libswfdec/swfdec_as_strings.c b/libswfdec/swfdec_as_strings.c index 04b0790..661cfd0 100644 --- a/libswfdec/swfdec_as_strings.c +++ b/libswfdec/swfdec_as_strings.c @@ -254,6 +254,34 @@ const char swfdec_as_strings[] = SWFDEC_AS_CONSTANT_STRING ("_bytesTotal") SWFDEC_AS_CONSTANT_STRING ("loaded") SWFDEC_AS_CONSTANT_STRING ("lastIndexOf") + SWFDEC_AS_CONSTANT_STRING ("hasAudio") + SWFDEC_AS_CONSTANT_STRING ("hasStreamingAudio") + SWFDEC_AS_CONSTANT_STRING ("hasStreamingVideo") + SWFDEC_AS_...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...r's arg if undefined Add testing for XML's constructor Fix xmlDecl and docTypeDecl giving wrong value in some cases Fix removeChildren function. Don't allow calling parseXML with undefined arg Add tests for parseXML, improve XML's properties testing Set _bytesTotal to undefined in XML and LoadVars load method Check getBytesLoaded and getBytesTotal in XML parsing test Add swfdec_as_array_append_with_flags and push_with_flags functions Make XMLNode's childNodes array's childs constant. Add test to check XML's and XMLNode'...
2007 Aug 23
0
23 commits - doc/.gitignore doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am
...swfdec_as_strings.c b/libswfdec/swfdec_as_strings.c index ce5a4de..04b0790 100644 --- a/libswfdec/swfdec_as_strings.c +++ b/libswfdec/swfdec_as_strings.c @@ -253,6 +253,7 @@ const char swfdec_as_strings[] = SWFDEC_AS_CONSTANT_STRING ("_bytesLoaded") SWFDEC_AS_CONSTANT_STRING ("_bytesTotal") SWFDEC_AS_CONSTANT_STRING ("loaded") + SWFDEC_AS_CONSTANT_STRING ("lastIndexOf") /* add more here */ ; diff-tree 31e0d8728000101a68e587b3f029e1ac42d3e151 (from 38e1f2d4419d640f59ff8301b3964c9a6553ff56) Author: Benjamin Otte <otte at gnome.org> Date: Thu...
2007 Nov 26
0
14 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_file_reference.c libswfdec/swfdec_load_object.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_system_security.c test/trace
...+]; +var file_num = 0; + +var obj = new Object (); + +obj.load = ASnative (301, 0); + +obj.onData = function (str) { + trace ("Got: " + typeof (str) + " '" + str + "'"); + trace ("Loaded: " + this._bytesLoaded); + trace ("Total: " + this._bytesTotal); + trace ("Is loaded: " + obj.loaded); + + file_num++; + if (file_num < files.length) { + trace ("Loading: " + files[file_num]); + obj.load (files[file_num]); + } else { + loadMovie ("FSCommand:quit", ""); + } +}; + +trace ("Loading: &q...