[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11008: initialize all AS2 and AS3 c
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11008: initialize all AS2 and AS3 classes. |
Date: |
Fri, 05 Jun 2009 14:20:50 -0600 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 11008
committer: address@hidden
branch nick: trunk
timestamp: Fri 2009-06-05 14:20:50 -0600
message:
initialize all AS2 and AS3 classes.
modified:
libcore/asobj/flash/xml/xml_pkg.cpp
=== modified file 'libcore/asobj/flash/xml/xml_pkg.cpp'
--- a/libcore/asobj/flash/xml/xml_pkg.cpp 2009-06-03 16:05:40 +0000
+++ b/libcore/asobj/flash/xml/xml_pkg.cpp 2009-06-05 20:20:50 +0000
@@ -44,8 +44,15 @@
log_debug("Loading AVM2 flash.xml package");
as_object *pkg = new as_object(getObjectInterface());
- // Call the [objectname]_init() function for each class.
+ // Call the [objectname]_init() function for each AS2 class.
int i = 0;
+ while (as2xmlclasses[i]) {
+ as2xmlclasses[i](*pkg);
+ ++i;
+ }
+
+ // Call the [objectname]_init() function for each AS3 class.
+ i = 0;
while (as3xmlclasses[i]) {
as3xmlclasses[i](*pkg);
++i;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11008: initialize all AS2 and AS3 classes.,
rob <=