# Caption bug after loading a file

**URL:** <https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389>\
**Category:** flash\
**Created:** [September 6, 2004, 10:22am UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389 "2004-09-06T10:22:50Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ubik](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@Ubik](https://forum.kirupa.com/u/Ubik)\
**Post date:** [September 6, 2004, 10:22am UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/1 "2004-09-06T10:22:50Z")

</div>

Can someone take a look at this [www.emma.artefakt.be](http://www.emma.artefakt.be) , look at the flag button, when you rollover the caption works but after you click any button, the caption appears at the place where you clicked before ??!!? :h: Could you help ??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 10:48am UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/2 "2004-09-06T10:48:41Z")

</div>

yep;)

Post a .fla?

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 10:53am UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/3 "2004-09-06T10:53:01Z")

</div>

Yep, thanks, forgot that, here you go [www.artefakt.be/main.zip](http://www.artefakt.be/main.zip)

😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 11:30am UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/4 "2004-09-06T11:30:07Z")

</div>

Weird, I opened and tested your fla and it works?? Even if I make a swf ‘home.swf’?

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 1:09pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/5 "2004-09-06T13:09:15Z")

</div>

uh :h: I just tested it here and it doesn’t work, can you see it online ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 1:22pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/6 "2004-09-06T13:22:31Z")

</div>

Ubik - you got an interesting one here!

Like you say - works offline, but I see that your online version holds the caption elsewhere and not on the flag rollover.

Will have a look and see if I can help…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 1:25pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/7 "2004-09-06T13:25:40Z")

</div>

It doesn’t work offline for me ! Strange it works for you ?!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 1:58pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/8 "2004-09-06T13:58:48Z")

</div>

I think it has to do with the home.swf you load. You have a scrollbar there with a drag function I suppose and by default Flash can only drag one object at a time (for multiple draggable objects check senoculars prototype at [http://proto.layer51.com/d.aspx?f=845](http://proto.layer51.com/d.aspx?f=845)…)

I think this will work: remove the startDrag in the caption layer and change the code on the caption like this

```auto
onClipEvent (enterFrame) {
	_x = _root._xmouse;
	_y = _root._ymouse;
	if (_parent.x == 1) {
		this._alpha = 100;
	} else {
		this._alpha = 0;
	}
}

```

Hope that helps;)

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 2:18pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/9 "2004-09-06T14:18:45Z")

</div>

oh oh ! Nice one scotty ! 😉  
Indeed i have my scrollbar in home that works with startdrag and your trick did it !! You’re the king once again :thumb:  
Thanks,

Ubik

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 2:59pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/10 "2004-09-06T14:59:12Z")

</div>

no problem:thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 3:18pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/11 "2004-09-06T15:18:09Z")

</div>

@Ubik - glad scotty was able to sort it 🙂

@scotty - so… when did love strike you? And why? 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 3:24pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/12 "2004-09-06T15:24:03Z")

</div>

Hey Cello,

two weeks ago…:love:  
and I still don’t know why, but :love:she:love: sure is great:lol:

scotty:love:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 6, 2004, 3:27pm UTC](https://forum.kirupa.com/t/caption-bug-after-loading-a-file/63389/13 "2004-09-06T15:27:47Z")

</div>

All the best then scotty - am pleased for you; there’s no better feeling than :love:
