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 6222907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:23:50+00:00 2026-05-24T08:23:50+00:00

Platform: Flex 3 & Flex 4 Language: AS3 I have inherited a very large

  • 0

Platform: Flex 3 & Flex 4
Language: AS3

I have inherited a very large code-base written for the Flex3 framework at work.

My company would like to segment the software into “smaller”, more “specific” use-cases.
There will be some overlap in features between the different products.

One option would be to copy the code-base into various projects and prune the code for the various use-cases as appropriate. (is that even appropriate?)

However, I would like to avoid that since maintaining the same code duplicated across more than 3 software products would likely be a pain.

Is it possible to create custom build configurations on top of one (1) code-base that compiles only what is needed for that particular product? (I am imagining something akin to #ifdef statements or perhaps build configurations in Visual Studio)

Would moving to git help facilitate that? (We use SVN.)

Any advice would be greatly appreciated.

-Regards

Oliver

  • 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-05-24T08:23:51+00:00Added an answer on May 24, 2026 at 8:23 am

    You can totally do conditional compilation if you use FlashDevelop.

    Linky link: http://www.flashdevelop.org/wikidocs/index.php?title=AS3_Conditional_Compilation

    Basically, you type something like this:

    CONFIG::mode_a{
        foo_mode_a();
    }
    
    CONFIG::mode_b{
        foo_mode_b();
    }
    

    And then in your flashdevelop project settings, properties, project settings, set some compiler constants, “CONFIG::mode_a,true”, “CONFIG::mode_b,false”. Then foo_mode_a() will get called and foo_mode_b() will not.

    There’s various ways you can use this (follow the link), but the most powerful is to make it so that code ISN’T EVEN THERE if you put it in a conditional compilation block with the variable set to false in your settings.

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

Sidebar

Related Questions

Platform - iOS. Language - Object c, OpenGL. I have to put 2 UIViews
I have a very complex social networking system built using the Adobe Flex SDK.
Rehashing an older post: JQuery VS Flex - Choosing a Platform for SAAS We
The last cross platform desktop development I did was Java/Swing. What about flex?
I have a multi-platform Qt application with a custom palette that we have already
For my browser based Flex game (for the Facebook platform), I am using PHP
Looking at adobe flex for cross-platform mobile apps. Does the final apps require adobe
I have been moving over to JavaScript (esp. canvas) from Flash / Flex /
recently ive been doing research and testing of Flex Mobile framework for iOS and
I've written a small sample AIR application in Flex to be deployed on iOS

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.