FLASH中如何用影片剪辑中的按钮控制影片剪辑上2级的元件中的另一个影片剪辑播放?
the first floor 太老土 Only need to do the same as it:on(release){ _parent。_parent。_parent。影片剪辑。play(); //此种方法使用相对路径来瞄准影片,其中_parent的个数由影片的位置而定,_parent表示当前影片的父影片剪辑,很容易搞错,建议别用。 } You'd better use it: on(release){ _root。影片剪辑。影片剪辑。……。影片剪辑。方法(); //_root。影片剪辑。影片剪辑。……。影片剪辑。 方法(); 即绝对瞄准,从主场景一级一级的瞄准影片,比较容易...全部
the first floor 太老土 Only need to do the same as it:on(release){ _parent。_parent。_parent。影片剪辑。play(); //此种方法使用相对路径来瞄准影片,其中_parent的个数由影片的位置而定,_parent表示当前影片的父影片剪辑,很容易搞错,建议别用。
} You'd better use it: on(release){ _root。影片剪辑。影片剪辑。……。影片剪辑。方法(); //_root。影片剪辑。影片剪辑。……。影片剪辑。
方法(); 即绝对瞄准,从主场景一级一级的瞄准影片,比较容易懂,不容易搞错,方法()你应该知道吧,就是像play(),stop(),gotoAndStop(),attachMovie(),moveTo(),lineTo(),等等等等等等等等………………………………………………………………………………… } tellTarget()早就nobody use it了。收起