# Help with \_visible property onload

**URL:** <https://forum.kirupa.com/t/help-with--visible-property-onload/152900>\
**Category:** Uncategorized\
**Created:** [June 28, 2005, 2:01am UTC](https://forum.kirupa.com/t/help-with--visible-property-onload/152900 "2005-06-28T02:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gotemgreat](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gotemgreat](https://forum.kirupa.com/u/gotemgreat)\
**Post date:** [June 28, 2005, 2:01am UTC](https://forum.kirupa.com/t/help-with--visible-property-onload/152900/1 "2005-06-28T02:01:35Z")

</div>

Hi All,

I’m hoping someone can help me with this… I have 2 EXTERNAL movies being loaded with initial load of my site into my main.swf, one of which (movingbg.swf) is being loaded with a preloader. The problem is that my other movie (menubar.swf) is loaded before my first movie. I think I should use the \_visible property to solve this and here is what I have so far…

**On second.swf I have:**

onClipEvent (load)  
{  
\_y;  
\_y = 0;  
this.\_visible = false;  
}

**On my preloader located in my main I have:**

this.onEnterFrame = function ()  
{  
var \_l1 = \_root;  
percent = \_l1.empty.percent;  
if (\_l1.empty.percent == 100)  
{  
\_l1.menubar.\_visible = true;  
this.\_visible = false;  
} // end if  
};

I am stuck because I have no idea what to use in the first frame of my main movie. I think I am on the right track here… please let me know if I am not.

Any help is greatly appreciated.
