What is LivePict?

The LivePict example displays a PICT file. Of course, that's not all it does. This example is LiveConnected, meaning that you can interact with it using java and JavaScript. LivePict has one LiveConnect entry point: SetLocation. When this method gets called, LivePict requests a new stream so that it can display the new location.

The LivePict example includes the RelocatablePlugin java class, which is meant to be a reusable class with a standard interface for changing the data which a plugin displays.

PPC Mac/CodeWarrior 9:

  1. In the "Examples:LivePict" folder, open the LivePictPPC.µ project file.
  2. Select the "Project|Make" menu item.
  3. Copy the java class file "Examples:LivePict:RelocatablePlugin.class" to your Plug-ins folder.
  4. Copy the plugin (or an alias) "Examples:LivePict:LivePictPPC" to the navigator Plug-ins folder.
  5. Quit and relaunch the Navigator, if it is running.
  6. With the Navigator (preferably 3.0b5 or above) open the file "Examples:LivePict:Testing:LivePictExample.html".