7/24/2011 10:14:21 PM
Title:
testing objects wheather they stick to each other or not
trace (s_mc.body_mc.hitTestObject(c_mc.body_mc));
i was testing this code but i got a kind of error and i dont understand what is this
TypeError: Error #1010: A term is undefined and has no properties.
at Untitled_fla::MainTimeline/frame1()
Shawn
Points: 680
Posts:0
7/26/2011 2:30:09 AM
this means that when the above code is running there is some object which is not available in the timeline. But the code is trying to access it . If the error is in the trace yo mentioned then the missing object could be any of your movieclip (s_mc or body_mc or c_mc is missing )