AS 2.0使用第二版组件getNextHighestDepth获取值超过1048676问题

2009年7月17日 | 标签:

AS 2.0使用第二版组件getNextHighestDepth获取值超过1048676.使用swapDepths设置无效。影片深度没有变化。

单一测试到是没问题。可能什么地方相互影响了swapDepths的功能。

var mc=this.attachMovie(”logo”,”mc_test”,this.getNextHighestDepth());
trace(mc.getDepth());//1048576
mc.swapDepths(100);
trace(mc.getDepth());//100
mc.removeMovieClip();

可能又是FLASH的一个BUG。

目前还没有任何评论.