특정 무비클립에 닿았을때,그곳에 이펙트가 나타나는것 좀 도와주세요... 일단 질문만 올리면 안되니 _attachMovie를 사용해 스크립트를 적어봤습니다.. :onClipEvent (enterFrame) {if (_root.chr.hit.hitTest(_root.byungsin)==true) {_root.attachMovie(hitfx,hitffx,1[_root.byungsin]}} 라고 이펙트에 스크립트를 넣었습니다 근데 이렇게 썻더니 **Error** Scene=Scene 1, layer=game, frame=4:Line 1: ')' or ',' expected onClipEvent (enterFrame) {if (_root.chr.hit.hitTest(_root.byungsin)==true) {_root.attachMovie(hitfx,hitffx,1[_root.byungsin]}} Total ActionScript Errors: 1 Reported Errors: 1 라며 에러가 뜨더군여 이럴때 _attachMovie 쓰는거 맞나요? 아니면 다른 액션을 써야하나요 그리고 이펙트에다 액션을 넣어야대나요 답변은 빨리해주시면 좋겟습니다
|