header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
samar
Points:0
Posts:0

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()



1
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 )


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 1+0 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions