This should do the trick I believe:
if(rw1.hitTest(rw2._x,rw2._y,true)) {
gotoNextFrame();
}
- Peter
[quoted text, click to view] 3tBSI wrote:
> I have a red wire with an instance name of: rw1
> I have a green wire with an instance name of: gw2
> I want it so when the red touches the green wire, it goes to the next frame
> I have tried Hittest actionscript with them but it wont work.
> can someone give me the AS.