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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:29:33+00:00 2026-05-28T16:29:33+00:00

I am new to action script. I am trying to write a mouse out

  • 0

I am new to action script. I am trying to write a mouse out and over event for separate images. I want to display one image at a time by using mouseover mouse out events that call methods. The problem I am having is that the mouseover/out only displays one image. When I try to mouse over/out on a new image the image does not change, but the output displays a trace which means the event is being called. I am utilizing goToAndStop() method for each of my frames in my movie clip.

Below is one of my methods:

 function onOutTest(e:MouseEvent) {
        trace("onOutTest")
        overlay.visible=false;
    }

 function onOverTest(e:MouseEvent) {
        trace("onOverTest");
        addChild (overlay);
        overlay.gotoAndStop (1);
    }

I would appreciate any help.

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-28T16:29:34+00:00Added an answer on May 28, 2026 at 4:29 pm

    You should change it:

    addChild(overlay);
    
    function onOutTest(e:MouseEvent) {
        trace("onOutTest")
        overlay.visible = false;
    }
    
    function onOverTest(e:MouseEvent) {
        trace("onOverTest");
        overlay.visible = true;
        overlay.gotoAndStop(1);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a simple script that effectively fades out the page content,
I am relatively new to Action Script, and I am trying to make a
I'm completely new to Actionscript and I'm trying to figure out if it's possible
I have the following code in action script 3: async.addResponder(new Responder(result, defaultFaultHandler)); result is
I am trying to write a batch(for win) and a shell script for linux
I am trying to write a VBA script which imports all of the Excel
I am very new to Action Script. I am using Flash Professional CS5 with
I am pretty new to action script 3 (I did a little bit in
I'm trying to write a sign up form using CodeIgniter and want to use
I´m trying to display two movie clips on the scene. I made an action

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.