Skip navigation
Currently Being Moderated

How to set additional compiler arguments through code in flex?

Apr 12, 2012 4:37 AM

Hi friends,

I have a task to run my flex app online and offline as well. I found that it could be done by setting the additional compiler argument: "-use network" to value true/false in flex project properties. I want to know how to set this (or any) compiler argument through my flex code. Please write...Thanks.

  • Currently Being Moderated
    Apr 12, 2012 12:22 PM   in reply to Shripad_joshi

    In general, you can't set compiler options in source code. They would execute at runtime, after the SWF already has been compiled and is running, and therefore it would be too late for the settings to affect compilation.


    Gordon Smith, Adobe

    Mark as:

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