0 Replies Latest reply on Jun 22, 2007 9:40 PM by sekhar_chandra

    problem in communicating from one flex 2.0 swf to another swf

      Thanks in advance

      i am using flex builder 2.0 and and flash player9.0
      i am having a problem with loader class,

      i want code for communication between from one flex swf to another flex swf and
      my code is below and i am having problem which is shown in red color.
      please rectify it or tell me any alternate method
      please give me solution as early as possible, its urgent
      ------------------------------------------------------------------------------------------ --
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">
      import flash.display.Loader;
      import flash.display.LoaderInfo;
      import flash.net.URLRequest;

      public var myLoader:Loader = new Loader();
      public var strURL:String=" http://iserv2/SWFSWF/SWFSWF.swf"
      public var req:URLRequest= new URLRequest(strURL)


      At myLoader.load(req) line ,

      it is displaying as Multiple markers at this line,
      -1120 Access of undefined property req
      -1120 Access of undefined property myLoader