Introduction to ActionScript Programming Language-Desiliciouskitchen

INTRODUCTION TO ACTIONSCRIPT PROGRAMMING LANGUAGE

Desiliciouskitchen-Nowadays, there are many programming languages, one of which is ActionScript. ActionScript is a programming language based on ECMAScript, which is used in the development of websites and software using the Adobe Flash Player platform.

ActionScript History

ActionScript 1.0 was first released in Flash 5 which was the development of ‘Ation’ in Flash 4, and is still in use until Flash MX (Flash 6). ActionScript 2.0 was later released in Flash MX 2004 (Flash 7), Flash 8, to Flash CS3 (Flash 9). As the next generation of ActionScript 1.0 with the advantages of the ability to compile time checking, strict-typing on variables, classes-based syntax (which was previously prototype based), etc. ActionScript 3.0 is a fundamental restructuring of the previous programming model. Its widespread use is especially in the development of RIA (Rich Internet Applications) with the presence of Flex which offers similar things such as AJAX, JavaFX, and Microsoft Silverlight.

Read This: Understanding, Introduction and Advantages of Objective-C

With ActionScript we can create something as simple as animation, simple game, simple application, interactive media, or presentation. Even non-programmers may prefer the design side of creating complex scripts like in ActionScript 3. However, for application developers or web developers, learning Action Script 3.0 may be necessary because of its wider use.

Understanding ActionScript

ActionScript is a programming language based on ECMAScript, which is used in the development of websites and software using the Adobe Flash Player platform. ActionScript is also used in several database applications, such as Alpha Five. This language was originally developed by Macromedia, but is now owned and continued by Adobe, which bought Macromedia in 2005

✔️ READ  C++ Programming Language Tutorial For Beginners-Desiliciouskitchen

The latest Action Script at this time is Action Script 3.0 Action Script 3.0 is the latest language from the edition previously known as Action Script 2.0 Action Script 3.0 has several advantages over its predecessor, including the features offered are files in Action Script 3.0 can be created separately at runtime.

Action Function

Action Script has several functions or roles that can help in designing Flash sites or movies, including:

1.Creating a site navigation system

This relates to how the Action Script can manage the user to explore the site or program that has been created. Thus the site animation that has been created is not just a mere “advertising film”, unless it is desired that way (in the case of cartoons using Flash).

Read This: Learn to Know the C# Programming Language for Beginners

2. Adding interactivity with users

With Action Script the user can interact with every element in a Flash movie, whether it’s a movie clip button or text.

3. Creating a dynamic site or program

Action Script Type

Until now there are 3 types of Action Script. The first introduced is Action Script 1.0 (US 1), then Action Script 2.0 (US 2), and the last is Action Script 3.0 (US 3).

  1. ActionScript 1.0, the simplest version and used in most versions of Flash Lite Player.
  2. ActionScript 2.0, this version already supports ECMA standardization which maximizes XML performance and screen display.
  3. ActionScript 3.0, this version uses object-oriented programming concepts so that it is able to execute commands quickly.
  4. Flash Lite 1.*, 2.*, and 3.*, ActionScript versions specifically designed to run Flash Lite 1.* applications on mobile devices and other supporting devices
✔️ READ  Coding is an Action of Programming, Know its Functions and How to Learn It - Desiliciouskitchen

Action Script 2.0 Basics

In Action Script you must understand three kinds of components to make animation more interactive, namely:

  1. Event: An event that occurs to trigger an action on the object.
  2. Action: Is an action or work that is imposed or given to an object
  3. Target: Is the object that is hit by the action.

Advantages and Disadvantages of ActionScript on Buttons:

Button is an interactive movie clip consisting of four frames: Up, Over, Down & Hit On the button, you can add sound effects when mouse over, link to a website, e-mail or specify the action and behavior of a target movieclip.

The thing to remember is that the ActionScript on the button must of course have a Button where to put the ActionScript. In general, the syntax used in writing the Action Script. In general, the syntax used in writing MovieScript. Pay attention to the following syntax:

on(events){

order

}

Tip: ActionScript is used on the Button symbol, not on the timeline.

Advantages and Disadvantages of ActionScript on Movie Clip

In Flash applications we know the term movieclip. Movie clip is one of the symbols that is very useful in flash movies. Movie clips can be object symbols, such as Graphic symbols that have been tweened or animated. Advanced Actionscript can be added to movie clips for greater use. What is the actual use of movie clips? which is placed on the MovieClip is often called MovieScript. What must be remembered is that to create a MovieScript, of course, there must be a MovieClip where we put the ActionScript. MovieClip has the following language (syntax).

✔️ READ  Job Seeker Needed in the World of Work, Learn These 7 Programming Languages - Desiliciouskitchen

 

onClipEvent(event) {

order

}

 

Advantages and Disadvantages of ActionScript on Frames

ActionScript on the frame is ActionScript that is placed on the frame, or also often called FrameScript. This framescript can only be done on keyframes or blankkeyframes. To see the frame that has been given a script, there is a sign in the form of a small letter ‘a’ which indicates the existence of a script

Conclusion

From the explanation of the programming language above, it can be explained that the ActionScript programming language is a programming language based on ECMAScript, which is used in developing websites and software using the Adobe Flash Player platform. ActionScript is also used in several database applications, such as Alpha Five.

 

Leave a Reply

Your email address will not be published.