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.
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”&
second=“dell computers”&
secondb=“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.
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”);
}
I would need each button to say this but loading a different movie clip