# Dissolving into another photo

**URL:** <https://forum.kirupa.com/t/dissolving-into-another-photo/240992>\
**Category:** flash\
**Created:** [October 9, 2007, 8:23am UTC](https://forum.kirupa.com/t/dissolving-into-another-photo/240992 "2007-10-09T08:23:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cturner](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@cturner](https://forum.kirupa.com/u/cturner)\
**Post date:** [October 9, 2007, 8:23am UTC](https://forum.kirupa.com/t/dissolving-into-another-photo/240992/1 "2007-10-09T08:23:02Z")

</div>

I am just wondering how I can make the following code dissolve into another photo? Thanks in advance.

```auto

// the dissolve effect
import mx.transitions.*;
import mx.transitions.easing.*;

var dissolving = {
	type: PixelDissolve,
	direction: 1,
	duration: 2,
	xSections: 60,
	ySections: 40,
	easing: Regular.easeInOut,
	numStrips: 20,
	dimension: 1
};

TransitionManager.start(photo_1, dissolving);
photo_1.onMotionChanged = function() {
	
};

```
