I am new to flash programming.
Goal: Create a banner that displays 3 different images that changes over time. Every images is changed after a given interval.
Started with Flash MX
Starting with the sample load_images.fla, I duplicated the movie clip holder to have 3 different set of pictures and added a timed interval to update picture. Then, like the samples, the function _root.onEnterFrame handles the blending of the images.
Upgraded to Flash MX 2004
Since I wanted to add better transition to all the pictures loading, I loaded the project in 2004 and added the line
mx.transitions.TransitionManager.start(img1_mc, {type:mx.transitions.Zoom, direction:0, duration:5, easing:mx.transitions.easing.Bounce.easeOut, param1:empty, param2:empty});
in the updatePict, which is called after a given interval. Next, the onEnterFrame will load the images.
But now, the next time the picture get loaded, the orientation changes and its size is decreasing with every iteration. Why??
I have attached the fla and some images as a zip.
Thanks for the help