redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Sunday 09 December 2018 22:01

Ask your IT question here

how to hit a test



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> Adobe Flash programming forum
View previous topic :: View next topic  
Author Message
Jackil
Enthusiastic Coder


Joined: 24 May 2006
Posts: 97
I want to manipulate an MC in the main level by an MC that is within another MC in the main level
Demo_button.onRelease = function() doesnt work, when i release the demo_button nothing happens
Thats inside a 2nd level MC. however the function works great with preview.onRelease, inside the level 0 AS
Var hit = demo_button.hitTest(_level0._xmouse, _level0._ymouse);
Can i do that for a hit test?

Reply with quote
 
jomanda
Enthusiastic Coder


Joined: 19 May 2006
Posts: 70
Location: Germany
If(demo_button.hitTest(_level0._xmouse, _level0._ymouse, true)){//actions}
Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> Adobe Flash programming forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo