hi guys, how are you all?
this time i would like to asking about how to create image transitions from the dynamics images that load from external image. i’m using the code bellow to get the images.
import flash.display.BitmapData;
_root.createEmptyMovieClip("temp_header", _root.getNextHighestDepth(), {_alpha:0});
var headerLoader:MovieClipLoader = new MovieClipLoader();
var headerListener:Object = new Object();
headerLoader.addListener(headerListener);
headerListener.onLoadInit = function(header_mc:MovieClip) {
bitmapHeader = new BitmapData(_root.temp_header._width, _root.temp_header._height);
bitmapHeader.draw(header_mc);
_root.temp_header.removeMovieClip();
//_root.createEmptyMovieClip("nav", 8);
bannerHolder.attachBitmap(bitmapHeader, _root.getNextHighestDepth());
};
headerLoader.loadClip("../Images/header.gif", _root.temp_header);
i will repeat those code ten times (because i need ten images to display),and i need transition between the images. so,can someone teach me how to do it?