# This is a difficult one

**URL:** <https://forum.kirupa.com/t/this-is-a-difficult-one/17852>\
**Category:** Uncategorized\
**Created:** [April 10, 2003, 1:02am UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852 "2003-04-10T01:02:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zephn](https://avatars.discourse-cdn.com/v4/letter/z/5f8ce5/32.png) [@zephn](https://forum.kirupa.com/u/zephn)\
**Post date:** [April 10, 2003, 1:02am UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/1 "2003-04-10T01:02:58Z")

</div>

Please view what I am attempting to accomplish first so this explanation makes sence.  
[http://www.ThisislondonClub.com/data/thisislondon/index.htm](http://www.ThisislondonClub.com/data/thisislondon/index.htm)

please visit the gallery section and see how the scroll menu works. When you click on a button I want it to load a movie into the frame next to it. I have preloaded a movie clip there so you can see what i mean.  
However when I use this menu I found at flash kits it only works to open a new window and load the movie clip into it. Try clicking a button to see the results.  
The .fla is attached if you wish to see what i’m working with. I am not stuck with this menu if anyone can suggest a better one but i need it to do one important thing.  
I need it to be infinatly expandable with links. Every week I add a new link to it and I don’t want to have to go nuts creating new buttons from scratch.

The challenge is on  
Thanks  
Andrew

---

<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:** [April 10, 2003, 3:36am UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/2 "2003-04-10T03:36:50Z")

</div>

bump

---

<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:** [April 10, 2003, 3:51am UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/3 "2003-04-10T03:51:35Z")

</div>

Hi Zephn.

Im really tired, so I did not want to answer your question fearing that I may say something that was not coherent. However, it sounds like you need some help.

All you need is the list box component, and the LoadVars command.

Im too tired to code but here’s the basic idea.

Load variables from a file (like a text file) like  
first=“apple computers”&  
firstb=“[http://www.apple.com](http://www.apple.com)”&  
second=“dell computers”&  
secondb=“[http://www.dell.com](http://www.dell.com)”

you get the idea.  
Basically, you will load these as the data and label properties of your list box. This will give you an ever growing list of sites with their respective hyperlinks.

The listbox functions are pretty simple, just check out the help. Also, I would search the forum for caching variables (or something like that), for a like that will show you how to avoid caching of text files in the browser.

Good luck…

---

<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:** [April 10, 2003, 3:52am UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/4 "2003-04-10T03:52:33Z")

</div>

I’ll work with this and see what i get thanks man

---

<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:** [April 10, 2003, 3:58am UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/5 "2003-04-10T03:58:15Z")

</div>

😉

---

<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:** [April 10, 2003, 12:24pm UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/6 "2003-04-10T12:24:26Z")

</div>

actually i was looking at what your script says andit does exactly what mine does now… goes to another link. What I need is a button that does actionscript which loads an external movieclip into my current movie clip.  
for example  
on (press) {  
loadmovie (“[http://www.zephn.com/gallery1.swf","container](http://www.zephn.com/gallery1.swf%22,%22container)”);  
}  
I would need each button to say this but loading a different movie clip

---

<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:** [April 10, 2003, 4:35pm UTC](https://forum.kirupa.com/t/this-is-a-difficult-one/17852/7 "2003-04-10T16:35:29Z")

</div>

So does anyone else who might be reading this post have any ideas on how to go about creating a menu like this?  
Andrew
