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

  • Home
  • SEARCH
  • 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 6870241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:39:34+00:00 2026-05-27T03:39:34+00:00

I have 2 frames and in frame 1 the target MC color is being

  • 0

I have 2 frames and in frame 1 the target MC color is being changed to RED. After that i go to frame 2. If i came back to frame 1 the MC doesn’t retain the RED color. What i do wrong. Please see the pictures.
http://www.picz.ro/index.php?id=ec122060763b0fd744d2499882d4ae1f and http://www.picz.ro/index.php?id=00e207dfad35e7e414ed3236a1f79448

  • 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-27T03:39:35+00:00Added an answer on May 27, 2026 at 3:39 am

    eliminating frames, you can do it with code like this:

    import flash.geom.ColorTransform;
    import flash.events.MouseEvent;
    
    var newColorTransform:ColorTransform;
    var myMCTable:Array = [myMC1,myMC2,myMC3,myMC4,myMC5];
    
    for (var i:int = 0; i < myMCTable.length; i++)
    {
        myMCTable[i].doubleClickEnabled = true;
        myMCTable[i].addEventListener(MouseEvent.DOUBLE_CLICK, changeColor);
    }
    
    function changeColor(e:MouseEvent):void
    {
        newColorTransform = (e.target).transform.colorTransform;
        newColorTransform.color = 0xFF0000;
        (e.target).transform.colorTransform = newColorTransform;
    }
    prevNextBtn.txt.mouseEnabled = false;
    prevNextBtn.addEventListener(MouseEvent.CLICK, prevNext);
    
    function prevNext(e:MouseEvent):void
    {
        var i:int;
        if (e.target.txt.text == "next")
        {
            e.target.txt.text = "prev";
            for (i = 0; i < myMCTable.length; i++)
            {
                myMCTable[i].visible = false;
            }
        }
        else
        {
            e.target.txt.text = "next";
            for (i = 0; i < myMCTable.length; i++)
            {
                myMCTable[i].visible = true;
            }
        }
    }
    

    all that you need to change besides the code, is now you have just one button with a text field in it called “txt” and the label just changes

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

Sidebar

Related Questions

I have a frame that once it's minimized, I'd like to minimize other frames
I have this code header(location:login_success.php); The frame target code that I used in html
We have some web pages which have two frames, with one frame in the
Suppose I have one html page with frames. The left frame is simply a
In our product, we have frames that are basically three inheritance levels down from
I have a bowling web application that allows pretty detailed frame-by-frame information entry. One
Do older iPods and iPhones have a frame rate of 60fps? I'm finding that
I have a function that calculates the next frame in an animation of various
I have a legacy web page made with frames (yah, I know). One frame
I have a video sequence that I'd like to skip to specific frames at

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.