[問題] :P 問題 true and false
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.swapDepths(1);
startDrag(this, true);
}
}
還有另一個問題
我用hitTest(_root._xmouse, _root._ymouse, true)
這樣是表示如果選取範圍和滑鼠重疊,那這個clip就會
換景深如果沒有交集的話就沒動作, 對嗎?
如果是的話我後來把他改成false, 怎麼還是有重疊就可
以移動阿? 我有什麼地方想錯了阿? 謝謝大家
也謝謝之前大家的回答:)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.58.254.177
→
08/31 16:04, , 1F
08/31 16:04, 1F
→
08/31 16:05, , 2F
08/31 16:05, 2F
Flash 近期熱門文章
PTT數位生活區 即時熱門文章