声音资产是否有ContentCache [1]?一旦我加载声音,我想保留一个引用,所以它不必再次加载。可能是对它或字节数组的类引用(我在这里生锈)。是否有任何类似s的Sound类:ContentCache?
原因是为了让它保存在内存中,所以Flash Player不必重新加载它,所以开始时间(延迟)很低。这些是短的音频剪辑。
[1] http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/core/ContentCache.html
编号CacheContent使用Loader并且无法加载声音文件。 – kostik 2012-01-18 21:54:33