0 Replies Latest reply on Mar 4, 2013 11:07 PM by megharajdeepak

    How to add compiler option at runtime?

    megharajdeepak Level 1

      Hi there,

      I am using a project which uses Flourine Fx for remote object. I have a development server and a production server. While under development, I have given a compiler option which is :

       

      -services "\\myDevServerName\FluorineFx\Server\applications\FlourineWebSite\WEB-INF\flex\services-c onfig.xml"

       

      My flex project resides here:

      \\myDevServerName\FluorineFx\Server\applications\FlourineWebSite\bin-release

       

       

      It works fine in development server. But I can't move same compiled swf file in production since it will still be pointing to dev server and not prod server. And I don't want to change this compiler option for production again and deploy.

       

      Is there anyway in which we can provide this 'services' compiler option at runtime in flex?

       

      Appreciate your help.

       

       

      Cheers!

      Deepak