Hey James,
Thanks for that example. What I am really wondering is if there is a
way to reference a script globally, kind of like in HTML where you
embed a <script> reference as a child element in the <head> element of
the page. That way, the whole page can have all the functionality
provided by the script with just one call. It would be extremely
verbose (and make a very large file) to have to add a <script> element
to EVERY <description> element if you wanted consist dynamic behavior
across all placemarks.
I wonder if you can insert it in the <Document> tag? You are right
though - an official example would really help us out here.