What is CharFlipper?
The CharFlipper example jumps through a lot of hoops to perform a simple
task: it displays a series of characters specified in its source file.
It jumps through so many hoops to demonstrate many different aspects of
plugin development, including LiveConnect, EMBED tag parameters,
cross-platform development with maximal code reuse, stream dispatching,
and animation.
The CharFlipper example includes the TimeMediaPlugin java class, which
is meant to be a reusable class with a standard interface for plugins
that deal with time-media (animation, video, audio.)
Building and using CharFlipper
Win32/MSVC++ 4.0:
- In the Examples\CharFlipper\Windows directory, open the
CharFlipper.mdp project workspace file.
- Select the "Build|Build NPFlip.dll" menu item.
- Copy the java class file Examples\CharFlipper\TimeMediaPlugin.class
to the navigator plugins directory.
- Copy the plugin Examples\CharFlipper\Windows\NPFlip.dll to the
navigator plugins directory.
- Quit and relaunch the Navigator, if it is running.
- With the Navigator (preferably 3.0b5 or above) open the file
Examples\CharFlipper\Testing\CharFlipperExample.html.
PPC Mac/CodeWarrior 9:
- In the "Examples:CharFlipper:Macintosh" folder, open the
CharFlipperPPC.µ project file.
- Select the "Project|Make" menu item.
- Copy the java class file "Examples:CharFlipper:TimeMediaPlugin.class"
to "System Folder:Preferences:Netscape Ÿ:Java:netscape-classes". (In
the next beta release it should be possible to simply place the
class file in the plugins directory.)
- Copy the plugin (or an alias) "Examples:CharFlipper:CharFlipperPPC"
to the navigator Plug-ins folder.
- Quit and relaunch the Navigator, if it is running.
- With the Navigator (preferably 3.0b5 or above) open the file
"Examples:CharFlipper:Testing:CharFlipperExample.html".
68k Mac/CodeWarrior 9:
(note that LiveConnect does not function for 68k plugins)
- In the "Examples:CharFlipper:Macintosh" folder, open the
CharFlipper68k.µ project file.
- Select the "Project|Make" menu item.
- Copy the plugin (or an alias) "Examples:CharFlipper:CharFlipper68k"
to the navigator Plug-ins folder.
- With the Navigator (preferably 3.0b5 or above) open the file
"Examples:CharFlipper:Testing:CharFlipperExample.html".