close

AS2的寫法

寫在影格
aa_mc.onPress = function() {
 startDrag(aa_mc, true);
};
aa_mc.onRelease = function() {
 stopDrag();
};


AS1的寫法

寫在要被控制的物件
on (press) {
 startDrag(aa, true);
}
on (release) {
 stopDrag();
}

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 coofish 的頭像
    coofish

    阿里不達月半魚

    coofish 發表在 痞客邦 留言(0) 人氣()