I am returning an array of state abbreviations to Flash and I have a map
of the US with each state as a separate button with the instance named
as the state 2-letter abbreviation.  I'm trying to do the following:


for(i=0;i<stateList.length;i++){
stateList[i].enabled = false;
}


If I trace stateList[i], I get the 2 letter abbreviation for the state,
but the loop doesn't disable the button.  Do I have to do something so
that Flash knows that stateList[i] is a variable and not a literal
instance name?


I'm sorry for the OT post, but I know that many of you also deal with
Flash and could give me a faster answer than trying to find a solid
flash board or something to give me some info.  Thanks.


John Burns
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to