All Articles Flash
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は、開発者は高度にインタラクティブなムービーを作成することができるFlashのネイティブスクリプト言語です。フラッシュは私たちのスクリプトモード(プログラマーの人々のための)上の完全に単純なポイントアンドクリックインターフェース(私達ビジュアルデザイナの型の場合)から、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 - そのスクリプトを使用したスナップアシストを確認

したら、[アクション]パネルの中で起きていくつかのActionScriptを持っていると、スクリプトの使用がアシストすることによって、コードのさまざまなコンポーネントを調整することができます。 [アクション]パネルの右上で、 スクリプトは (魔法の杖のアイコン)ボタンをアシストします。次に、内をクリックして

ヒント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.


Related Videos
Comments (0)

You must be logged in to comment.

Sampler, Quick Sampler and Auto Sampler
Logic Pro X 210
Dream It. Do It.
Do you want to learn Sampler, Quick Sampler and Auto Sampler?
Yes, I want to learn!
No Thanks, I just want to read the article.
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 Affiliate!
The current affiliate rate is: 50%
Classes Start Next Week!
Live 8-week Online Certification Classes for: