prog: (Volity)
[personal profile] prog
OK, I lied: one more obsessive Tic Tac Toe Testbench example. This one's totally worth it, though: an example of a Volity UI written in Flash and JavaScript.

Yessiree. It looks and works much the same as the pure HTML example because it's a port. Code-wise, the only real difference is that there's a SWF file in the mix, and when the JavaScript decides that it's time to update the visuals somehow, instead of twiddling with DOM or CSS, it fires a command into the SWF via an ActionScript ExternalInterface callback. It's not doing anything that isn't standard Flash/JS technique.

This is some truly exciting stuff, and a huge validation for me. I wanted to prove to myself that this actually works! That it does says very good things about the prospects for other embedded-applet-style Volity UIs, too.

Everything's all in up Subversion for your examination, and here is the source zipfile. Now I will carry on and start making the real client.

(And if the Flash looks like butt, it's because it's the very first Flash thing I ever made. Everything I know about Flash programming I learned in the last two days. Props to Chafic & Joey, and a nod to [livejournal.com profile] misuba for first mentioning Flex to me a while ago.)

Date: 2007-06-12 04:12 pm (UTC)
ext_2472: (Default)
From: [identity profile] radiotelescope.livejournal.com
Let me be the first to say that this *totally rocks*.

Date: 2007-06-12 06:09 pm (UTC)
From: [identity profile] misuba.livejournal.com
Sweet business!

Date: 2007-06-12 08:07 pm (UTC)
From: [identity profile] misuba.livejournal.com
Oh yeah: were there any changes to Testbench itself in this release?

Date: 2007-06-12 08:24 pm (UTC)
From: [identity profile] prog.livejournal.com
Not really, unless you count the addition of the volity.as ActionScript library (which is really just a bunch of syntactic-sugar convenience methods) The dependency on the SWFObject JS lib is really just to make the Flash demo work cross-browser without pain.

That directory is getting really cluttered. When I start work on the real client I'll reorganize in order to best reflect library-sharing. (This will probably involve my moving aside your earlier Iquity work for the nonce, too.)

Date: 2007-06-12 11:53 pm (UTC)
From: [identity profile] misuba.livejournal.com
Just chuck it out. No need to be shy about that.

Also, for the sound layer: http://www.schillmania.com/projects/soundmanager2/

August 2022

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 12th, 2025 12:07 pm
Powered by Dreamwidth Studios