Add-in Flash (ActionScript 3.0 & Flex 3.0) Series Articles Index

Source: Internet
Author: User
Tags inheritance json regular expression

Flash's ActionScript 3.0

1, add up Flash (1)-ActionScript 3.0 basic data types, operators and Process Control statements

Introduced

All data types in Flash ActionScript 3.0 are objects, and the syntax of the operators and Process control statements is similar to C #

2, add up Flash (2)-ActionScript 3.0 base packages, classes, package classes, namespaces, properties, methods, interfaces, and inheritance

Introduced

Flash ActionScript 3.0 is an object-oriented language, packages, classes, package classes, namespaces, properties, methods, interfaces, and inheritance

3, add up Flash (3)-ActionScript 3.0 based on text form, XML form and JSON form and asp.net communication

Introduced

Flash ActionScript 3.0 communicates with ASP.net in text form, communicates with ASP.net in XML and communicates with ASP.net in JSON form

4, add up Flash (4)-ActionScript 3.0 instance of Hello World, clock, timer

Introduced

With 3 simple examples, there is a perceptual understanding of using the Flash ActionScript 3.0 Development Program

Hello World-demonstrates the most basic interaction. By pressing a button, the corresponding information is displayed on the UI

Clock-demonstrates how to do the most basic animation processing. That is, when the clock, the minute, the second hand do the rotation animation

Timer-demonstrates a slightly more complex interaction. That is, a timer that you can start, pause, and stop operations on.

5, add up Flash (5)-ActionScript 3.0 instance of the alarm clock (custom events, paint, animation)

Introduced

Through a classic example, the alarm clock, a general idea of drawing and animating using Flash ActionScript 3.0, and learning about the development of custom events through this example

Custom event-inherits from event, a public static const defines the event type, and other public variables define event properties

Paint-executes vector drawing commands through the graphics property of a Shape object

Animation-via Timer object or listener Event.enter_frame event

6, add up Flash (6)-ActionScript 3.0 drawing graphics and conversion

Introduced

Demonstrates using Flash ActionScript 3.0 to draw some basic graphics and to make some basic transformations on drawing or other visual objects

Paint-executes vector drawing commands through the graphics property of a Shape object

1, using LineStyle () to define the line style of paint

2, MoveTo ()-Set the current painting point; LineTo ()-Draws a line to the target point with the current defined line style, starting at the current drawing point, Curveto ()-Specifies the control point and end point of the two Bezier curve to complete the drawing of the curve; DrawRect ()- Draw a rectangle; Drawcircle ()-Draw a circle; DrawEllipse ()-Draw an ellipse;

3, Beginfill () and Endfill () are used to populate the shapes drawn between them. If it is a gradient fill, the corresponding method is Begingradientfill and Endfill ()

Conversion-Converts an object by setting its Transform.matrix property

Matrix.rotate ()-Angle of rotation

Matrix.translate ()-The distance of the translation

Matrix.scale ()-scaling ratio

MATRIX.B-vertically Tilt The matrix

MATRIX.C-Tilt The matrix horizontally

7, add up Flash (7)-ActionScript 3.0 Interactive mouse events and keyboard events

Introduced

Demonstrates using Flash ActionScript 3.0来 to listen for user's keyboard events and mouse events, and to handle them accordingly

Keyboard events-under the Flash.events.KeyboardEvent class. There are only two event types Keyboardevent.key_down and keyboardevent.key_up.

Mouse events-under the Flash.events.MouseEvent class. Common event types are Mouseevent.mouse_down, Mouseevent.double_click, Mouseevent.mouse_up, Mouseevent.mouse_over, Mouseevent.mouse_move and Mouseevent.mouse_out and so on.

8, add up Flash (8)-ActionScript 3.0 Web page acquisition parameters, JavaScript and ActionScript call each other

Introduced

Demonstrates using Flash ActionScript 3.0 to get configuration parameters, page parameters, and the interaction between JS and as

Parameter fetch-Gets the configuration parameter (flashvars) via Application.application.stage.loaderinfo.parameters[param, and gets the URL parameter via JavaScript

Interacting with JavaScript-using Externalinterface to make calls between ActionScript and JavaScript

Flash Flex 3.0 Flex 3.0 Online Demo

1, add up Flash (9)-Flex 3.0 layout control, Style (CSS), skin (skin)

Introduced

Demonstrates the application of layout controls in Flex 3.0, styling and skin applications

Layout controls-a list of commonly used layout controls in Flex

Styles-controls the styles of each control in Flex through CSS

Skin-Use the SWF developed by the Flash to make the skin of the control

2, add up Flash-Flex 3.0 state Transitions (state), transition effects of transitions (states Transition), custom mouse pointer

Introduced

Demonstrates transition state in Flex 3.0 and excessive effects in transition state, customizing the mouse pointer

State transition-to UI state, converting to a certain programming model

Transition effect (state Transition) of the status transition-sets the transition effect during the conversion of the UI state

Customize the mouse pointer-customize the style of the mouse pointer

3, add up Flash (one)-Flex 3.0 animation effect (effect)

Introduced

Demonstrates the application of various animation effects (effect) in Flex 3.0

Zoom-Enlarge/Shrink

Wipe-To delete/display the control from the top/bottom/left/Right 4 directions in a linear gradient

Rotate-Rotate

Resize-Resizing controls

Fade-Fade in/fade out

Move-Change the position of the control

Iris-Show/disappear (radioactive gradient)

Blur-Fuzzy

Dissolve-make alpha modifications to controls

Glow-Make ambient glow on controls

SoundEffect-Play a section of audio

Parallel-parallel display of various effect

Sequence-serial display of various effect

Tweeneffect-This class is the base class for most effect

4, add up Flash (a)-Flex 3.0 validation Control (Validator), easing effect (easing)

Introduced

Demonstrates the application of validation controls in Flex 3.0, and the application of various easing effects (easing)

Validator-the base class for various validation controls, which can be used for required validation

Datevalidator-Date validation control

Emailvalidator-email validation Controls

Regexpvalidator-Regular Expression validation control

Easing (easing)-the system's own animation easing effect, and custom easing effects

Encryption/decryption-application of AS3 library for common encryption algorithms

Other-some other common things

Ok

Original: http://www.cnblogs.com/webabcd/archive/2009/11/30/1613772.html

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.