Flash Player 10的另一些消息

      我的日志 2008-8-18 10:35
在flash player9中,如果需要彻底删除一段load进来的swf文件,在moock的blog上详细描写了你需要做的事情。
  • Tell any loaded .swf child assets to disable themselves.
  • Stop any sounds from playing.
  • Stop the main timeline, if it is currently playing.
  • Stop any movie clips that are currently playing.
  • Close any connected network objects, such as instances of Loader, URLLoader, Socket, XMLSocket, LocalConnection, NetConnections, and NetStream.
  • Release all references to cameras and microphones.
  • Unregister all event listeners in the .swf (particularly Event.ENTER_FRAME, and mouse and keyboard listeners)
  • Stop any currently running intervals (via clearInterval()).
  • Stop any Timer objects (via the Timer class’s instance method stop()).
只能说这样做非常的麻烦,在新的flash player10中,将会提供一个新的API,unloadAndStop()自动的去做这些事情。

flash player 10中的fullScreen状态,将可以使用键盘,但是仅限于Tab,Space,Shift和上下左右这几个键。

flash player 10还将会直接从用户本地读取文件并存储的功能,非常好的功能。

Bitmap最大支持提高到4096*4096。

当然flash player 10也会有更严格和复杂的sandbox规则。这个安全规则我下一篇文章再说。
标签集:TAGS:AS3 bug flash astro
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}