PDA

View Full Version : listing objects (FMX)


Bieg
08-21-2003, 08:15 AM
Hi folks,...

Got this really easy ( i presume) question:

I ve got a few items (1,2,etc) and I want them with 1 single mouse press turned invisible.

The thing is : HOW do i list in AS for MX using set Property?



Thnx for helpin' me out!


BIEG

pellepiano
08-21-2003, 08:54 AM
You use a loop.

for(i=1;i<100;i++){
this["movie"+i]._visible=0;
}

...will turn 100 movieclips named movie1 movie2 etc invisible.