ok, now i’ve finally found an other way to get the attachment url, but still no luck.
now i have $mypath which stores the path to the file but
<param name=”flashvars” value=”file=<?php echo $mypath; ?>” /> also does not work inside this shortcode…the other template tags do theit jobs..weird.