PDA

View Full Version : Using a control clip with attachMovie


simail
03-09-2002, 10:24 PM
ClipA uses attachMovie to call ClipB. The linkage name is london2.

ClipB has a control ClipC inserted which has instance name control

I'm trying to get ClipC to alter the alpha attribs of ClipB.

The code i've used so far in the ClipC instance with no success is:

onClipEvent(enterFrame) {
with(["london2"+1]) {
_alpha -=20;
}
}

also: _parent["london2"+1]._alpha -= 20; // instead of with line also substituting _root for _parent.

can anyone give me a clue on this
muchas gracias
simail

tg
03-09-2002, 11:45 PM
try

_parent._parent._alpha-=20;

simail
03-09-2002, 11:55 PM
ta tg


Why do the simplest of things come to those who toil and sweat