dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] How do I transition between these movieclips OnRelease? (sample FLA included)

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    4

    [F8] How do I transition between these movieclips OnRelease? (sample FLA included)

    Hi Folks!

    I have a Flash movie containing three Movieclips and three Buttons, one for each clip. As you might imagine, when you click on each button, it unloads the previous clip and plays the new selected movie clip in the centre of the page. See the following FLA file I created (with assistance from Flash built in help):

    http://www.amplexus.com.au/source/ph...ow-allen04.fla

    What I would like to be able to do is make it so that each movieclip transitions into the next one a little nicer when the button is clicked. To be more precise; on the click of a button I would like a black-square to slide down over the currently playing movieclip and when it slides back up to the top again, it reveals the new movieclip playing underneath.

    Q: WHAT IS THE BEST WAY TO DO THIS?

    I have tried two approaches.
    1) The button feeds the appropriate data into the variables in frame1 of the main timeline (on button release). The black-square then slides down in the main movie timeline. At the point where it is totally covering the current movieclip it populates the new attachmovie data and in theory, should be playing the new clip as the black-square returns to the top. See the FLA file below to see what I mean:
    http://www.amplexus.com.au/source/ph...ow-allen06.fla

    2) The main timeline is only one frame long and on button release, a movieclip of the black-square is played over the top of the currently playing movieclip. The black-square movie clip, as with the approach above, has the new clip populated at the same halfway-point and it's covering the movie below it.

    I couldn't get either to work!!

    Can somebody show me how to do this? Or otherwise, tell me the best approach to take (not necessarily one of the two approaches above!). Any help is very much appreciated!!!

    Cheers,

    Chris
    csjacks (AT) hotmail (DOT) com

    PS: I searched these forums and found a couple of fadein/out transition queries, but nothing explaining exactly what I'm after. If I missed one, let me know!
    Last edited by chrisjacks; 10-01-2006 at 08:35 PM. Reason: Title modified to be in the form of a question.

  2. #2
    Can't Re-Member madzigian's Avatar
    Join Date
    Apr 2004
    Location
    Boston MA
    Posts
    2,662
    take a look at this.. this is exactly what you're looking for...

    http://www.kirupa.com/developer/mx/p...transition.htm
    Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
    OS X 10.3.9 || Flash MX04 Pro
    | del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center