# Visibility issues

**URL:** https://forum.kirupa.com/t/visibility-issues/43218
**Category:** Uncategorized
**Created:** [February 19, 2004, 11:45pm UTC](https://forum.kirupa.com/t/visibility-issues/43218 "2004-02-19T23:45:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![grennex](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@grennex](https://forum.kirupa.com/u/grennex)
#### Post date: [February 19, 2004, 11:45pm UTC](https://forum.kirupa.com/t/visibility-issues/43218/1 "2004-02-19T23:45:22Z")

</div>

hei hei

i have an external jpg loading into a dynamically created movieclip. next to that jpg i have a dynamic text box which is loading in a ‘caption’ for the photo.

well… i don’t want the caption to show up until after the photo has fully loaded, so i’m doing a little something like this:

on my caption movie clip i have\_

[AS]onClipEvent (load) { \_root.captionHolder.\_visible = false;  
}  
[/AS]

and on my button which loads my external jpgs i have\_

[AS]  
on (release) {  
\_root.backgrounds.getBytesLoaded()  
if (bytesLoaded = bytesTotal) { \_root.captionHolder.\_visible = true;  
}

```
_root.jpg_bar._visible = true;
_root.outline._visible = true;
_root.percent._visible = true;
_root.captionHolder.text = "Grindelwald | Switzerland | 2003, JUNE";
loadMovie("galleryLarge/macrocosm/macro1.jpg", "backgrounds");

```

}[/AS]

SO… it’s probably my newbie/wannabe AS skills which are causing me problems, but for whatever reason, it doesn’t become visible.

help please 🙂

\_grennex

---

<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: [February 20, 2004, 12:12am UTC](https://forum.kirupa.com/t/visibility-issues/43218/2 "2004-02-20T00:12:14Z")

</div>

could you post the whole script or the fla.

---

<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: [February 20, 2004, 12:19am UTC](https://forum.kirupa.com/t/visibility-issues/43218/3 "2004-02-20T00:19:10Z")

</div>

that is the whole script, or atleast the part that is relevant. and my .fla is 15megs, so i don’t think i should post that.

---

<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: [February 20, 2004, 1:00am UTC](https://forum.kirupa.com/t/visibility-issues/43218/4 "2004-02-20T01:00:23Z")

</div>

i think you should change true to 1 and false to 0

jpg.\_visible = 0;

jpg = **“THE LABEL OF THE SIMBOL”**
