Link:INB Home|INB English| INB русский язык|INB العربية|INB Türkiye|INB فارسی|INB Español|INB Français|INB Português|INB Deutsch|INB 國語|INB 中文|INB 日本语|INB 한국어|INB ภาษาไทย|INB tiếng Việt||Tutoriais Flash Apply A Mask As A Cursor On An Image Transparent With Flash 8
INB Português Fórum
BEM - vindo a indústria nativa e "boffin") Da era industrial, aqui está cheio de espírito de Luta, Ambos através Da rede espaço biológico nativo espírito "boffin" VEIO a mad labs.Casa inbforum.com, Nome Definitivo: inb-english.forumotion.com
INB Português Fórum

BEM - vindo a indústria nativa e boffin) Da era industrial, aqui está cheio de espírito de Luta, Ambos através Da rede espaço biológico nativo espírito boffin VEIO a mad labs.Casa inbforum.com, Nome Definitivo: inb-english.forumotion.com


Você não está conectado. Conecte-se ou registre-se

《《《《《《《上一页INBforum   Ir em baixo

上一页INBforum》》》》》》》Ver o tópico anterior Ver o tópico seguinte Ir em baixo  Mensagem [Página 1 de 1]

1 Tutoriais Flash Apply A Mask As A Cursor On An Image Transparent With Flash 8 em Qui Jan 20, 2011 6:15 am

Admin

avatar
Admin
Tutorial Flash 8 ActionScript 2.0

Tutorial by The Mixer from adobeflashtutorial

This tutorial is the second part of the tutorial (such as cursor mask). In this tutorial also learn how to import an image to the scene, transforming as a layer in a layer mask, application of ActionScript 2.0 code.
Macromedia Flash 8 Professional. Tutorial.
Apply a mask as a cursor on an image transparent.
In the next tutorial you'll learn a technique on how to make a cursor of a program and apply it to a mask with a transparent image. This tutorial is the second part of the tutorial (Programming A Cursor As A Mask With Flash Cool. In this tutorial also learn how to import an image to the scene, transforming as a layer in a layer mask, application of ActionScript 2.0 code. For this tutorial before you get a picture (gif, jpge, png) with dimensions 350 pixels wide * 561 pixels high. At the end of the tutorial will have a flash movie (swf) spectacular. Good luck!
Step 1

Design document properties ctrl. + J.
The size of this flash movie is 350 px * 561 px wide and high.
Use for this movie as background color # 000000.
The frame rate is 12 fps.

Step 2

Created in this film are two symbols. Create the first of the symbols ctrl. + F8.
Rename this symbol (mask).
Select the option (type>> movie clip).

Step 3

Installed in the symbol (mask), select the oval tool (O).
Draw the vector selected. Use as fill color #00FF00.
The dimensions are oval, 100.0 * 100.0 px wide and high.
Put the oval in coordinates X: 0.0 Y: 0.0.

Step 4

Create a new symbol ctrl. + F8.
Rename symbol (pic).
Select option (Graphic).

Step 5

Located in the symbol (pic) to import an image ctrl. + R, tends to import the image for size 350 * 561 px.
Put the image in coordinates X: 0.0 Y: 0.0.

Step 6
Return to the Scene, rename the layer (picture alpha).
Open the Library (ctrl. + L), move the symbol (pic) from the Library.
Put the image in coordinates X: 0.0 Y: 0.0.

Step 7

Select the color (alpha), this option is in the Properties pane.
Reduce the color alpha to 20%.
To have the option of selecting necessary color alpha symbol inserted (no frame).

Step 8

Insert a new layer to rename the layer (pic).
Put again the symbol (pic) in the scene. (Panel Library ctrl. + L)
Put the image in coordinates X: 0.0 Y: 0.0.

Step 9

Insert a new layer to rename the layer (mask).
Drag from the Library panel ctrl. + L symbol (mask)
In the box instance name (mask-cursor).
Put the symbol in any coordinate X: ? Y: ?

Step 10

Click the right mouse button on the layer mask.
In the sub-menu select the mask.

Step 11

In the latter step only need to add the ActionScript 2.0 code.
Select the frame of the layer mask.
Open the panel Actions - frame, write the following code.

Mouse.hide ();
startDrag (_root.mask-cursor ", true);
With this step is completed by the tutorial. If you have any questions or leave your comments below.
Well Done!

Press Ctrl. + Enter and see the final of the animation. See you soon. @----- Wink]

Ver perfil do usuário http://pt.inbforum.com

上一页INBforum   Ir em baixo

上一页INBforumVer o tópico anterior Ver o tópico seguinte Voltar ao Topo  Mensagem [Página 1 de 1]

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum

Copyright ©2009-2010 LTD Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

IT:SINGLESERVGoogle谷歌翻译TranslateFORUMSOFTLAYERGoogle谷歌广告联盟AdSenseAsia

 

criar um fórum | © PunBB | Fórum grátis de ajuda | Fale conosco | Assinalar uma queixa | Fórum grátis