(Close)
Forgot password?
AskAudio Magazine
Join Now! Watch Tutorials
macProVideo.com
Close

Acesso Premium Free

Acesso a nossa biblioteca completa de artigos Hub Premium, arquivos de projeto e os primeiros 10% de cada Tutorial-Video da Biblioteca Tutorial on-line .

Criar sua conta gratuita agora!

Share this article with friends!

3 Dicas Eficiência rápida ao trabalhar com ActionScript em Flash
Traduzido pelo Google Translate

Flash é conhecida por ser um programa de animação interativa, mas ao contrário de animação, acrescentando interatividade significa fazer as coisas acontecerem dentro de um filme, como a criação de links para que os visitantes podem explorar seu filme, áudio ou vídeo controlar, ou tendo um gatilho quando determinado evento seu filme atinge um certo ponto.

Flash lida com essa interatividade com algo chamado ActionScript. ActionScript é uma linguagem de script nativa do Flash, que permite aos desenvolvedores criar filmes altamente interativos. Flash nos dá várias maneiras de trabalhar com ActionScript, a partir de uma interface ponto-e-clique simples (para nós tipos designer visual) para completa sobre scripting mode (para pessoas programador). Em outras palavras, o Flash vai deixar você trabalhar com ActionScript em uma maneira que funciona para você.

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.

Dica 1 - A aplicação de ActionScript com facilidade através de trechos de código

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!

Dica 2 - Faça-lhe uma rápida com o Script Assist

Depois de ter algumas ActionScript acontecendo dentro do painel Ações, você pode ajustar vários componentes do seu código, fazendo uso de Script Assist. No canto superior direito do painel Ações, clique no botão Script Assist (o ícone de varinha mágica). Em seguida, clique dentro

Dica 3 - Construa o seu código com o Menu de Ações Adicionar

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.

Quer saber mais? Confira neste vídeo tutorial abaixo:

Geoff Blake

Geoff Blake | Articles by this author

Geoff Blake is a book author, video presenter, designer, and visual artist. As an in demand live-on-stage software educator since 1997, Geoff has taught desktop publishing, web design and graphics courses all over North America and is regarded as an expert in Adobe's Creative Suite applications, as well as in HTML, CSS, WordPress, and related technologies. With his humorous, non-jargonny approach, Geoff produces highly regarded articles, video training and DVDs, and regularly contributes to top industry magazines and websites.

Comments

You must be logged in to post a comment.
Create an Account  Login Now

What is macProVideo.com?

macProVideo.com is an online education community featuring Tutorial-Videos & Training for popular Audio & Video Applications including Adobe CS, Logic Studio, Final Cut Studio, and more.
© 2014 macProVideo.com
a division of NonLinear Educating Inc.

About

Our Plans

Tutorials

Community

Help

Legal

Link