1 Reply Latest reply: Jan 12, 2009 5:39 PM by ntsiii RSS

    Help needed on SWFLoader

    David_Caccavella Community Member
      I am making a flex app which includes multiple embedded swfs of different charts. These are xml/swf charts i downloaded from maani.com. You assign the data and styling of these charts via an xml page which you would normally define under the "FlashVars" in your AC_FL_RunContent of a normal html page. These charts were intended for embedding into html/js pages.

      As i am making a flex webapp, not air, i cannot use mx:html so the only other solution is to directly load it with an SWFLoader. However, I cannot figure out how to define the data normally defined in the AC_FL_Runcontent function, i.e. which chart t ype it is and what xml file to look for. This is necessary for the charts to load at all.

      Does anyone have any ideas on this?