really cool the arbitrary Javascript and PHP code in the shortcode
to pass complex php is necessary to write a function inside your functions.php
so, this is the embed shortcode
[kml_flashembed movie="movie.swf" width="360" height="240" fvars="myVar=?{getFlashVar('urlVar');}" /]
this is the function
function getFlashVar($fvar)
{
$song = $_GET[$fvar];
return $song;
}
and the URL you're embeding your swf should be
http ://yoursite.com/pages/pagename/?urlVar=YOUR COMPLETE FLASHVAR