# Help me change this code

**URL:** <https://forum.kirupa.com/t/help-me-change-this-code/167314>\
**Category:** flash\
**Created:** [October 27, 2005, 5:39am UTC](https://forum.kirupa.com/t/help-me-change-this-code/167314 "2005-10-27T05:39:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheMaxExp](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@TheMaxExp](https://forum.kirupa.com/u/TheMaxExp)\
**Post date:** [October 27, 2005, 5:39am UTC](https://forum.kirupa.com/t/help-me-change-this-code/167314/1 "2005-10-27T05:39:30Z")

</div>

I have this code, that works if its just \_root.contents.loadMovie (“About.swf”);. But if its this code, it doesnt work. Can any one help me?

```auto
on (press) {
	startDrag(this);
}
on (release) {
	stopDrag();
	if (eval(this._droptarget) == _root.zone) {
		this._visible = 1;
		this._x = 0;
		this._y = 0;
		if (_root.currMovie == undefined) {
			_root.currMovie = "About";
			contents.loadMovie("About.swf");
		} else if (_root.currMovie != "About") {
			if (contents._currentframe>=contents.midframe) {
				_root.currMovie = "About";
				contents.play();
			}
		}
	} else {
		this._x = 0;
		this._y = 0;
	}
}

```
