April 24, 2004

Use User-defined Where Built-in Is Expected

Say you’ve got a function that takes some built-in kind of parameter. You need to make that function work?even for an object (which has a data member of that built-in type type)?all without changing the syntax of your function call statement. This code can do it for you: class INT{public:

Extending Flash MX 2004, Part 2: Using Classes and Scripts in JSFL

n this article I will discuss the similarities and differences between ActionScript and JSFL. We will also briefly show you how to write your own JSFL scripts and how to execute them.As with ActionScript, JSFL has a set of predefined classes, containing methods and properties: Array Boolean Date Function Math

Extending Flash MX 2004 Series: An Introduction to the JSAPI

s with the release of any new version of a software product, Macromedia Flash MX 2004 introduces a host of features. The most significant of these is what Macromedia calls the ‘Extensibility Layer’?a general term for a set of features that makes it possible for Flash developers to create and

Extending Flash MX 2004, Part 1: Understanding the JSFL DOM

SFL is based around a Document Object Model (DOM) that exposes a hierarchy of Objects, which represent the structure of a Flash document in the form of a hierarchical tree, very similar in nature to a family tree. Each object allows you to dynamically access and update the structure of

Extending Flash MX 2004, Part 4: Solving UI Problems with XUL

hen developing your Flash extensions, it is sometimes necessary to provide a dialog box that will prompt the user to make a choice or customise settings in an intuitive and user-friendly way. For example, some of the various Timeline Effects that come pre-installed with Flash MX 2004 allow the user