1. Peter Hansen
  2. playbook-air

Wiki

Clone wiki

playbook-air / Home

PlayBook on AIR

This project is a publicly readable repository of code snippets, samples, and small useless apps, for educational and exploratory purposes. It grew out of a set of "studies" I had made to experiment with and learn about various features in the Tablet OS SDK for Adobe AIR.

(This wiki uses the Creole syntax.)

Try link to studies/MicrophoneTest.as

Go ahead and try:

$ hg clone http://bitbucket.org/peter9477/playbook-air/wiki

Wiki pages are normal files, with the .wiki extension. You can edit them locally, as well as creating new ones.

Syntax highlighting

You can also highlight snippets of text, we use the excellent Pygments library.

Here's an example of some ActionScript3 code:

import caurina.transitions.Tweener;
import flash.events.MouseEvent;
...

private function onClick(e:MouseEvent):void {
    trace("foo bar", e.type);
    Tweener.addTween(this, {time: 1.0, x: 100, y:100});
}

You can check out the source of this page to see how that's done, and make sure to bookmark the vast library of Pygment lexers, we accept the 'short name' or the 'mimetype' of anything in there.

Updated