Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8188525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:56:44+00:00 2026-06-07T02:56:44+00:00

In the compiler options of my flashbuilder project, i’m trying to do this :

  • 0

In the compiler options of my flashbuilder project, i’m trying to do this :

-define+=CONFIG::dev,${MY_VAR}

As MY_VAR would be a variable related to the environment and not to the project (so each developer on the project can define his value of MY_VAR). I tried to find a way in flashbuilder, or by setting an os var in windows, but without success, any idea ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:56:46+00:00Added an answer on June 7, 2026 at 2:56 am

    I don’t believe you can grab a value from the environment straight away but if you want to customize your data per dev, you can have them in the flex-config.xml file for each dev.

    If you don’t want to have it right into the flex-config.xml file, you can “””concat/merge””” another XML config file with another command:
    -load-config+=myfile.xml

    More info on the different ways you can define them (inline or within the XML file):
    http://blogs.adobe.com/flexdoc/files/flexdoc/conditionalcompilation.pdf
    In action:
    http://ditdahgames.com/2011/07/stupid-flex-mxmlc-compiler-tricks-part-1-conditional-compiling/

    Fabien

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Where I can change compiler options for C# project in VisualStudio 2008 (without command
When I set additional compiler options for a project in Visual Studio 2008, they
This is not about command-line compiler options. How do I programmatically obtain the Scala
How do I set default C/C++ compiler options for all newly created projects in
I believe something very odd is happening with my compiler options. When I compile
I'm looking for the compiler options in Visual Studio 2010 (Visual C#). Does anyone
As you know, /GS are Visual C++ Compiler or Linker Options. Can i Specify
In my Xcode 4 installation, I only have 2 compiler options: Apple LLVM compiler
If I had a project structured like this... a.cpp b.cpp c.cpp ...and I wanted
What are the Compiler Options & Other mechanism for reducing the static library size?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.