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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:33:56+00:00 2026-05-16T17:33:56+00:00

I have a Flex 4 client application that is under development in parallel with

  • 0

I have a Flex 4 client application that is under development in parallel with the server back-end. I am use Mate’s MockRemoteObject to provide a mock data service, but as the real data service comes on line, we’ll want to run against that sometimes from Eclipse.

Is there a way to easily switch between the two without having to modify source code?

Based on my research it seems like Spring-Actionscript might work, but I really do not want to switch frameworks at this point if I don’t have to.

  • 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-16T17:33:57+00:00Added an answer on May 16, 2026 at 5:33 pm

    I found a way to do it. They key was using the little known feature of Actionscript called conditional compilation. By setting a compile time flag, I was able to include the mock data source code and use the mock service objects instead of the real ones. Whenever I compile without the flag, all of the mock source code is excluded from the project because it is on a non-standard Maven build path.

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

Sidebar

Related Questions

I've got a small client/server test application where I have a Flex app that
We have a Flex client and a server that is using the Spring/Blazeds project.
I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend.
I need to create an application that will use Flex on the client side
I have a Flex-based client app which talks to the back-end through BlazeDS. In
I have a Java server application and a Flex client application. For my data
We have a flex application that connects to a proxy server which handles authentication.
I have a Flex application that connects to a BlazeDS server using the StreamingAMF
I have a Flex client application. I need a clean up function to run
I have a portlet. Inside of this portlet I have Flex application that displays

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.