0 Replies Latest reply on Sep 18, 2006 3:44 AM by boliz

    flashvars

    boliz
      hi,

      i am tring to pass parameters from html to my flex app, i tried the help example and nothing...

      this is the html code in the object:
      <param name="flashvars" value="filterValue=null&userName=Administrator" />

      and this is in the embed:
      FlashVars="filterValue=null&userName=Administrator"

      this is how i tried to print the vars i get (in the flex app):
      trace(Application.application.parameters[0]);
      trace(Application.application.parameters[1])
      trace(Application.application.parameters.filterValue);
      trace(Application.application.parameters.userName);

      i get undefined for everything.. if you can help me?, example? .. anyThing will be great!