1 Reply Latest reply on Sep 29, 2008 5:08 AM by

    SWFLoader passing parameters

      Hello,

      test1.swf calls test2.swf with <mx:SWFLoader and passes a parameter to test2.swf.

      I assume that this case can be handled as FlashVars are handled and for this reason I use the following coding, but get "none" as a parameter result when using "Application.application.parameters.testVar". What am I doing wrong?

      Thanks for your help
      Didi

        • 1. Re: SWFLoader passing parameters
          Thanks to the Topic answered by peterd_mm I found the solution. Just leave away the Application.application and use only parameters.testVar. Like this it works

          var testVar:String = parameters.testVar;

          thanks peterd_mm