Hi all,
I need some help, is late and am knackered...
I have a menu system which I am using across a HTML site. within the HTML pages I am going to set a variable according to the section you are in SEC1, SEC2...
This variable will be called into flash and used to define "menuSEL" in the code below... I then want to use this variable to determine a movie clips alpha level... How can I use the variable to declare the instance name? - the last line of code is wrong, but where is the mistake?
Code:
numButtonsSEL = 5;
for (i=1; i<numButtonsSEL+1; i++) {
this["SEC"+i].num=i
this["SEC"+i]._alpha = 0;}
var menuSEL = "SEC1"
trace (menuSEL)
this.menuSEL._alpha=100;
Thanks in advance
Dan