::Flash ?uestion

Out of context: Reply #7

  • Started
  • Last post
  • 11 Responses
  • unfittoprint0

    I'm just going to put here the basics, you can try to figure out the rest...

    count=1
    this.createEmptyMovieClip("movie...

    this.createEmptyMovieClip("movie...

    movie2._alpha=0

    button1.onRelease=function(){
    this["movie"+count].loadmovie("f...

    count=(count==1)?2:1

    fade();

    }

    the fade function its an onEnterFrame event that checks if the movie is loaded in the invisible movie and if it is, start looping until its _alpha is 100 and its opposite movie is 0 (or vice versa).

    good luck.

View thread