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 with loads text into a Sprite that resizes based on
I have a swf that is run from C:/ in the browser instead of
Alright, currently I have my SWF hitting a php file that will go and
I have a compiled swf file and a I can't edit it , but
I have an application that loads external SWF files and plays them inside a
I have a SWF Video player on my webpage. I want to draw a
I am having a problem with SWF File. I have a SWF File on
I have a Flex swf hosted at http://www.a.com/a.swf . I have a flash code
I have a project with a bunch of external sounds to a SWF. I
I have a case where I need to serve raw swf files to the

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.