Guest User

Untitled

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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×