聲音資產是否有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