gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11147: Stub undocumented AS3 functi


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11147: Stub undocumented AS3 function, drop duplicate declaration.
Date: Thu, 18 Jun 2009 12:49:01 +0200
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11147
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-06-18 12:49:01 +0200
message:
  Stub undocumented AS3 function, drop duplicate declaration.
modified:
  libcore/asobj/flash/display/MovieClip_as.cpp
=== modified file 'libcore/asobj/flash/display/MovieClip_as.cpp'
--- a/libcore/asobj/flash/display/MovieClip_as.cpp      2009-06-17 15:33:51 
+0000
+++ b/libcore/asobj/flash/display/MovieClip_as.cpp      2009-06-18 10:49:01 
+0000
@@ -71,7 +71,6 @@
     as_value movieclip_beginGradientFill(const fn_call& fn);
     as_value movieclip_stopDrag(const fn_call& fn);
     as_value movieclip_startDrag(const fn_call& fn);
-    as_value movieclip_removeMovieClip(const fn_call& fn);
     as_value movieclip_gotoAndStop(const fn_call& fn);
     as_value movieclip_duplicateMovieClip(const fn_call& fn);
     as_value movieclip_gotoAndPlay(const fn_call& fn);
@@ -116,6 +115,7 @@
     as_value movieclip_as3_ctor(const fn_call& fn);
     as_value movieclip_nextScene(const fn_call& fn);
     as_value movieclip_prevScene(const fn_call& fn);
+    as_value movieclip_addFrameScript(const fn_call& fn);
 
 }
 
@@ -2653,6 +2653,17 @@
     o.init_member("prevFrame", new builtin_function(movieclip_prevFrame));
     o.init_member("prevScene", new builtin_function(movieclip_prevScene));
     o.init_member("stop", new builtin_function(movieclip_stop));
+    o.init_member("addFrameScript", new builtin_function(
+                movieclip_addFrameScript));
+}
+
+as_value
+movieclip_addFrameScript(const fn_call& fn)
+{
+    boost::intrusive_ptr<MovieClip> ptr = ensureType<MovieClip>(fn.this_ptr);
+    UNUSED(ptr);
+    log_unimpl (__FUNCTION__);
+    return as_value();
 }
 
 as_value


reply via email to

[Prev in Thread] Current Thread [Next in Thread]