• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III: Special Topics > Parent/Child Lingo

Chapter 19. Parent/Child Lingo

Object-oriented programming

A simple P/C scripting example

Customizing child objects

Inheritance

P/C scripting in practice: Controlling sprites

Points to remember

Although Macromedia has integrated object-oriented programming throughout Director, most of the OOP has been behind the scenes and invisible to you. Starting with this chapter, you can use parent/child Lingo to take control and begin creating objects yourself. The parent/child approach lets you establish a general framework for performance in one Lingo script and then create limitless permutations and variations with ease. There are just a few new concepts at the core of this approach, but it's well worth mastering them to gain a new realm of possibilities.

In this chapter, we'll tackle those core concepts and then apply them to practical contexts. We'll leverage the principles still further with the introduction of ancestors and inheritance, and finally we'll use list Lingo to put all the pieces into a manageable whole.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint