1 Reply Latest reply on May 16, 2007 2:20 AM by Jess_23


      hi all,

      i have created chart using flex charting. i am using httpservice to
      get data remotely.

      now i want to put the compiled swf file of that chart on asp.net page.

      i succeeded in putting file on page
      but if i am using externalinterface in flex app. and put swf file on
      asp.net page then it gives me an error. it works fine if i put that
      swf file outside form tag of webpage but gives error if put inside
      form tag.

      i am using externalinterface class as i need some interaction with
      javascrip on page and so i cant avoid externalinterface.

      asp.net webpage on which i want to put the swf file is content
      page(under one masterpage) so i cant avoid form tag.

      i also tried FABridge but again it also use externalinterface so not
      usefull to me.

      is there any other way which doesnot use externalinterface or any
      other guidline to solve this problem?

      thanks in advance.

        • 1. Re: ExternalInterface

          I had the same problem in Flash 8 Pro when I tried to use ExternalInterface on a static context,
          but after uploading to a server it worked fine. I found only a sentence about a security thing (which blocks ExternalInterface)
          somewhere in the docs... While you're communicating with an ASP file, I'm pretty sure that the files are on a server so it's
          not the same case, but seems also some kind of a security issue...