Need help with Flash MX 2004 - before and after tweens

Posted on 2004-11-18
Last Modified: 2011-09-20
I am trying to build a movie that is like the one on trading spaces before and after gallery. see url below:

It plays throught the transformations,but then when it gets back to the beginning, it takes an extran click to make it start again.
For example, when I hit the transfrom button the first time, it plays from frame 1 to frame frame 10, then when I hit the transfrom button again it plays from frame 11 to frame 20. Then it is supposed to go back to frame 1 and start over, so that when I hit the button at frame one it is suppose to play to frame 10. BUT what is happening is that when it gets back to frame 1, I click the button and nothing happens, then when I click it again it plays to frame 10. I'm not sure what is going on.

If you can email me when you are ready to work on this, I can send you my flash file so you can look at the code that I have created. I have been trying to solve this for 2 days. Any help is greatly appreciated!!

Thank you,
Amy McDonald
Question by:amymcdo3
    LVL 2

    Expert Comment

    Just a quick guess, but it sounds like you need an action on frame 20 that tells it to go to frame 1 and stop (unless you already have that in place).
    LVL 8

    Accepted Solution

    Are you sure that at the end of 1 sequence that the movie actually does go back to frame 1, it doesnt seem like this is happening.  what is more likely is that it stops playing at frame 20, then when you click the button it goes to frame one, and when you click it agian then it plays correctly from frame 1 to 10.

    Make sure your code dose something as follows:
    - Frame 1: Stop playing. When button is clicked then play.
    - Frame 10: Stop playing.  When button is clicked then continue play.
    - Frame 20: We've reached the end.  If button is clicked then goto frame 2 and play.
    Thats one way around the problem, but there are a few other ways to do these kind of thinks.  It might be good if you could post the code here so we could talk a look.
    Since EE doesnt really allow members to participate on a question over email, so it might be easier for you to upload the flash file to some webspace you might have so we could download it?

    Author Comment

    I changed the action script on the last button to go to frame 2 instead of frame 1 and it works great!

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    I've been using this technique since Adobe CS2, and it should work with any version of Illustrator that includes the appearance panel. In this tutorial we'll create a button using the appearance panel in Adobe Illustrator, and then save it as a r…
    Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
    Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now