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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:54:57+00:00 2026-05-22T18:54:57+00:00

I have a 1.swf loads up a another 2.swf, while i doing things inside

  • 0

I have a 1.swf loads up a another 2.swf, while i doing things inside 2.swf like

1.swf is bigger
2.swf is smaller inside

stage.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);

it keep refer to the parent’s stage instead the 2.swf’s stage.

Please help out. thanks

  • 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-22T18:54:58+00:00Added an answer on May 22, 2026 at 6:54 pm

    There is only one stage object, and it is always inherited from the root. Anytime you can access the property “stage” inside a DisplayObject (Sprite,MovieClip) it’s actually just a reference to the root.stage that gets populated whenever that DisplayObject is added to the root stage, or a child of some object that eventually connects to the stage (the display list). The display list is just an object tree of various display objects that are connected to the root stage. Anyway so, about your question, if you just want to listen for events on your loaded swf do something like this:

    var loader:Loader = new Loader();
    
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);
    
    loader.load(new URLRequest("swf2.swf"));
    
    private function loadComplete(e:Event):void
    {
        var swf2Clip:MovieClip = loader.content as MovieClip;
        swfClip.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
    }
    
    private function onMouseOut(e:MouseEvent):void
    {
        //Do something when swf2 is moused out.
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that loads external SWF files and plays them inside a
I have a Flex 4.5.1 application which loads another swf file (as a module
I have Flash application (main_container.swf) that loads another swf file (page1.swf). I want to
I have a swf with loads text into a Sprite that resizes based on
I have a swf that loads images from my server and resizes them to
I have one main parent swf that loads several other swfs. If something happens
I have a situation where my main SWF file loads many external SWF files.
I have a Flash program that loads AS2 and AS3 SWF files dynamically with
I have a Flex 3 SWF in one Amazon S3 bucket, which dynamically loads
I have an AIR application, I use SwfLoader to load another swf file 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.