The right way to get started with flash and learn as programming

Source: Internet
Author: User
Tags copy goto relative
Programming Flash Entry Path
Below I say each ask, please do not skip, no matter what means you use, must eat one by one
Through, otherwise haste makes waste.
1, three kinds of layers
Layers: and Photoshop layer difference No, I
Guide layer: Not only can guide the motion animation, but also has the reference layer function (this function uses the
There are not many people.)
Mask layer: Where the mask layer has an image, the contents of the layer below it can be displayed, a bit like
3DMAX of the mask in the picture
2, three frames: frame, key frame, blank Keyframe
3, three kinds of symbols: that is, film cut, button, graphics, beginners can not use graphics, cut with the film
4, three kinds of Flash animation file format: exe,swf,hqx
5, three kinds of flash common voice: Mp3,avi,wav
6, three kinds of movie generation mode; output animation, publish movie, Ctrl+enter
7, three important numbers: frame rate, movie size, background color value
6, three flash common picture formats: jpg, png,gif
7, three key shortcuts: f8_ to Symbols tab_ Show/hide panel ctrl_+/-Zoom


The correct way to learn as programming
1. You learn to add action three ways: on the frame Plus, in the MC Plus, on the button plus. Play Stop goto These three
A command to practice again and again. Don't use too many orders to give yourself a stun pill. Practice with examples, do not practice.
2. When I said 1, I would like to learn 8 ways to add action to the button and 9 methods for MC Plus.
3, will be I said 2, must learn a programming the most important thing----path description (can understand can use)
1> _ROOT.MC1.MC2. ... mcn.play () [or Stop (), _x, ...]
2>_parnet
3>this
4>mc1.mc2 .....
5>_LEVELN.MC1.MC2. ... mcn.play () [or Stop (), _x, ...]
Practicing such an example might help you put a song you like to listen to in some MC, with
In a certain MC or button add action to control it, want to stop it, want to let it put on.
4. On-line learning effectiveness is soft and low, if you are financially allowed, you can use the telephone to the ball any one can consult the place
Consulting. That's what I learned.
5. To self-improvement self-confidence, not superstitious foreigners, ingenious
6. Understand the sequence of code execution:
Layer default is to execute from bottom up
Level is executed from the bottom up
Frames are executed with the actual playback order
The code itself executes from the top down line
7. Understanding of two coordinate systems:
The coordinates of the scene, O point in the upper left corner, Y axis downward is increased x right is increased
Component coordinates, O Point in Assembly Center, Y axis downward is increase x right is increased
8. Understanding three types of text fields
Static stylistic field: the same as writing tools for typesetting software.
Dynamic text fields and input text fields: actually look at them as two variables, just visible variables,
9. Learn more about GOTO statements
Prevframe ()
Jump to and stop in front of the last one.
NextFrame ()
Jump to and stop the next one.
Prevscene ()
Jumps to and stops at frame 1th in the previous scene.
Nextscene ()
Jumps to and stops frame 1th in the next scene.
gotoAndPlay ([Scene,] frame)
Jumps to the scene scene (omitting the frame frame that represents the current scene) and plays it.
gotoAndStop ([Scene,] frame)
Jumps to the scene scene (omitting the frame frame that represents the current scene) and stops.
10, to understand the various properties of the MC can be rewritten
_x Center Point relative to x coordinate (pixel unit)
_y Center point relative y-coordinate (pixel unit)
_xscale horizontal scaling, initially 100
_yscale vertical scaling, initially 100
_rotation Relative rotation angle (degree unit)
_width relative display width (pixel units)
_height relative display height (pixel units)
_alpha Display Transparency (0~100)
_visible is visible
_focusrect whether to show Focus Box 11, three disciplines: 1> write code must be in English (such as en CH) Input method
2> must have a materialistic mind, not loaded MC is not to change its genus
Sex, not to write code to control it. The problem is more difficult to master, and the master sometimes
Offense, the reason is to have to eat before the dinner, nothing to eat what?
3> what must be selected (which software is actually the case). Add generation to MX
If you do not choose the code, you must specify the name, in fact, is also a kind of first choice.
12, eight note the:1> button cannot be covered with input text, and dynamic text and input text fields cannot be covered with buttons
2> use Loadmoie when LEVEL1 and above files as little as possible with large implicit button
3> Copy a MC instance from a file to another file, copy the frames as much as possible, but not directly
Copy instance,
4> to copy a MC instance from a file to another file, first the character in the target file
There are symbols in the library, loaded into the capital folder, a lot of netizens this question has been excessive?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.