daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Jul 11th, 2011 252 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if (RegisterRed.hitTestPoint(mouseX,mouseY,true)) {
  2.                         addChild(RegisterGreen);
  3.                         RegisterGreen.x= RegisterRed.x
  4.                         RegisterGreen.y= RegisterRed.y - 1
  5.                         RegGreen = 1
  6.         }
  7.         if (RegisterRed.hitTestPoint(mouseX,mouseY,false)) {
  8.                 if (RegGreen == 1) {
  9.                         removeChild(RegisterGreen);
  10.                         RegGreen = 0
  11.                 }
  12.         }
  13.  
  14.  
  15.  
  16. ^Just a snippit. Everything else works. The issue is some kinda loop thingy that's making this script do nothing. I'm sure you'll notice it.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top