Script | detailed
A. New scripting language command
1. scripting language Editor
In ActionScript applications, the development environment has improved greatly, both in expert and general mode. Code hints, code color tagging, search, substitution, and automatic format checking these features greatly improve the productivity of both experts and beginners. Drag-and-drop scripts, lookup resources, source code, and so on, all make it easier for beginners to learn ActionScript. The addition of a new jump display bar in the script and description area allows you to quickly select the script statement you need to use.
2. Customizable scripting language Editor
The editing environment for custom scripting languages is more flexible: Includes custom display text properties (fonts, dimensions and colors), syntax colors, and the contents of the Toolbox panel.
3. Code hints and completion
Depending on your type of requirement, you can get code hints: include parameters, attributes, and events, and eliminate the reference code you don't need to find the right code you need.
4. Coded debugger
Use the Enhanced resource Script Debugger to set breakpoints, step into code, and function layers to make your code cleaner. This debugger can be run inside the Macromedia Flash MX, or it can be run in a Web browser.
5. scripting Language Reference panel
In Flash MX, you can learn about the performance of scripting languages directly in the Scripting language Reference panel.
6. Improved scripting language execution speed
General scripting Functions (Numbers, Boolean, objects, strings, matrices, and XML) can be executed 100 times times faster and compatible with existing Flash content.
Two. Enhanced editing capabilities in scripting languages
1. New Scripting language commands
You can use these commands to set up a generic program that the Flash Player 6 can call periodically during the animation's life cycle, rather than a recurring call based on events on the timeline.
2. New types of objects and event templates
The Macramedia Flash 6 player adds new features that allow you to manipulate objects and events at the same time. This allows the object to change with the event, such as using a mouse or keyboard event, which makes the event-driven code more similar. At the same time, advanced developers can create common objects and events, making it easier to maintain and reuse code.
3. Dynamic Animation Layout Control
Scripting languages allow you to control the directory layers that appear on the screen, to animate new properties, including the height and width of the animation, the scale pattern, and the order of the layers. When you change the size of an animation, you can also invoke a new event.
4. scripting Language Conversion statements
Instead of repeatedly using a series of "if", "then" and "else" statements, you can manipulate the script language Panel state transformation more directly. This feature enhances the scripting language to support ECMA-262, which is compatible with Flash Player 5.
5. Text fields and Button objects
Fully control the appearance and behavior of text and buttons. You can use the floating text or buttons to complete the control operation. Each attribute can be controlled by scripting language, such as Text field mode, password password mode, single line and multi-line, text wrapping, HTML format.
6. Shape Drawing API
Create complex vector pictures in scripting languages. With Flash Player 6, an advanced user can use its shape drawing function directly to create a dynamic vector picture.
7. Enhanced Sound Control
Scripts allow you to control the length, location, and completion events of a dynamic sound at run time.
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.