daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Jul 11th, 2011 233 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
Top