
Questions? Get live answers at PBwiki's weekly office hours (1 PM Eastern, Weds September 3)

Educators: Earn a free Gold upgrade by joining the PBwiki Back To School Challenge.
This tutorial is for SVN revision 592, and should work for newer versions.
R3 includes Flash integration. To use Flash to visualize ink that you are writing on a notebook, take a look at:
flash/LiveWhiteboard.javaPaperToolkitDemos/src/edu/stanford/hci/r3/demos/
If you run this file, it will load a local Flash GUI (*.swf) which will connect to your local streaming pen. However, you probably have not compiled the SWF files, if you do not have the Adobe SDKs installed. If you do not have the Flex SDK, you can download the precompiled flash binaries from:
Get the most recent zip file, and unzip it to PaperToolkit/flash. You should have a new bin/ directory at the same level as mm.cfg, apollo/, and the other flash related files/directories. Inside bin/ you should see a bunch of xml, html, and swf files, along with some directories.
You will also need to make sure you have Flash version 9,0,28,0 or greater. You can check this at: Flash Version Check
One final issue. Flash's security model prevents us from running local SWF files. That's probably a good thing. But since we want to run the stuff we've compiled, we'll need to tell Flash that certain directories are OK. To whitelist your flash/bin directory, run:
flash.FlashSecurityRegistration.javaedu.stanford.hci.r3
It will create a cfg file under your user's {HOMEDIR}/Application Data/Macromedia/Flash Player/#Security/FlashPlayerTrust/
The papertoolkit.cfg file whitelists a single path.
Now, if you go back and run LiveWhiteboard, and start writing on a notepad, you should see the results in a browser.
Notes:
actions.types.OpenURLAction.javaedu.stanford.hci.r3
actions.types.OpenURLAction2.java
While the first file uses the proper method, the second one seems to work faster on some machines. If enough folks run into this problem, I'll update:
flash.whiteboard.FlashWhiteboard.javaedu.stanford.hci.r3
to use the second method. Or, I'll get on Sun's case to fix Java once and for all.
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |