1 Reply Latest reply on Jun 19, 2014 7:26 AM by kglad

    Calling XML file from Flash -- Usage of wildcard characters

    Sreekanth_S Most Valuable Participant

      Hi

       

      We have a Flash file, tabs.swf, (standard tab interactivity) from which we are calling the XML file using the following code:

      myXML.load("tabs.xml")


      We are using this SWF file in many learning modules created using Captivate, FrameMaker, RoboHelp, etc. by just changing the content in the XML file appropriately. The tool creates a different folder for each module.


      Now, the challenge we are having is, there will be cases where we have to use the interactivity in multiple times in the same module. In that case, content developers can change the SWF file name on their own. But they can't change the XML name without going back to media designer.

       

      Is there a way we can use the same SWF file to call different XML files without manually changing the XML file name every time? We have a standard naming convention for the XML files -- Tab1_<ModuleName>, Tab2_<ModuleName>, etc.

       

      Any help is appreciated. Thanks.

       

      Sreekanth