Advertisement
Guest User

Untitled

a guest
Apr 16th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*@Designed by Ryan
  2. You are not permitted to use parts of this file without permission from the owner
  3. Contact Ryanz on Rile5 */
  4. //@Slushy.us
  5. //@2015
  6. stop();
  7. var SHELL = _global.getCurrentShell();
  8. var INTERFACE = _level0.CLIENT.PENGUIN.SHELL;
  9. var API = _global.getCurrentApi();
  10. var AIRTOWER = _global.getCurrentAirtower();
  11. var _local1 = new Object();
  12. _local1.INTERFACE = _global.getCurrentInterface();
  13.  
  14. var MyID = INTERFACE.getMyPlayerId();
  15. var Name = INTERFACE.getMyPlayerNickname();
  16. var GETOBJ = INTERFACE.getPlayerObjectById(MyID);
  17.  
  18. var head = GETOBJ.head;
  19. var face = GETOBJ.face;
  20. var neck = GETOBJ.neck;
  21. var body = GETOBJ.body;
  22. var hand = GETOBJ.hand;
  23. var feet = GETOBJ.feet;
  24. var colour = GETOBJ.colour_id;
  25. var colourhex = INTERFACE.getPlayerHexFromId(colour);
  26. var colour_id = colour;
  27. var head_id = head;
  28. var face_id = face;
  29. var neck_id = neck;
  30. var body_id = body;
  31. var hand_id = hand;
  32. var feet_id = feet;
  33. var photo_id = null;
  34. var hex_id = colourhex;
  35. var head_path = ("http://play.slushy.us/v2/content/global/clothing/paper/" + head_id + ".swf");
  36. var face_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + face_id + ".swf";
  37. var neck_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + neck_id + ".swf";
  38. var body_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + body_id + ".swf";
  39. var hand_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + hand_id + ".swf";
  40. var feet_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + feet_id + ".swf";
  41. var photo_path = "http://play.slushy.us/v2/content/global/clothing/photos/" + photo_id + ".swf";
  42. function setColourFromHex(mc, hex)
  43. {
  44.     var _loc1 = mc.transform.colorTransform;
  45.     _loc1.rgb = Number(hex);
  46.     mc.transform.colorTransform = _loc1;
  47. } // End of the function
  48. function closeManager()
  49. {
  50.     _root.close();
  51.     INTERFACE.closeContent();
  52. }
  53. setColourFromHex(doll_mc.player_mc.body, hex_id);
  54. doll_mc.player_mc.head_mc.loadMovie(head_path);
  55. doll_mc.player_mc.face_mc.loadMovie(face_path);
  56. doll_mc.player_mc.neck_mc.loadMovie(neck_path);
  57. doll_mc.player_mc.body_mc.loadMovie(body_path);
  58. doll_mc.player_mc.hand_mc.loadMovie(hand_path);
  59. doll_mc.player_mc.feet_mc.loadMovie(feet_path);
  60. doll_mc.player_mc.photo_mc.loadMovie(photo_path);
  61.  
  62. this.gameplay_tab.onRelease = function() {
  63.     gotoAndStop(1);
  64. };
  65. this.transform_tab.onRelease = function() {
  66.     gotoAndStop(2);
  67. };
  68. this.beak_tab.onRelease = function() {
  69.     gotoAndStop(3);
  70. };
  71. this.status_tab.onRelease = function() {
  72.     gotoAndStop(4);
  73. };
  74. this.prompt_mc.close_btn.onRelease = function() {
  75.     closeManager();
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement