.htaccess rewrite question
I want it so that any swf media in a directory gets redirected to a file like

    http://website.com/swf.php?d=file

Then threw http access, change the link above to

    http://website.com/file

so lets assume I have the file

    http://website.com/thisvideo.swf

I want it to redirect to
http://website.com/swf.php?d=thisvideo.swf

BUT with .htaccess change the above link to 
    http://website.com/thisvideo.swf

So when they visit thisvideo.swf it doesnt go to the direct swf but the php file with the query in it (assuming thats hidden via the .htaccess).

I hope you get what im trying to say, but I don't know how to do the first step of redirecting if its swf, or rewriting.
.htaccess rewrite question
===

I want it so that any swf media in a directory gets redirected to a file like

    http://website.com/swf.php?d=file

Then threw http access, change the link above to

    http://website.com/file

so lets assume I have the file

    http://website.com/thisvideo.swf

I want it to redirect to
http://website.com/swf.php?d=thisvideo.swf

BUT with .htaccess change the above link to 
    http://website.com/thisvideo.swf

So when they visit thisvideo.swf it doesnt go to the direct swf but the php file with the query in it (assuming thats hidden via the .htaccess).

I hope you get what im trying to say, but I don't know how to do the first step of redirecting if its swf, or rewriting.