Creating Knowledge Objects

A Knowledge Object is a packet of logic--encapsulated in a model--that you insert into a Macromedia Authorware piece. A Knowledge Object is different from a simple model in that it's connected to a wizard. A wizard is an Authorware piece that provides an interface for setting up, making changes to, or even adding new content and logic to the Authorware piece where you've inserted the Knowledge Object.

Knowledge Objects are powerful productivity tools that make inexperienced members of a development team productive by enabling them to do common tasks easily and efficiently. Knowledge Objects also make you more productive if you're an experienced developer by giving you a way to automate repetitive tasks. Knowledge Objects, in fact, fundamentally revolutionize the authoring practice.

The following are examples of some of the things you can do with Knowledge Objects:

A Knowledge Object works like this: A user drags a Knowledge Object from the Knowledge Objects window to the flowline. The Knowledge Object launches the wizard connected to it. Doing so launches another instance of Authorware in which the wizard runs. The wizard leads the user through the process of setting up content in the Knowledge Object or configuring the code it contains. As the user makes choices in the wizard, the wizard makes the appropriate changes in the "target" Authorware piece (the piece where the user has inserted the Knowledge Object). When the user quits the wizard and runs the file that contains the Knowledge Object, Authorware, instead of launching the wizard when it encounters the Knowledge Object icon, executes the logic inside the icon.

The simplest Knowledge Objects consist of a Knowledge Object icon and the wizard it launches. You save a Knowledge Object icon as a model. Knowledge Objects--as long as you save them in the proper folder--appear in the Knowledge Objects window, where they're easily accessible to users. They can be used over and over again. (See Knowledge Objects--step-by-step procedures for specific procedures.)