# Transition Question

**URL:** <https://forum.kirupa.com/t/transition-question/245115>\
**Category:** Uncategorized\
**Created:** [November 26, 2007, 4:32pm UTC](https://forum.kirupa.com/t/transition-question/245115 "2007-11-26T16:32:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zao](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zao/32/141_2.png) [@zao](https://forum.kirupa.com/u/zao)\
**Post date:** [November 26, 2007, 4:32pm UTC](https://forum.kirupa.com/t/transition-question/245115/1 "2007-11-26T16:32:55Z")

</div>

I’ve been using this method for transitions for a long time.

[http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm)

It has always worked for me, even though it is a bit dated, it has always done the trick for me. However, a project I am working on right now requires me to actually “crossfade” each transition. The person I’m helping this with also said that they really didn’t like the idea of multiple .swf files. Sooooo I thought I could use the attachMovie(); function instead. I can get the first movieclip to attach no problem, but after that it seems everything is just getting lost…I really need **urgent** help on this.

```auto
this.onRelease = function() {
		if (_root.currSection == undefined) {
			_root.currSection = "areas";
			_root.container.attachMovie(_root.currSection, _root.currSection+"Section", _root.getNextHighestDepth());
		} else if (_root.currSection != "areas") {
			if (_root.container._currentframe>=_root.container.midframe) {
				_root.currSection = "areas";
				_root.container.play();
			}
		}

```

That’s the code I have attached to my buttons. Like I mentioned, it is loading the first clip.

Please anyone that can help, I would really appreciate this, it’s very urgent. Thank you.
