A faster JSFL command set that helps you operate in Flash

Source: Internet
Author: User
Tags empty modify range shuffle
Js

Let's look at a simple example.

Create a new file, draw a square to graphic, hold down Alt drag to copy a heap, select all and align, make them completely coincident, execute COMMANDS>[KC] Shuffle, and the following figure:

The meaning of the parameter is:
1 randomly distributed in the range of X axes up to 0 to 500
2 angle value within the random rotation 180°
3 randomly generate a transparent value between 20 and 80
OK, look at the results:



The main reason for developing this set of flash extensions is that there are some good animation assistant tools in AE, there is no or weak function in Flash. So I in order to enhance the Flash animation function, the commonly used and more cumbersome operations sorted and refined out, made to be able to quickly execute the command. After installing all the features under the Flash Commands menu.

[KC] ADD Stop Frames
Insert a containing "stop ();" The key frame. It is recommended that you assign shortcut keys Ctrl+f6.

[KC] Bake Animation
Modify a command from Ibis Fernandez. Provides a feature like pre rendering in AE.

[KC] Center Transpoint
Align the transformation points to the center of the object. If you move the transformation point, you do not have to press Q, open the adsorption, and then manually align to the center.

[KC] Duplicate Layer
Copy layer. It is recommended that you assign shortcut keys ctrl+alt+d.

[KC] Layers Setup Lite
Quickly build a common layer: ActionScript and labels. It is suggested that each MC should be implemented once, and the actions and labels should be placed in the corresponding layer to realize the normalization of the source files.

[KC] Layers Setup
On the basis of the previous command, the quick creation of the copyright, Author, Update, and comment layers was added.

[KC] MC Button Setup
I like to use MC to replace most of the button, this is the rapid establishment of such a MC command. It not only established the actionscripts, labels layer, but also added "rollover", "RollOut", and so on to indicate the button state of the label.

[KC] Move to 0,0
Quickly move an object to the coordinate point of (0,0). Does not support shape in a broken state.

[KC] Pixelate Bounds
Foreigners have the same command, but the algorithm is not very good. I have developed different algorithms to solve the problem of coordinate when the transformation point is not inside the object. The effect is to set the width and height values of an element, and also to get the X and Y values rounded. The same does not support shape that is not supported by the scatter state.

[KC] Pixelate Position
Similar to the previous command, this takes only the integer x and y values. Width and height are unchanged. Very commonly used functions, the proposed allocation of shortcut keys.

[KC] Quick Empty MC
Create an empty MC called HOLDER_MC, placed in the scene (0,0) position. Know what to do with it.

[KC] Quick Rectangle
Create a rectangle with the same size as the scene.

[KC] Scale and Rotate
Select objects that do not break the shape and execute commands. Set the indent and rotate in the pop-up window. The functional difference with the transform panel is that the selected object is still deformed by its own transformation point. Instead of becoming a unified transformation point.

[KC] Sequence Layers
Similar to the sequence layers function in AE. The number of overlapping frames can or can be negative. Select the frame, and then execute the command.

[KC] Shuffle
Select objects that do not break the shape and execute commands. A random value that produces coordinates, scaling, rotation, transparency, and brightness within a certain range. Transparency and brightness can only be specified above symbol and cannot be applied at the same time (why?) Look at the properties panel, can alpha and brightness be used at the same time? )

[KC] Timeline Scale
Modify the JSFL that provides downloads from www.SeibsProgrammLaden.de. Zoom time, no longer F5 frame, shift+f5 minus frame.

[KC] Wiggle
Select objects that do not break the shape, provide a range value, and execute the command. The inspiration comes from the wiggle in AE, which can be used to make the jitter effect.

For more details and downloads please go to my blog: www.kevincao.com/article.asp?id=45
Another example: using [kc]sequence layers to stagger the layers quickly, you can set the time sequence and stagger the length of time. Animations like slides are much faster.



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.