Here is an experiment of using the browser object to run javascript in a few interesting ways. You can do anything you can do with a plugin with this, but it's all done in C2 which makes it quicker to test changes.
First off it's used to load js files and interact with C2's runtime. This isn't minifier friendly, but it should be possible to wrap it in a plugin so it will be.
The main thing done in this capx is to change the rendering of one instance of an object in an interesting way.
With webgl off: some arbitrary canvas drawing is done.
With webgl on: a 3d cube is drawn inline with the rest of the other objects (as opposed to only on the very top or bottom).
https://dl.dropboxusercontent.com/u/542 ... test2.capx
Maybe this will be interesting/useful to someone.
can you update link please? i wanna look at it : (