# Difference between FlashVars & URL Rewriting?

**URL:** <https://forum.kirupa.com/t/difference-between-flashvars-url-rewriting/179255>\
**Category:** flash\
**Created:** [February 18, 2006, 1:33am UTC](https://forum.kirupa.com/t/difference-between-flashvars-url-rewriting/179255 "2006-02-18T01:33:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rasper](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Rasper](https://forum.kirupa.com/u/Rasper)\
**Post date:** [February 18, 2006, 1:33am UTC](https://forum.kirupa.com/t/difference-between-flashvars-url-rewriting/179255/1 "2006-02-18T01:33:28Z")

</div>

I’m passing a variable (filename) to my flash movie so flash can proces this variable. Currently I’m using FlashVars to do this, but when I put the link to the .swf directly into the address bar and put “?filename=somethingrandom” behind it, this will cause flash to load this variable, which I don’t want.

Is there any way to use FlashVars and make it impossible to add variables to the url?
