나는 falsh에서 만든 페이지 뒤집기 애니메이션을 가지고 있지만 내 프로젝트는 주로 디렉터에 기반해야하므로 요소가 있으므로 나는 페이지 hase가 뒤집 혔을 때 책의 각 페이지에 추가하는 디렉터에서. 나는 약간의 도움을 얻기를 희망 했으므로 지주 회사에서 용어에 대한 새로운 지식을 가지고 있습니다. 나는 스크립트가 /처럼 보이는 것을 원하는 목록을 만들었다. 이 스크립트는 뷰어가 클릭하여 페이지를 넘길 수있는 모퉁이 조각 위에 배치되는 (감독에서) 보이지 않는 사각형에 적용됩니다. 플래시 swf 파일은 사용자가 페이지 모서리를 클릭하여 끌면 페이지를 넘길 수 있도록 작동합니다. 사용자가 모서리를 책의 다른면으로 드래그하면 사용자가 드래그하는 동안 페이지가 회전합니다. 그러나 사용자가 마우스를 certin 지점을 지나서 드래그하고 마우스를 다시 활성화하면 사용자가 모서리를 전체적으로 드래그 할 필요없이 페이지 회전의 애니메이션이 완료됩니다. 이 수직선보다 먼저 마우스를 놓으면 선택한 모퉁이가 이전 지점으로 돌아갑니다. 나는 페이지를 오른쪽으로 돌리는 것에 대해 심판 중이다.Adobe Director의 Lingo : 간단한 mouseEnter, mouseLeave, mouseDown comands를 사용하여 swf 페이지 뒤집기 애니메이션을 falsh에서 대화 형으로 만들기
스크립트에 수행 할 작업의 개요가 있습니다. 나는 3 단지 내가 내가
-- the flash swf file is unabled to be interected with by the user
sprite(channel). mouseEnabled=false
-- make the elements/contents I have added in director invisible and the mouse can not interact with them
sprite(channel).visible=true
sprite(Channel).mouseEnabled=true
on mouseEnter corner sprite
-- make the flash swf file able to be interected with by the user
sprite(channel).mouseEnabled=true
-- make the elements/contents I have added in director invisible and the mouse can not interact with them
sprite(channel).visible=false
sprite(Channel).mouseEnabled=false
end
on mouseLeave corner sprite
if the mouse is Up then
-- make the flash swf file unable to be interected with by the user
sprite(channel).mouseEnabled=false
else if the mouse is Down then
-- make the elements/contents I have added in director invisible and the mouse can not interact with them
sprite(channel).visible=true
sprite(Channel).mouseEnabled=true
end if
end
on mouseUp on stage
-- if the falsh file is mouseEnabled=true i.e. if the person has entered the invisble corner sprite which this script is applied by dragged the corner to outside this corner sprite in a specific area and released their mouse
if sprite(channel).mouseEnabled=false AND the mouses horizontal location is <= ... AND the mouses horizontal location is >= ... AND the mouses verticle location is >= ... AND the mouses verticle location is >= ... then
wait for two seconds for th page flip animation to finish then go to a marker labled "addresses"
else if sprite(channel).mouseEnabled=false AND the mouses horizontal location is <= ... AND the mouses horizontal location is >= ... AND the mouses verticle location is >= ... AND the mouses verticle location is >= ... then
wait for 1.5 seconds for the page flip animation to finish then go to a marker labled "addresses"
else if sprite(channel).mouseEnabled=false AND the mouses horizontal location is <= ... AND the mouses horizontal location is >= ... AND the mouses verticle location is >= ... AND the mouses verticle location is >= ... then
wait for 0.5 seconds for the page flip animation to finish then go to a marker labled "addresses"
end if
end
당신이 내가해야한다고 생각 만 것입니다
대단히 감사합니다 원하는 효과를 전달하는 가장 빠른 방법이 될 거라고 생각 나는 포함 한 스크립트의 일부임을 깨닫게 누군가가 스크립트를 쓸 수 있다면 정말 고마워 할 것입니다.