Can Some one help me with my hit test?

  • seathe
  • Born
  • Born
  • No Avatar
  • Joined: Jun 06, 2007
  • Posts: 1
  • Status: Offline

Post June 6th, 2007, 9:53 am

im making a game for my computer class in flash and i need to figure out how to make a hit test that will make me go to a diffrent scene when the player touches it , i have tryed many time to figure it out lol, if any one could help me out or dirrect me to any tutorials that would help me out it would be greatly appericated. :D

Thanks
----- Seathe 8)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 6th, 2007, 9:53 am

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post June 7th, 2007, 6:26 am

You can try this code for a button object ...
Code: [ Select ]
on(press) {
_root.gotoAndPlay("scene2");
}
  1. on(press) {
  2. _root.gotoAndPlay("scene2");
  3. }
Let's leave all our *plum* where it is and go live in the jungle ...

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 42 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.