Skip navigation
Currently Being Moderated

How to add compiler option at runtime?

Mar 4, 2013 11:07 PM

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-config.xml"


My flex project resides here:

\\myDevServerName\FluorineFx\Server\applications\FlourineWebSite\bin-r elease



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.






More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points