Testbench and Flash!
Jun. 12th, 2007 12:11 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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
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
misuba for first mentioning Flex to me a while ago.)
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]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
no subject
Date: 2007-06-12 04:12 pm (UTC)no subject
Date: 2007-06-12 06:09 pm (UTC)no subject
Date: 2007-06-12 08:07 pm (UTC)no subject
Date: 2007-06-12 08:24 pm (UTC)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.)
no subject
Date: 2007-06-12 11:53 pm (UTC)Also, for the sound layer: http://www.schillmania.com/projects/soundmanager2/