Frame 1
if (_framesloaded >= _totalframes) {
gotoAndStop (2);
}
Frame 2
function ShowNextClothesFrame() {
if (0 < _root._nClothesFrame) {
_root.Instructions.gotoAndStop("None");
}
_root._nClothesFrame++;
if (5 < _root._nClothesFrame) {
_root._nClothesFrame = 1;
}
_root.TheImage.ClothesButton.gotoAndStop(_root._nClothesFrame);
_root.TheImage.Clothes1.gotoAndStop(_root._nClothesFrame);
_root.TheImage.Clothes2.gotoAndStop(_root._nClothesFrame);
_root.TheImage.Clothes3.gotoAndStop(_root._nClothesFrame);
_root.DressButton.gotoAndStop(_root._nClothesFrame);
_root.ColourButton.gotoAndStop(_root._nClothesFrame);
}
function ShowNextColour() {
if (0 < _root._nClothesColour) {
_root.Instructions.gotoAndStop("None");
}
_root._nClothesColour++;
if (4 < _root._nClothesColour) {
_root._nClothesColour = 1;
}
if (_root._nClothesColour == 1) {
_root._transformClothes.ra = 15;
_root._transformClothes.rb = 0;
_root._transformClothes.ga = 0;
_root._transformClothes.gb = 0;
_root._transformClothes.ba = 60;
_root._transformClothes.bb = 0;
_root._transformClothes.aa = 100;
_root._transformClothes.ab = 0;
}
if (_root._nClothesColour == 2) {
_root._transformClothes.ra = 100;
_root._transformClothes.rb = 0;
_root._transformClothes.ga = 0;
_root._transformClothes.gb = 0;
_root._transformClothes.ba = 0;
_root._transformClothes.bb = 0;
_root._transformClothes.aa = 70;
_root._transformClothes.ab = 0;
}
if (_root._nClothesColour == 3) {
_root._transformClothes.ra = 0;
_root._transformClothes.rb = 0;
_root._transformClothes.ga = 0;
_root._transformClothes.gb = 0;
_root._transformClothes.ba = 0;
_root._transformClothes.bb = 0;
_root._transformClothes.aa = 100;
_root._transformClothes.ab = 0;
}
if (_root._nClothesColour == 4) {
_root._transformClothes.ra = 100;
_root._transformClothes.rb = 0;
_root._transformClothes.ga = 100;
_root._transformClothes.gb = 0;
_root._transformClothes.ba = 100;
_root._transformClothes.bb = 0;
_root._transformClothes.aa = 100;
_root._transformClothes.ab = 0;
}
_root._colourClothes1.setTransform(_root._transformClothes);
_root._colourClothes2.setTransform(_root._transformClothes);
_root._colourClothes3.setTransform(_root._transformClothes);
}
if (!_bInitialized) {
_root._nFullWidth = _root.TheImage._width;
_root._nFullHeight = _root.TheImage._height;
_root._nFullX = _root.TheImage._x;
_root._nFullY = _root.TheImage._y;
_root.Instructions.gotoAndStop("Clothes");
_root._nClothesFrame = 0;
_root._nClothesColour = 0;
_root._transformClothes = new Object();
_root._colourClothes1 = new Color(_root.TheImage.Clothes1);
_root._colourClothes2 = new Color(_root.TheImage.Clothes2);
_root._colourClothes3 = new Color(_root.TheImage.Clothes3);
ShowNextClothesFrame();
ShowNextColour();
_bInitialized = true;
} else if (!_bAgain) {
_root._nClothesFrame = 0;
_root._nClothesColour = 0;
ShowNextClothesFrame();
ShowNextColour();
_bAgain = true;
}
Instance of Symbol 41 MovieClip "TheImage" in Frame 2
onClipEvent (mouseDown) {
_root.Instructions.gotoAndStop("Empty");
if ((_root._nFullHeight + 1) < _root.TheImage._height) {
var pBounds = _root.TheImage.getBounds(_root);
var nLeft = ((_root._nFullWidth + _root.TheImage._x) - pBounds.xMax);
var nRight = (_root.TheImage._x - pBounds.xMin);
var nTop = ((_root._nFullHeight + _root.TheImage._y) - pBounds.yMax);
var nBottom = (_root.TheImage._y - pBounds.yMin);
_root.Instructions._visible = false;
startDrag ("", false, nLeft, nTop, nRight, nBottom);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 2
stop();
Symbol 7 MovieClip Frame 5
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 2
stop();
Symbol 12 MovieClip Frame 3
stop();
Symbol 12 MovieClip Frame 4
stop();
Symbol 12 MovieClip Frame 5
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
stop();
Symbol 23 MovieClip Frame 3
stop();
Symbol 26 Button
on (press) {
_root.ShowNextClothesFrame();
}
Symbol 28 Button
on (press) {
_root.ShowNextClothesFrame();
}
Symbol 30 Button
on (press) {
_root.ShowNextClothesFrame();
}
Symbol 32 Button
on (press) {
_root.ShowNextClothesFrame();
}
Symbol 40 Button
on (release) {
getURL ("http://us.vclart.net/vcl/Artists/Blue-Streak/", "_blank");
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
stop();
Symbol 49 Button
on (release) {
_root.TheImage._height = _root.TheImage._height * 3;
_root.TheImage._xscale = _root.TheImage._yscale;
_root.Instructions.gotoAndStop("Drag");
gotoAndStop (2);
}
Symbol 52 Button
on (release) {
_root.TheImage._width = _root._nFullWidth;
_root.TheImage._height = _root._nFullHeight;
_root.TheImage._x = _root._nFullX;
_root.TheImage._y = _root._nFullY;
_root.Instructions._visible = false;
gotoAndStop (1);
}
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 56 Button
on (release) {
_root.ShowNextClothesFrame();
}
Symbol 59 Button
on (release) {
_root.ShowNextClothesFrame();
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 5
stop();
Symbol 63 Button
on (release) {
_root.ShowNextColour();
}
Symbol 64 MovieClip Frame 1
stop();