Line 19: A function is created to split up the top image into small segments.
Line 20 - 21: Two FOR loops are used to create the rows and collumns of the segments
Line 22: With each iteration in the loop, an empty MC is attached to the "top" MC, and temporaily assigned to the variable "b". Each empty MC will hold a segment of the image.
Line 23: Each segment is given an image property, which is used to store an instance of the "allImages" MC.
Line 24: The instance of the allImages MC is told to go frame 3. You can alter this number to whatever image you want to start fading first, but make sure it's not the same as the one in the variable "bottomNum", which is the frame number for the bottom image.
Line 25: The segment is then given a propert called "mask", which is used to attach an instace of the "mask" MC.
Line 26: The "mask" MC is then set to mask the image
|