# Dynamic text field...text behaving poorly

**URL:** https://forum.kirupa.com/t/dynamic-text-field-text-behaving-poorly/51116
**Category:** Uncategorized
**Created:** [May 10, 2004, 3:48am UTC](https://forum.kirupa.com/t/dynamic-text-field-text-behaving-poorly/51116 "2004-05-10T03:48:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![scorpio\_rising](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@scorpio\_rising](https://forum.kirupa.com/u/scorpio_rising)
#### Post date: [May 10, 2004, 3:48am UTC](https://forum.kirupa.com/t/dynamic-text-field-text-behaving-poorly/51116/1 "2004-05-10T03:48:14Z")

</div>

Hi all,

I tried looking for help with this problem, but couldn’t find anything. It seems a very simple problem to me, so I’m expecting a fairly easy fix.

I’ve got a Dynamic Text input field on my stage (loadTitle). There are two buttons, one does this:

```auto
on (release) {
	this.createEmptyMovieClip("preloader", 1000);
	loader.createEmptyMovieClip("loader", 1);
	loader.loader.loadMovie("design_graphic/misc/midnight.jpg");
	loader._visible = 1;
	preloader.onEnterFrame = function() {
		var l = loader.loader.getBytesLoaded();
		var t = loader.loader.getBytesTotal();
		var getPercent = l/t;
		loadBar._height = getPercent*60;
		loadText = Math.round(getPercent*100)+"%";
		loadTitle = "Cover - Production Package";
	};
}

```

It loads a dynamic jpeg, and changes the title. The other button does this:

```auto
on (release) {
	loader._visible = 0;
	loadTitle = "graphics"
	gotoAndStop("graphics");
}

```

It moves to a seperate sections, hides the jpeg loader, and changes the title to the appropriate section. My problem is that the text doesn’t change when i click on the second button if i have already clicked on the first. Everything loads fine, its just this one little problem. Any help will be greatly appreciated.

😃
