All Articles Flash
플래시 액션 스크립트에서 작업 3 빠른 효율성 팁 때
Geoff Blake on Wed, March 16th | 0 comments
Flash is known for being an interactive animation program, but unlike animation, adding interactivity means making things happen within a movie, like creating links so that your viewers can explore yo

플래시 인터랙티브 애니메이션 프로그램되고 알려져 있지만, 애니메이션과는 달리, 상호 작용을 추가하면 것들이 시청자 동영상, 제어 오디오 또는 비디오를 탐험 수 있도록 링크를 만들거나 할 때 동영상을 특정 이벤트 트리거를 가지고 같은 영화 내에서 발생하는 것을 의미합니다 특정 지점에 도달합니다.

플래시 액션 스크립트라는 것을이 대화형을 처리합니다. 액션 스크립트 개발자가 높은 대화형 영화를 만들 수 있습니다 플래시의 기본 스크립팅 언어입니다. 플래시 스크립팅 모드 (프로그래머 여러분을위한)에 전체에 대한 간단한 포인트 앤 클릭 방식의 인터페이스 (우리 시각 디자이너 유형에 대한)에서, 우리에게 ActionScript를 사용할 여러 가지 방법을 제공합니다. 그래서 다른 말로하면, 플래시는 당신을 위해 작동하는 방식으로 ActionScript를 사용할 수있게된다.

In this short tutorial, we'll take a look at a few basic efficiency techniques when working with ActionScript. Before we go any further though, make sure you've created a symbol and dropped an instance of the symbol onto the Stage. Also, make sure you've given the symbol instance a name at the top of the Properties panel.

Also, it's considered best practices for Flash developers to create a separate layer in the Timeline for their ActionScript -- in other words, keeping the ActionScript isolated from all the other content in their movie. So, go ahead and create a new layer and name it Actions.

팁 1 - 코드 조각을 통해 쉽게 ActionScript를 적용

You certainly don't have to hand-code your ActionScript. The Code Snippets panel provides pre-created bits of ActionScript that are ready to be applied to your movies. Pop open the panel by choosing Window > Code Snippets.


Expand the category that contains the ActionScript snippet that you'd like to apply, then double-click on the action you'd like to apply. Flash's Actions panel springs to life, and loads in the necessary ActionScript code. Inside the Actions panel, you can make whatever adjustments you want to your code. Easy!

팁 2 - 그 스크립트로 간단 도와 확인

일단 동작 패널 내부 일어나는 몇 가지 액션 스크립트 있고, 당신은 스크립트의 사용 협조함으로써 코드의 다양한 구성 요소를 조정할 수 있습니다. 작업 패널의 오른쪽 상단에서, 스크립트 (마법 지팡이 아이콘) 버튼을 도와 클릭하십시오. 다음 시간을 클릭하십시오

팁 3 - 추가 작업 메뉴 코드를 작성

Across the top of the Actions panel, you'll find a row of very handy icons and commands, starting off with the Add Actions menu. Use the menu whenever you'd like to add items to your script. In fact, you can either use the menu at the top or you can always use the column of ActionScript elements on the left side of the Actions panel, too. This area is called the Actions Toolbox. Either way, you can easily add onto your script in a fast and easy way -- sure beats hand coding!


So as you can see, there are lots of different ways to go about working with ActionScript. Flash allows us to work in a way that's most comfortable for us -- yet whether we hand-code everything from scratch or make use of the point-and-click interface of the Code Snippets panel, we're still able to add lots of rich interactivity to our Flash movies.

자세한 내용을 원하십니까? 아래의이 비디오 자습서를 체크 아웃 :

Comments (0)

You must be logged in to comment. Login Now

Feedback
Course Advisor
Don't Know Where To Start?
Ask A Course Advisor
Ask Us!
Copy the link below and paste it into an email, forum, or Facebook to share this with your friends.
Make money when you share our links
Become a macProVideo.com Affiliate!
The current affiliate rate is: 50%
Classes Start Next Week!
Live 8-week Online Certification Classes for: