2008年7月3日 星期四

Adobe Flash Player 10 beta 2 出了

Ticore's Blog

Adobe Flash Player 10 beta 2 出了
其中有一個很重要的新功能 Loader.unloadAndStop(gc:Boolean = true):void
呼叫之後可以立即移除 SWF 內所有的音樂、Event Listeners、Timers、....

文件上的說明:

public function unloadAndStop(gc:Boolean = true):void

Attempts to unload child SWF file contents and stops the execution of commands from loaded SWF files. This method attempts to unload SWF files that were loaded using Loader.load() or Loader.loadBytes() by removing references to EventDispatcher, NetConnection, Timer, Sound, or Video objects of the child SWF file. As a result, the following occurs for the child SWF file and the child SWF file's display list:

  • Sounds are stopped.
  • Stage event listeners are removed.
  • Event listeners for enterFrame, frameConstructed, exitFrame, activate and deactivate are removed.
  • Timers are stopped.
  • Camera and Microphone instances are detached
  • Movie clips are stopped.

發現一點很奇妙的事情,beta 2 的版本號碼居然比 beta 1 還少
Release Note 上寫得很清楚:(我有把 Release Note 都存下來)

Updated: May 15, 2008
These release notes document known issues related to the beta versions of Adobe® Flash® Player 10, code named “Astro”. The current beta build 10.0.1.218.

Updated: July 2, 2008 These release notes document known issues related to the beta versions of Adobe® Flash® Player 10, code named "Astro". The current beta build 10.0.0.525.

難道 Flash Player 原始碼也被回溯了嗎? :P

轉載請註明出處 http://ticore.blogspot.com/2008/07/adobe-flash-player-10-beta-2.html

2 意見 :

Jeremy Lu 提到...

哈哈 這擺明是筆誤了啊,我看到 debugger version 上 trace 出來是 10.0.1.525。

不過重點是這個 unloadAndStop() 實在是太殺了,只可惜是差不多晚了三年才出來 XD

{id: "Ticore"}; // 提到...

debugger version?
Adobe Labs 上好像沒看到有 Flash Player 10 beta 2 debug 版下載