-
Are u the brightest spark @ flash kit??
Hi
I'm need some help on this one. I am using the following code to load up sub menus from a html text file attached to a button, but I also want to link the sub menu's to individual movie files.
So any ideas on how I do this?
This is the code I am using to get my sub menus from a notepad text file:
var menuVisible;
subMenuItem._visible = 0;
function theMenu (n) {
var newY = 10;
for (var i=0; i<n; i++) {
duplicateMovieClip ("subMenuItem", "select"+i, i);
this["select"+i]._y = newY;
this["select"+i]._visible = 0;
this["select"+i].selectText = _parent.subMenu[i];
newY = newY+20;
}
}
function subMenuVis (b) {
for (i=0; i<_parent.subMenu.length; i++) {
this["select"+i]._visible = b;
}
}
What I don’t know is where to place the code for loading a movie and how to get the submenu buttons to activate the movie/image files for each button whether there be 1 of 10 of them.
Can anyone help me out on this as it is becoming a right mare!!
Cheers
-
Senior Member
You've cross posted this in 3 different forums.
Only post in one place, and have some patience.
The correct forum for Actionscript problems is the Actionscript forum, not here or Scripting and Backend.
Thread Closed.
Sam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|