This content has been marked as final. Show 5 replies
a movieclip can have, at most, one onEnterFrame handler at any given time. the last one you define will replace the previously defined.1 person found this helpful
to remedy use:
Thank you Kglad,
How would you go about doing this if you had two seprate objects that needed the "Hittest"?
Two seprate movie clips in two seprate movie clip boudries with the same text results?
Is there a reason that you can only have one onclipevent handeler?
there's a reason you can only have one onEnterFrame handler at any one time.1 person found this helpful
of course, it makes no sense to have more than one and is wasteful of cpu resources to have more than one, but the main reason is the flash developers don't allow it and i'm not what all went into their decision.
you can attach onEnterFrame handler to different movieclips and each of them can detect hitTests against any other movieclilps. that's also not as efficient as having one handler to do the testing.
Thank you I understand now.
You deserve $10 for every post you make!!!
Thank you again -Kglad
that sounds good.