Displaying 1 result from an estimated 1 matches for "file_num".
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
...est/trace/loadobject-bom.as
@@ -0,0 +1,32 @@
+// makeswf -v 7 -r 1 -o loadobject-bom-7.swf loadobject-bom.as
+
+var files = [
+ "utf-8-bom.txt",
+ "utf-16-be-bom.txt",
+ "utf-16-le-bom.txt",
+ "utf-32-be-bom.txt",
+ "utf-32-le-bom.txt"
+];
+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);
+ t...