Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: [flasher] targeting multiple MCs
From: Helen Triolo
Date: Thu, 01 Feb 2001 14:06:35 -0000

If you had c5 also, you could do:

on (rollOver) {
for (i=3; i<12; i+=2;) {
_root["c"+i].gotoAndPlay();
}
}

But since the mc names you have don't follow any numerical sequence, I
can't think of a good way.

Regards,
Helen
-----------------------------------------------------
i-Technica � http://i-technica.com � 301.424.6037
developer resources: http://i-technica.com/whitestuff

James Cutts wrote:
>
> Hi all
>
> Can anyone help me with the correct syntax for targeting multiple MCs
>
> I need a button to target over 30 MCs at a time:
> At the moment I have:
>
> on (rollOver) {
> tellTarget ("c3") {
> play ();
> tellTarget ("c7") {
> play ();
> tellTarget ("c9") {
> play ();
> tellTarget ("c11") {
> play ();
>
> Is there a neater/easier/quicker way to do this?
> Something like:
>
> on (rollOver) {
> tellTarget ("c3" + "c7" + "c9" + "c11") {
> play ();
>



[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]