Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function SetImageStack()
- {
- if(arguments.length == 0 || arguments.length == 1 && arguments[0] == "")
- {
- this.image._visible = false;
- this.headImage._visible = false;
- this.headImageBars._visible = false;
- this.WeaponImageSet._visible = false;
- }
- else if(arguments.length == 1)
- {
- this.image.loadImage(arguments[0]);
- this.image.setImageSize(560,315);
- this.image._visible = true;
- this.imageStroke._visible = true;
- this.imageStroke._hideOnLoad = false;
- this.headImage._visible = false;
- this.headImageBars._visible = false;
- this.WeaponImageSet._visible = false;
- }
- else
- {
- this.image._visible = false;
- this.headImage._visible = false;
- this.headImageBars._visible = false;
- this.imageStroke._visible = true;
- this.imageStroke._hideOnLoad = false;
- this.WeaponImageSet._visible = true;
- this.WeaponImageSet.SetWeaponImages(arguments);
- this.WeaponImageSet._xscale = 180;
- this.WeaponImageSet._yscale = 180;
- }
- this.image._y = 0;
- this.imageFlash.gotoAndPlay("_animateIn");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement