Date display area
Advanced Director tutorials
These tutorials introduce OOP techniques and require confidence in writing and understanding JavaScript techniques. They are written to help students learn commercial practice and to produce code that is: -
Custom Classes
In this tutorial I cover designing and using custom classes through an example looking at using a simple Timer class to make a cursor-following object. Making custom classes is a core skill in advanced Director programming.
Working with Dynamic Assets
In this tutorial I look at both a proceedural and a more modern OOP approach to working with dynamic assets - where a Director movie loads images, sounds etc. at run-time rather than these being specified when the product is created. The OOP approach, separating content from presentation and using a custom class, is far more flexible than the 'hard-wired' techniques where assets are selected in the Director authoring application since assets can be changed without the product having to be rebuilt and code can be reused easily.
Browser Control
In this tutorial I look at using a custom class to interface with the host browser. Using the services offered by the class, a Director movie saved as a Shockwave object can function as a website menu without the whole site having to be realised inside Director.
Working with XML
XML is one of the key technologies for modern multimedia and this tutorial shows how to work with an XML configuration file in Director. I show how to create a custom XML Parser class which provides a simple API for working with XML objects in Director.
Note you need to have completed the dynamic assets tutorial before doing this one.

This page was last updated on 17th January 2009