PDA

View Full Version : MC coordinates


snapple
06-17-2002, 12:27 AM
Thanks to anyone who can help me, my problem :

Is it possible to get a movie clip to play once another MC reaches certain _x + _y coordinates. I have a slider menu, what i would like to do is to get an MC to play inside the menu), once a certain section of the menu reaches a particular point.

Hope this makes sense, i read it through and i am still not sure. If it does not make sense it is because (although my 'friends' will dispute this) - i am actually suffering from some sort of tropical feaver, i feel like sh.it, got headache, blocked up nose etc and i am only using tissues that are wet and heavy, because i am lazy and cannot be arsed to go out and buy a new pack.

Thanks, Snapple :)

Billy T
06-17-2002, 01:05 AM
on the mc that you want to trigger -

onClipEvent(load){
triggered=false;
}
onClipEvent(enterFrame){
if(_root.anotherMC._x==100 && _root.anotherMC._y==200 && triggered==false){
this.play();
triggered=true;
}
}

cheers

snapple
06-17-2002, 03:14 AM
Billy T,

Thanks very much for your speedy response and direct answer.

Much appreciated.

Snapple.

Ricod
06-18-2002, 01:01 PM
*psst !* <whisperd> Snapple, u forgot to mention his cheerfulness ! </whisperd>

Billy T
06-18-2002, 01:06 PM
hehe lol

ya giving me sh!t right? ;)

Ricod
06-19-2002, 10:38 AM
I wouldn't dare give such a thing ! >:D