# LoadVars problem

**URL:** <https://forum.kirupa.com/t/loadvars-problem/175275>\
**Category:** Uncategorized\
**Created:** [January 13, 2006, 2:39am UTC](https://forum.kirupa.com/t/loadvars-problem/175275 "2006-01-13T02:39:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bubbapuck](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@bubbapuck](https://forum.kirupa.com/u/bubbapuck)\
**Post date:** [January 13, 2006, 2:39am UTC](https://forum.kirupa.com/t/loadvars-problem/175275/1 "2006-01-13T02:39:30Z")

</div>

I am having a problem where my pictures in a slideshow are showing in IE fine but not showing in firefox or netscape. I think it has to do with my loading a text file and putting the variables into arrays. In firefox and Netscape I see the text/pics every once in a while, most of the time it comes up blank. Like it isnt loading quick enough or something. Can anyone help?  
ActionScript Code:  
[LEFT][COLOR=#993300]\_root[/COLOR].[COLOR=#993300]onLoad[/COLOR] = [COLOR=#993300]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR][/LEFT]  
currElement = [COLOR=#000000]0[/COLOR];  
picDataLoad = [COLOR=#993300]new[/COLOR] [COLOR=#993300]LoadVars[/COLOR]COLOR=#000000[/COLOR];  
arrPics = [COLOR=#993300]new[/COLOR] [COLOR=#993300]Array[/COLOR]COLOR=#000000[/COLOR];  
arrText = [COLOR=#993300]new[/COLOR] [COLOR=#993300]Array[/COLOR]COLOR=#000000[/COLOR];  
folder = [COLOR=#0000ff]“images/”[/COLOR]; [COLOR=#f000f0]_// Path where photos are. [/COLOR]  
picDataLoad.[COLOR=#993300]load[/COLOR]COLOR=#000000[/COLOR]; [COLOR=#f000f0]// Load data from text file._[/COLOR]  
picDataLoad.[COLOR=#993300]onLoad[/COLOR] = [COLOR=#993300]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]  
[COLOR=#993300]if[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]  
arrPics = picDataLoad.[COLOR=#000000]pic[/COLOR].[COLOR=#993300]split[/COLOR]COLOR=#000000[/COLOR];  
arrText = picDataLoad.[COLOR=#000000]captions[/COLOR].[COLOR=#993300]split[/COLOR]COLOR=#000000[/COLOR];  
galleryTitle = picDataLoad.[COLOR=#000000]heading[/COLOR];  
galleryText = arrText[COLOR=#000000][[/COLOR][COLOR=#000000]0[/COLOR][COLOR=#000000]][/COLOR];  
picPath = folder+arrPics[COLOR=#000000][[/COLOR][COLOR=#000000]0[/COLOR][COLOR=#000000]][/COLOR];  
[COLOR=#993300]loadMovie[/COLOR][COLOR=#000000]([/COLOR]picPath, [COLOR=#0000ff]"\_root.mcPhoto"[/COLOR][COLOR=#000000])[/COLOR];  
[COLOR=#000000]}[/COLOR]  
[COLOR=#000000]}[/COLOR]  
[COLOR=#000000]}[/COLOR]
