added TODO
[swftools.git] / lib / as3 / abc.c
index 3b72123..7d35324 100644 (file)
@@ -901,13 +901,13 @@ int register_multiname(abc_file_t*pool, abc_multiname_t*n)
     if(!n)
         return 0;
     /* FIXME: might create duplicates */
-    return dict_append_if_new2(pool->multinames, n->name, n);
+    return dict_append_if_new(pool->multinames, n->name, n);
 }
 
 int register_namespace(abc_file_t*pool, abc_namespace_t*ns)
 {
     /* FIXME: might create duplicates */
-    return dict_append_if_new2(pool->namespaces, ns->name, ns);
+    return dict_append_if_new(pool->namespaces, ns->name, ns);
 }
 
 static inline abc_multiname_t*multiname_lookup(abc_file_t*pool, int i)
@@ -1580,6 +1580,7 @@ void swf_AddButtonLinks(SWF*swf, char stop_each_frame, char events)
                     if(!events) {
                         abc_findpropstrict(h,"flash.net::navigateToURL");
                         abc_findpropstrict(h,"flash.net::URLRequest");
+                        // TODO: target _blank
                         abc_pushstring(h,oldaction->data); //url
                         abc_constructprop(h,"flash.net::URLRequest", 1);
                         abc_callpropvoid(h,"flash.net::navigateToURL", 1);