skip to main | skip to sidebar

FlexExCoding

FlexExCoding is about adobe Flex. This blog is for developer , learner , and student.

Thursday, June 11, 2009

Check for hit with other object

In flex it gives function hitTestObject(curObject) that gives boolean value that current object is hit with there parent 's or not.
Here give sample code

var bl:Boolean = parentObject..hitTestObject(current);
if(bl)
Alert.show("object is hit with parent","",4);
Posted by Mohit Chavda at 11:37 PM
Labels: hitTestObject

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Useful Links

  • Flex Blog List and Update information
  • Flash Builder 4 (Anirudhs)
  • Flash Builder 4 (Sujit Reddy)
  • Adobe Labs
  • Online Component Explorer
  • Online Style Creator
  • Flex Blog List and Update information
Page Counter : Free Counters
My Profile : View

Blog Archive

  • ►  2013 (2)
    • ►  July (2)
  • ►  2012 (1)
    • ►  February (1)
  • ►  2010 (6)
    • ►  December (1)
    • ►  November (3)
    • ►  August (1)
    • ►  May (1)
  • ▼  2009 (27)
    • ►  July (2)
    • ▼  June (14)
      • Apply Dynamic Style :
      • Create Custom Menu Using Menu Control
      • Some function for Image Edition
      • Validate in flex
      • Create dynamic tooltip
      • Set dynamic style
      • Call javascript from MXML and viceversa.
      • Using Flash Movie Clips Color Transformation
      • Custom Tooltip
      • Create User define Menu
      • AdobeAIR, Check Net Connection
      • PopUpManager Closing using voGlobal Class
      • Check for hit with other object
      • Dragging , UIComponent
    • ►  May (11)
 

About Me

Ahmedabad, Gujarat, India
View my complete profile