1 Reply Latest reply on Oct 2, 2007 9:57 PM by scrfix

    Reading FlashVars Advice Needed

    scrfix
      I can read flash vars with the following line:
      var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;

      However if you read the code below someone brought up to my attention that I don't have the array correct because an array expects an integer and not an object. Is there another line that I can use other than
      var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;

      I should be able to use
      var myStr:String = LoaderInfo(this.root.loaderInfo).parameters;

      Right? Will that work? When I use that I cannot get it to output to the screen. However will it still pass my FlashVars so I can use it within the array?

      Thanks,

      Wayne