`

请问如何才能让加载到一半的SWF不自动播放

阅读更多
我用loader加载l=new Loader();

          l.load(new URLRequest("两个片头.swf"));

          l.contentLoaderInfo.addEventListener(Event.COMPLETE,oncomplete);

          l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,onpro);
复制代码加载到一半的时候就开始自动播放了 能让它不自动播放吗
还有没有其他的加载方式 听说用URLLoader也可以加载 但我如何读取到被加载内容的属性呢







1 用URLLoader加载,例子发过无数次
2 被加载文件中加上stop








l.contentLoaderInfo.addEventListener(Event.INIT,init);

function init()

{

        l.content.stop()

}

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics