1 Reply Latest reply on Dec 30, 2009 6:08 AM by JeffryHouser

    Export Release Build for datagrid [xml file doesnt show?]

    frankyflex

      SRC folder

                assets

                          icons

                db.xml (located within assets folder)

      datagrid.mxml

      default.css

       

      I am able to load the database and it populates my "db.xml" with no issues, however when I export release build and run the app - the database displays but with no information?  I noticed that the my "db.xml" was not exported as well.

       

      It is set up correctly? or do I need to just drop my icons, db.xml within src folder and not seperate them?

       

      thanks

        • 1. Re: Export Release Build for datagrid [xml file doesnt show?]
          JeffryHouser Level 4

          When you export a release build, it takes all your MXML And ActionSCript files and turns them into a SWF without the extra debugging code.  If you are not embedding the XML in the swf, then this is expected behavior.

           

          In your project properties, under Flex Compiler you can try checking the "copy non-embedded files to output folder"; but I believe this is only for debugging purposes and not for exporting a release build.