| Lingo Programming Language |
Article Index for Lingo |
Website Links For Lingo |
Information AboutLingo Programming Language |
| CATEGORIES ABOUT LINGO PROGRAMMING LANGUAGE | |
| programming languages | |
| scripting languages | |
|
SYNTAX OF MACROMEDIA LINGO When Macromedia Lingo was created, the syntax was designed to mimic spoken language, so it would be easy for beginners to get started. You could write whole HyperTalk-like sentences like: if the visible of sprite 5 then go to the frame Although it is still possible to use the old syntax, the latest version of the language fully supports Dot Syntax , so that the code looks more like in standard Programming Languages . The equivalent in new scripting style would be: if sprite(5).visible then _movie.go(_movie.frame) Although this format uses elements of the Document Object Model , introduced in Director MX 2004 , the syntax in prior versions would be like: if sprite(5).visible then go to the frame USAGE OF MACROMEDIA LINGO Macromedia Lingo is embedded into Macromedia Director. This way you don't need to care much about hardware or details of getting things on the screen - the program does this for you. Object-oriented programming (OOP) is encouraged by both the language and the Director community. However, OOP is not the only way, This offers Director programmers speed and flexibility in development as they work in both a timeline and a programming structure. There are 3 types of scripts in Macromedia Lingo:
Behavior and '''parent''' scripts encourage good object-oriented programming. '''Movie''' scripts are not as OOP-oriented; however, they can still be used to make "black-box" handlers, where other objects can input raw data and receive answers back, without knowing the inner workings of the box. Using the strengths and ease-of-use of Director's programming methodology, with the advantages of OOP makes for a powerful and fast programming environment. IMAGING IN MACROMEDIA LINGO A very powerful part of the language is Imaging Lingo. It was introduced when Director version 8.0 arrived. It gives the user the power of image manipulation with simple commands. There are some similarities to functions of image applications (like Photoshop ), that make it easy to create visual effects. OTHER LANGUAGES CALLED LINGO
It should be noted these other languages are perhaps not as well known as the Macromedia language. However, a legal anomaly remains in that the legal trademark of the word 'Lingo' in the UK is not held by Macromedia, but by one of the other obscure versions of Lingo. EXTERNAL LINKS Useful resources
Mailing lists
|
|
|