If you need to access your Flash/ActionScript functions via JavaScript then the easiest way to do this is with the ExternalInterface API (click here to read the Adobe documentation).
Archive for October, 2009
Calling an ActionScript function from JavaScript
Tuesday, October 27th, 2009JavaScript Frameworks GZIP Size
Wednesday, October 14th, 2009I’ve been playing around with a couple of different JavaScript frameworks today. I thought it about time as I have only really ever used jQuery at work (which I guess isn’t very strange as it’s the framework most people start out using).
I wanted to find a framework that would let me code in plain ole’ JavaScript but also eased cross-browser AJAX and FX animations.
But I also needed to make sure that my requirement of a good core API, with a modest selection of features was balanced against what is (for me) the most important aspect of a JavaScript framework… the overall filesize when minified and sent down the wire via GZIP compression.
So I did some very basic tests and this is what I found…
Zebra Striping HTML tables with JavaScript
Sunday, October 11th, 2009Here is a simple JavaScript solution for making alternative rows of your HTML table different colours.