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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:26:26+00:00 2026-05-11T08:26:26+00:00

I have a page with two Flash movies. When one (a content application) reaches

  • 0

I have a page with two Flash movies. When one (a content application) reaches a particular state (i.e. the user is now logged in), I’d like to completely refresh the other (a menu) to reflect the new overall state of the user’s session (i.e. the user is logged in, so now include a ‘logout’ item). The state is actually kept server-side, so no detailed communication is required, just a general ‘update yourself’ command of some kind.

It seems like I can do this by setting up a LocalConnection and sending commands from the first movie to the second, but this seems like overkill.

Is there a simpler way for the first movie to cause a reload/refresh/rewind of the second?

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

    LocalConnection, especially since you’re running with both SWFs in the page context, actually sounds like a fairly straightforward way to go. Another approach would be to use ExternalInterface to wire the SWFs together with JavaScript, but that’d probably be more complicated and error-prone than implementing LocalConnection, and possibly less secure as well, depending on the details of your application.

    Other than messaging one another directly, via LocalConnection or ExternalInterface, the only other options that come to mind would involve some sort of polling on the part of the second SWF (the menu) — polling for a browser-session/cookie value (and updating its state accordingly), polling for changes to some JavaScript variable, polling for a SharedObject value, or the like.

    Actually, now that I think of it, SharedObject might actually be a good way to go in this case. I haven’t used it personally, so I don’t have any code to share, but it looks from the documentation like it’s well suited to the task, and probably more appropriate than LocalConnection or ExternalInterface, in that it leaves the two SWFs less tightly coupled.

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

Sidebar

Related Questions

I have two applications. In one application the web browser control shows a flash
I have a page that consists of two frames: one being a flash app,
Let's say we have two flash objects on the same html page. I want
I have a page with two buttons, one Button opens a popup window with
I have an aspx page with two buttons, one of the buttons has an
I have just asked these two questions, one on flash seo url best practices
I have two slideshows in one page using javascript http://www.flickrshow.com/static/scripts/flickrshow-7.2.min.js , but it only
I have a page with two tabs that I want to be able to
I have a page with two Listviews (with two different data sources). I have
I have an ASPX page with two RequiredFieldValidator and a button to go to

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.