Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 2nd, 2011  |  syntax: None  |  size: 0.46 KB  |  views: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. on (press) {
  2. startDrag(this);
  3. this.swapDepths(1);
  4. }
  5. on (release) {
  6. stopDrag();
  7. }
  8. onClipEvent (load) {
  9. bottomLeft = false;
  10. }
  11. onClipEvent (enterFrame) {
  12. if (_root.blspot.hitTest(this.BLhit)) {
  13. _root.textbox.text = "hitTest = True";
  14. _root.bottomLeft = true;
  15. }
  16. else {
  17. _root.textbox.text = "";
  18. _root.bottomLeft = false;
  19. }
  20. if (bottomLeft = (false)) {
  21. _root.variableOne.text = "bottomLeft= False";
  22. }
  23. else {
  24. _root.variableOne.text = "bottomLeft= True";
  25. }
  26. }