![]() ![]() We will also look at timing and Mathematics, etc. In this chapter, we will learn how to build an application with resources including graphics, sounds and text. Knowing the grammar and sentence structure of a language is not enough! We need to learn vocabulary: words and phrases that enrich our application. Section II: The Building Blocks of an ActionScript application We will explore ActionScript as an object-oriented language, create classes and so on. If ActionScript were a human language, this section will teach you the basic grammar, function words and sentence structures of that language. In the first section, we will explore the ActionScript language. Section I: The Bare Basics of ActionScript Good question! This book is organised into four sections, each with its own objective. ![]() There are many more advantages, but we won't go into everything one by one. Although convenient, this led to numerous problems with code structured and the like. attachMovie and createEmptyMovieClip were used to attach MovieClips in other MovieClips. In AS2, nested MovieClips were the centre of the universe. ![]() Now you have full control over the entire event-handling business! Very often, you didn't even have to worry about attaching event listeners. You didn't have to worry about event dispatching or event bubbling (and instead addressed parents). In AS2, event handlers were simply properties of objects. However, AS3 has introduced many features that allows you to gain more wholesome programming experience, better-structured code, and in general produce faster and more powerful applications. With AS3, the language has become a whole lot more complicated. Why learn AS3 instead of AS2? īack in the AS2 days, it was often said that ActionScript's simplicity allows non-programmers to program.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |