I’m using Flash MX 2004.
// function to automate the hit tests
function hitClip (aCPlaceNum, loopNum, loopName, aCButtonNum) {
aCPlaceNum.gotoAndStop(5);
loopNum.attachSound(loopName);
loopName.gotoAndStop(5);
aCButtonNum = loopName;
}
ambPho.onRelease = function () {
if ( ambPho.hitTest(aCPlace01) == true ) {
hitClip ("aCPlace01", "loop01", "ambientPhotek", "aCButton01");
}
}
Can you please tell me why this isn’t working? It takes me 10 minutes to test the movie every time and it’s taking me forever to fix things.
Do I have to do something else with the variable names I’m using or something?
Thanks for your help.