Все зависит от того, какой переход вы хотите сделать.Для простейшей альфы вы можете воспользоваться механизмом Tweener, как предложил irot, или сделать что-то простое самостоятельно.
Простой : в основном, когда вы нажимаете на изображение, загружаетеследующий (или уже загружен).Запустите прослушиватель enterframe, чтобы загрузить его.Что-то вроде:
// we're assuming that "image2" is the second image and it has an alpha
// of 0.0 and visible of false. "image1" is the first image and currently
// on stage
// the on click handler for the image
private function _onImageClick( e:MouseEvent ):void
{
// add a enter frame to the stage - I'm going to assume you
// have access through this.stage
this.stage.addEventListener( Event.ENTER_FRAME, this._onEnterFrame );
// make our second image visible so we can fade it up
this.image2.visible = true;
}
// called every frame
private function _onEnterFrame( e:Event ):void
{
// image2 is the second image
this.image2.alpha += 0.05; // slow fade
if( this.image2.alpha >= 1.0 )
{
this.image2.alpha = 1.0;
// hide the first image
this.image1.alpha = 0.0;
this.image1.visible = false;
// remove the enter frame event listener
this.stage.removeEventListener( Event.ENTER_FRAME, this._onEnterFrame );
}
}
Немного сложнее : Проверьте класс BitmapData и его функции merge()
или pixelDisolve()
: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapData.html