Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*@Designed by Ryan
- You are not permitted to use parts of this file without permission from the owner
- Contact Ryanz on Rile5 */
- //@Slushy.us
- //@2015
- stop();
- var SHELL = _global.getCurrentShell();
- var INTERFACE = _level0.CLIENT.PENGUIN.SHELL;
- var API = _global.getCurrentApi();
- var AIRTOWER = _global.getCurrentAirtower();
- var _local1 = new Object();
- _local1.INTERFACE = _global.getCurrentInterface();
- var MyID = INTERFACE.getMyPlayerId();
- var Name = INTERFACE.getMyPlayerNickname();
- var GETOBJ = INTERFACE.getPlayerObjectById(MyID);
- var head = GETOBJ.head;
- var face = GETOBJ.face;
- var neck = GETOBJ.neck;
- var body = GETOBJ.body;
- var hand = GETOBJ.hand;
- var feet = GETOBJ.feet;
- var colour = GETOBJ.colour_id;
- var colourhex = INTERFACE.getPlayerHexFromId(colour);
- var colour_id = colour;
- var head_id = head;
- var face_id = face;
- var neck_id = neck;
- var body_id = body;
- var hand_id = hand;
- var feet_id = feet;
- var photo_id = null;
- var hex_id = colourhex;
- var head_path = ("http://play.slushy.us/v2/content/global/clothing/paper/" + head_id + ".swf");
- var face_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + face_id + ".swf";
- var neck_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + neck_id + ".swf";
- var body_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + body_id + ".swf";
- var hand_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + hand_id + ".swf";
- var feet_path = "http://play.slushy.us/v2/content/global/clothing/paper/" + feet_id + ".swf";
- var photo_path = "http://play.slushy.us/v2/content/global/clothing/photos/" + photo_id + ".swf";
- function setColourFromHex(mc, hex)
- {
- var _loc1 = mc.transform.colorTransform;
- _loc1.rgb = Number(hex);
- mc.transform.colorTransform = _loc1;
- } // End of the function
- function closeManager()
- {
- _root.close();
- INTERFACE.closeContent();
- }
- setColourFromHex(doll_mc.player_mc.body, hex_id);
- doll_mc.player_mc.head_mc.loadMovie(head_path);
- doll_mc.player_mc.face_mc.loadMovie(face_path);
- doll_mc.player_mc.neck_mc.loadMovie(neck_path);
- doll_mc.player_mc.body_mc.loadMovie(body_path);
- doll_mc.player_mc.hand_mc.loadMovie(hand_path);
- doll_mc.player_mc.feet_mc.loadMovie(feet_path);
- doll_mc.player_mc.photo_mc.loadMovie(photo_path);
- this.gameplay_tab.onRelease = function() {
- gotoAndStop(1);
- };
- this.transform_tab.onRelease = function() {
- gotoAndStop(2);
- };
- this.beak_tab.onRelease = function() {
- gotoAndStop(3);
- };
- this.status_tab.onRelease = function() {
- gotoAndStop(4);
- };
- this.prompt_mc.close_btn.onRelease = function() {
- closeManager();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement