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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:51:21+00:00 2026-05-28T20:51:21+00:00

I have a flash file that has three main buttons on top. When a

  • 0

I have a flash file that has three main buttons on top. When a button is clicked the timeline moves to a that frame (designated with a label) that loads in a particular external SWF corresponding with the button. Those movies are loaded into the same empty movieclip called “presentation” using:

loadMovie("splash.swf","presentation"); 

In one of the external loaded SWF’s there is a tween animation (on first frame using TweenLite), that takes place upon loading the SWF. The issue is that when I click a button and go to another frame (which loads another SWF) mid-way through that animation, and come back to that same page with the animation. The animations starts mid-way as if it was running in the back, such as fading in things that shouldn’t be faded in yet, etc..? Any clue as to why?

EDIT: Maybe this is the cause? The animation code in the first frame of the loaded SWF:

//Animate the bouquet
var bFadeIn:Tween = new Tween(bouquet,"_alpha",Back.easeInOut,0,100,1,true); //106.95

bFadeIn.onMotionFinished = function() {
    for(var i=1; i < 12; i++) {
        TweenLite.to(bouquet["olddot"+i], 1, {_x:96.25, _y:94.05, _alpha: 0, ease:Back.easeInOut});
    }

    TweenLite.to(bouquet.chip, 1, {_alpha:0, delay:1, onComplete:newDotsAnimate}); 
}

function newDotsAnimate() {
    TweenLite.to(bouquet.phone,1, {_alpha:100, ease:Back.easeOut, delay:.3});
    bouquet.phone._visible = true;
    TweenLite.to(bouquet.newdot1, 1, {_alpha:100, _x:127.95, _y:23, ease:Back.easeOut, delay:1});
    TweenLite.to(bouquet.newdot2, 1, {_alpha:100, _x:226.45, _y:101.50, ease:Back.easeOut, delay:1});
    TweenLite.to(bouquet.newdot3, 1, {_alpha:100, _x:188.70, _y:216.60, ease:Back.easeOut, delay:1});
    TweenLite.to(bouquet.newdot4, 1, {_alpha:100, _x:59.95, _y:216.90, ease:Back.easeOut, delay:1});
    TweenLite.to(bouquet.newdot5, 1, {_alpha:100, _x:26.95, _y:100.95, ease:Back.easeOut, delay:1});

    TweenLite.to(bouquet_instructions,1,{_alpha:100}); //fade in the instructions, then fade them out
}
  • 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-28T20:51:22+00:00Added an answer on May 28, 2026 at 8:51 pm

    The animations starts mid-way as if it was running in the back? Any clue as to why?

    Your loaded SWF is going to stop in place where you left it. Going back to the frame showing it will cause it to resume where it left off unless you called gotoAndStop(1). This is because the SWF isn’t being unloaded and reloaded every time you navigate on the timeline.

    Your best bet, if possible, is to create a cleanup() or hide() method for your loaded SWF(s) that gets called whenever the main SWF navigates away from them. That way your loaded SWF content can disable itself (stop playing sounds, stop playing on the timeline, etc). By implementing this function themselves the loaded SWFs take responsibility for their “reset” conditions, and all the loading SWF has to do is call “loadedSWF.cleanup()”.

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

Sidebar

Related Questions

I have a Flash .fla file that has SimpleButton. That SimpleButton is basically a
I have a flash file that displays the server respone on screen. The respone
I have a small flash file that just loads and shows one image scaled
I have this swf (flash) file that provides the json that needs to be
I have 2 actions in a Flash file that I would like to test
I have an projector file/Flash application that I need to turn into an interactive
I have a SWF file that connects to a remote flash server and receives
I have a flash movie that loads images dynamically from an xml file. I
I have a flash applet that I want to grab a remote XML file
I have a Flash slideshow that plays SWFs listed in an XML file. I

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.