Actionscript help

  • Jummm
  • Novice
  • Novice
  • Jummm
  • Posts: 17

Post 3+ Months Ago

onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
MCmonvie.gotoAndPlay(2);
}
}


I need to to so when say, "player" touchs a computer, it goes and plays on frame 2 of MCmonvie, the script is on a movieclip, or graphic, andone?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

if your code doesnt work, then try this:
Code: [ Select ]
onClipEvent (enterFrame) {

  if (this.hitTest(_root.player)) {
    _root.MCmonvie.gotoAndPlay(2);
  }
}
  1. onClipEvent (enterFrame) {
  2.   if (this.hitTest(_root.player)) {
  3.     _root.MCmonvie.gotoAndPlay(2);
  4.   }
  5. }

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 14 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.