Difference between FlashVars & URL Rewriting?

March 18th, 2010
  • 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?


  • why would you put the variable in the swf url if you didn't want it there? just use the FlashVars like you said.


  • why would you put the variable in the swf url if you didn't want it there? just use the FlashVars like you said.

    It's not a question of me putting it there, but the end user is able to do it. This is what I wanted to avoid. If putting the variable in the swf url is the same as using FlashVars, everyone can just change the value, which will result in changing the values that will be stored on the server.

    Anyway, I thought about an other way around this and now I'm just using loadVars and an extra .aspx-file to get my randomly generated variable.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Difference between FlashVars & URL Rewriting? , Please add it free.