Flash ActionScript

This might be the first time you have come across an object-oriented approach to ActionScript, so you need to understand the underlying concepts before you begin writing code. You need to understand what an object is, what a class is, how objects and classes are related and how they communicate by using messages. This approach is the same for all object-oriented languages and scripts.

What Is an object? If you look around you now you'll see many examples of real-world objects, such as your dog, your computer, your phone or your book. These physical objects have two characteristics: they all have properties (variables) and behaviour (functions). For example, cats have different properties (name, colour, hunger) and behaviour (purring, meowing and licking).

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.