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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:15:14+00:00 2026-05-12T05:15:14+00:00

I have a swf which, for some reason, has four RemoteObjects pointing to the

  • 0

I have a swf which, for some reason, has four RemoteObjects pointing to the same ChannelId, but they are listing that channel as being at two different spots. In four of the five RemoteObjects, everything behaves as expected, but in the fourth (WidgetService), the version on dev is switching from dev.context.root to loc.context.root. To make matters more confusing, it only does this on the dev server (QA and production are fine, as are local builds).

The relevant information from the config files follows:

    #This is from build.properties, which is used by Ant 
    #to build the swf on the server
    flex.sdk.dir           = /path/to/sdk/flex_sdk_3.2.0.3958
    flex.sdk.bin.dir       = ${flex.sdk.dir}/bin
    flex.sdk.framework.dir = ${flex.sdk.dir}/frameworks
    flex.sdk.libs.dir      = ${flex.sdk.framework.dir}/libs
    flex.sdk.locale.dir    = ${flex.sdk.framework.dir}/locale/{locale}
    flex.sdk.locale        = en_US

    loc.context.root       = /somename-1.0.4.0000
    dev.context.root       = /dev-somename
    qa.context.root        = /somename
    prod.context.root      = /
    #this value is changed based on the build.
    context.root           = ${dev.context.root}
<!-- All of the RemoteObjects are directed here -->
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
    <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>

<!-- A list of the services -->
<destination id="UserService">
    <properties>
        <factory>spring</factory>
        <source>userService</source>
    </properties>
    <channels>
        <channel ref="my-amf"></channel>
    </channels>
</destination>    

<destination id="SystemService">
    <properties>
        <factory>spring</factory>
        <source>systemService</source>
    </properties>
    <channels>
        <channel ref="my-amf"></channel>
    </channels>
</destination>    

<destination id="SessionService">
    <properties>
        <factory>spring</factory>
        <source>sessionService</source>
    </properties>
    <channels>
        <channel ref="my-amf"></channel>
    </channels>
</destination>    

<destination id="VistorService">
    <properties>
        <factory>spring</factory>
        <source>visitorService</source>
    </properties>
    <channels>
        <channel ref="my-amf"></channel>
    </channels>
</destination>    

<destination id="WidgetService">
    <properties>
        <factory>spring</factory>
        <source>widgetService</source>
    </properties>
    <channels>
        <channel ref="my-amf"></channel>
    </channels>
</destination>  
  • 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-12T05:15:14+00:00Added an answer on May 12, 2026 at 5:15 am

    It turns out that another developer built a swf which was loaded at run-time using the project’s local configuration instead of the server configuration.

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

Sidebar

Related Questions

I have a swf file, which handels some xml data. After that process complets
i have an swf file, uploaded in server. But whenever I make changes to
I have an Flash AS3 project that loads external SWFs and controls them in
I'd like to be able to write a .swf file that is runnable as
Hi i am looking for a flash/flex component that plays movies that are not
I'm trying to write an ant build script to build my group's flex app,
I've got a page with multiple embeds of Flash objects, including dynamically created graphs.
I recently migrated a large AS3 site (lots of swfs, lots of flvs) to
I am building a web based application written in ASP.NET and Flex. One of

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.