# Text not showing up on initial random load

**URL:** <https://forum.kirupa.com/t/text-not-showing-up-on-initial-random-load/202286>\
**Category:** Uncategorized\
**Created:** [September 29, 2006, 10:09am UTC](https://forum.kirupa.com/t/text-not-showing-up-on-initial-random-load/202286 "2006-09-29T10:09:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lstatic](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lstatic/32/2666_2.png) [@lstatic](https://forum.kirupa.com/u/lstatic)\
**Post date:** [September 29, 2006, 10:09am UTC](https://forum.kirupa.com/t/text-not-showing-up-on-initial-random-load/202286/1 "2006-09-29T10:09:10Z")

</div>

I have a photo viewer with 40 photos that load externaly,

each photo has coordinates displayed in a text field and a link to go with it,

the coordinates and links are all in a text file.

a random photo is loaded at first; init () ; then the user can go forward and backward though the photos.

the coord. text shows up undefined on the first photo then when you click on the next photo is comes up fine.

while the coord. text doesn show up, the hyperlink on that button works fine.

[http://www.lstatic.com/junk/40image/images.swf](http://www.lstatic.com/junk/40image/images.swf)

---

<div class="post-metadata">

**Author:** ![lstatic](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lstatic/32/2666_2.png) [@lstatic](https://forum.kirupa.com/u/lstatic)\
**Post date:** [October 23, 2006, 9:18am UTC](https://forum.kirupa.com/t/text-not-showing-up-on-initial-random-load/202286/2 "2006-10-23T09:18:27Z")

</div>

Can anyone take look at this

---

<div class="post-metadata">

**Author:** ![ThePuzzleMaster](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thepuzzlemaster/32/972_2.png) [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)\
**Post date:** [October 24, 2006, 4:12am UTC](https://forum.kirupa.com/t/text-not-showing-up-on-initial-random-load/202286/3 "2006-10-24T04:12:10Z")

</div>

try adding a setInterval() to the initial functioncall from after the image loads. Just make sure to set a clearInterval() in the actual function. A lot of times this may give just enough of a delay to solve similar problems.

USually 100-250 ms is enough time… See if that does anything…

---

<div class="post-metadata">

**Author:** ![lstatic](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lstatic/32/2666_2.png) [@lstatic](https://forum.kirupa.com/u/lstatic)\
**Post date:** [October 24, 2006, 6:34am UTC](https://forum.kirupa.com/t/text-not-showing-up-on-initial-random-load/202286/4 "2006-10-24T06:34:35Z")

</div>

Cant get the set interval to solve it,

here is the file is any one can take a look at it  
[http://lstatic.com/junk/images.fla](http://lstatic.com/junk/images.fla)
