The language specifications of ActionScript are getting closer and closer to Java, but some important features are not supported.
The following are some points:
(1)Generics
Generics greatly improves coding efficiency and running efficiency. The lack of generics makes programming quite uncomfortable,CodeIt looks tedious and ugly.
(2)Thread
Currently, ActionScript is a single-threaded language, which m
Tutorial
1.3ActionScript EditorFlash MX 2004 provides a very Easy-to-use ActionScript editor, and this section is a good way to familiarize yourself with how this editor is used.1.3.1 Start ActionScript EditorOpen the ActionScript Editor by opening the menu window-〉 Development Panel-〉 Action (shortcut F9) in Flash MX 2004.
The structure of the 1.3.2ActionSc
Script panel, and enter this code:
The code is simple. The movie is ready to receive the event, next registers the Mousepostion_txt as a receive mouse event, and then uses the event-handler method to catch the OnMouseMove event and display the mouse position in the Mousepostion_txt when the event occurs , the execution effect of the above small program is as shown below.In addition to listening to mouse events, we can also monitor key events and scene events:Key.addlistener (Historyarray);
Introduction:
ActionScript was developed for its flash product by Macromedia (which has been acquired by Adobe). It was initially a simple scripting language. The latest version 3.0 is a completely object-orientedProgramming LanguagePowerful, rich class libraries, similar to JavaScript syntax, mostly used for flash interactive, entertaining, and practical development, web page creation and RIA applicationsProgramDevelopment.ActionScript is an ecm
Write HTML5 with the syntax of the imitation of ActionScript -- Article 5: Graphics plotting
Write HTML5 using the syntax similar to ActionScript-the first article shows an imageHttp://blog.csdn.net/lufy_legend/article/details/6753032Write HTML5 using the syntax similar to ActionScript -- Article 2: Use sprite to implement animationHttp://blog.csdn.net/lufy_legen
backgrounds.
The first step in making a tiled background are the tiles themselves. I found a nice set of free tiled wilderness graphics from http://lostgarden.com/labels/free%20game%20graphics.html. the site also has another of other tiled resources sets which you may find interesting.
The next step is finding a level editor that will allows us to draw the levels through a graphical interface. of course you cocould write your own (that's another article series in itself), but luckily someone
This post consists of: http://xinpure.com/call-the-javascript-method-in-flash-actionscript-2-0/Invoking the Javascript method in Flash ActionScript 2.0
Recently, at work, there was a need to invoke the Javascript method on a Web page from Flash ActionScript 2.0
This is a question about the interaction between Flash and Javascript.
Calling t
when it comes to testing remember to go to the place to find FlashPlayerDebugger.exe this path, is your installation folder under the path to fill the goodFlashdevelop-4.7.2\tools\flexsdk\runtimes\player\11.1\win\flashplayerdebugger.exeIf you want to set the Chinese language, set this, also in the program settings found in the first pageIf there is no automatic network download SDK at the time of installation, manual installation is required. Please self-Baidu ... Me thisAfter the configuration
Class and Object-Oriented ProgrammingClass and object-oriented (Object Oriented). For some readersIt may have been used in AS (or other languages) for many years. To help everyone learn, I will briefly introduceLet's take a look at these basic knowledge. Even the OOP experts of as 2 want to skip this section, because as 3.0As long as you are in FlashThe working principle has indeed changed a lot.If you say you have never used a class, you are wrong,Af
, backward, and stopping. And placed on the stage. I will not introduce much about how to create buttons. Cough, just be a little lazy, huh, huh. Open the window menu and select another panel - Public Library - It's a pity that there are so many things. Double-click to open the library Playback Folder Gel right , Gel pause , Gel fast forward , Gel rewind , Gel stop The buttons are dragged to the stage, and the order and position are arranged in sequence. If you want to make it mor
ActionScript Chinese electronic book.
Learn flash can be studied Oh.
An overview of Action script dictionaries
This dictionary describes the syntax and usage of the action script elements in Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004. To use the example in the script, copy the sample code in this dictionary and paste it into the Script pane or the external script file. This dictionar
..., executes the previous statement if the condition in the if bracket is satisfied, or executes the latter statement. Here we call the gotoAndPlay method of the movie clip instance MOVIE_CLIP_INSTANCE_MC, which allows the movie clip to play inside itself, because we have different feedback on different frames in the movie clip. Therefore, this statement can be very fast to complete the user feedback, which is the interactive Flash application development of the common techniques.
1.5 Sum
Today the project encountered a small problem, did a small function to send a GET request to the server, but the service side parsing data is the time to report a syntax error, as follows:
Make Request data error:SyntaxError:Error #1132: Invalid JSON parsing input.Error #2044: unhandled error:. Text=make Request Data error:SyntaxError:Error #1132: Invalid JSON parsing input.
Obviously, the cause of the error is that the server has interpreted this data as JSON format, but I sent th
1. In Flex, ActionScript calls JavaScript is relatively simple, and plainly is, in HTML, how to invoke JavaScript, in ActionScript on how to call on the
2. If you use JS to call as, a little trouble, in fact, is relatively simple
Mxml Code:
HTML code, which is automatically generated by Flex Builder, is used to embed flash in a Web page without looking at the code, noticing the yellow backg
Tip: Reading this series of articles requires a certain ActionScript language base, if you have not learned or forgotten the ActionScript language related knowledge points, you can through the ActionScript 3.0 step through step series of articles to understand.
Flex, like the. NET Framework, provides us with many different types of common components (or controls
Get started with flash game development. This article shows you which tools to download and details the first steps in creating a flash game using Flex and ActionScript.
Start a flash game program. This article will show you how to use the flex development tool as language to start developing a flash game.Getting started
With Flash Player and the flex SDK Adobe has supplied everything you need to start creating your own Flash games. Creating a flash g
Recently, a win7 system users reflect, using the computer to browse the Web or watching video, the system will always pop up: ActionScript error prompts, the user does not know how to solve this problem, this is very distressed, then Win7 system prompts ActionScript error How to solve it? Today, we share a workaround for Win7 system tips for ActionScript errors.A
The first chapter. ActionScript Language Basics
1.0. ActionScript 3.0 Cookbook Overview
1.1. Create a new ActionScript project
1.2. Define application Properties Yourself
1.3. Where to write ActionScript code?
1.4. How to track information
1.5. Handling Events
1.6. Responding to mouse a
The first talk about who WhereHello everyone, first of all, thank you for learning as! with me in the heat. Because the weather is so hot, the content of the lecture is as concise as possible, today is the first lesson, I use three English words to sum up: who Where how.First, whoLet's start with the first question.-who, what is as?
As you know, Flash is a powerful animation software that you don't have to use as to use Flash, but if you want to provide interactivity with the user, use other o
How the keyboard interacts with ActionScript2.0 is described in "ActionScript" using the keyboard move symbol (click the Open link). This article continues to explain how the mouse interacts with ActionScript2.0. In fact, the interaction between the mouse and ActionScript2.0 in the "ActionScript" using the Copy movie Duplicatemovieclip with the mouse drag following startdrag to make the mouse movement effec
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.