STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

A
Very
Merry Christmas!


<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/30487763?noj=FRM30487763-23DC" width="1" height="1"></div>

Stick Animator v2.swf

This is the info page for
Flash #36165

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Frame 1
Stage.showMenu = false; Button.prototype.useHandCursor = false;
Instance of Symbol 17 MovieClip in Frame 1
onClipEvent (load) { _x = 180; _y = 155; }
Frame 2
function imprt(SAcode) { stopAnim(); debug("Importing animation"); var _local7; var _local6; var _local5; var _local3; var _local2; var _local4; var _local11; var _local8; var _local9; _local7 = SAcode.split("-"); fps = Number(_local7[0]); _local3 = 0; while (_local3 < Joints.length) { _local2 = _root[Joints[_local3] + "f"]; _local2.splice(0, _local2.length); _local3++; } Lengths.splice(0, Lengths.length); _local3 = 0; while (_local3 < _local7.length) { if (_local3 > 0) { _local4 = _root[Joints[_local3 - 1] + "f"]; _local6 = _local7[_local3].split("|"); _local2 = 0; while (_local2 < _local6.length) { _local5 = _local6[_local2].split(","); _local4[_local2] = new Array(); _local4[_local2][0] = Number(_local5[0]); _local4[_local2][1] = Number(_local5[1]); _local2++; } } _local3++; } _local8 = _local6.length - 1; _local9 = selectedTool; selectedTool = Tools[1]; _local3 = 0; while (_local3 <= _local8) { frameNum = _local3; Lengths[frameNum] = new Array(); generateFrame(_local3); stretchJoints(); _local3++; } selectedTool = _local9; maxFrames = (frameNum = _local8); generateFrame(frameNum); } function exportForSA(toggleSymbols) { var _local7; var _local6; var _local2; var _local3; var _local4; if (maxFrames < 1) { newFrame(); } _local4 = (toggleSymbols ? (fps) : ("[\n" + fps)); _local6 = 0; while (_local6 < Joints.length) { _local4 = _local4 + (toggleSymbols ? "\r-" : ",\r["); _local3 = _root[Joints[_local6] + "f"]; _local2 = 0; while (_local2 < _local3.length) { if (!toggleSymbols) { _local4 = _local4 + ((_local2 == 0) ? "[" : ",["); _local4 = _local4 + (((_local3[_local2][0] + ",") + _local3[_local2][1]) + "]"); } else { _local4 = _local4 + ((_local2 < (_local3.length - 1)) ? (((_local3[_local2][0] + ",") + _local3[_local2][1]) + "|") : ((_local3[_local2][0] + ",") + _local3[_local2][1])); } _local2++; } _local4 = _local4 + (toggleSymbols ? "" : "]"); _local6++; } _local4 = _local4 + (toggleSymbols ? "" : "\r]"); return(_local4); } function exportForAS() { var _local1; var _local3; var _local2; _local2 = Circle1.diameter / 2; _local3 = exportForSA(false); _local1 = "// MADE WITH STICK ANIMATOR V2.0 BY NAMZORG\n"; _local1 = _local1 + (("// Compatible with Flash MX and higher\n// Stage width : 300\n// Stage height : 300\n// Frames per second : " + fps) + newline); _local1 = _local1 + (("var myAnimation = " + _local3) + ";\n"); _local1 = _local1 + "var currentFrame = 0;\n"; _local1 = _local1 + (("var lastFrame = " + (Headf.length - 1)) + ";\n"); _local1 = _local1 + "this.createEmptyMovieClip(\"Head\",1);\n"; _local1 = _local1 + "with(this.Head){\n"; _local1 = _local1 + "\tvar a, rad;\n"; _local1 = _local1 + "\tlineStyle(0);\n"; _local1 = _local1 + "\tbeginFill(0x000000,100);\n"; _local1 = _local1 + (("\tmoveTo(0,-" + _local2) + ");\n"); _local1 = _local1 + "\tfor(a = 0; a<= 360; a++){\n"; _local1 = _local1 + "\t\trad = (a*Math.PI)/180;\n"; _local1 = _local1 + (((((("\t\tlineTo(Math.cos(rad)*" + _local2) + ",-") + _local2) + "+Math.sin(rad)*") + _local2) + ");\n"); _local1 = _local1 + "\t}\tendFill();\n}\n"; _local1 = _local1 + "this.onEnterFrame = function ()\n{\n"; _local1 = _local1 + "clear();\n"; _local1 = _local1 + "lineStyle(5,0x000000,100);\n"; _local1 = _local1 + "if(++currentFrame > lastFrame)\n"; _local1 = _local1 + "\tcurrentFrame = 0;\n"; _local1 = _local1 + "moveTo(myAnimation[1][currentFrame][0],myAnimation[1][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[3][currentFrame][0],myAnimation[3][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[4][currentFrame][0],myAnimation[4][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[5][currentFrame][0],myAnimation[5][currentFrame][1]);\n"; _local1 = _local1 + "moveTo(myAnimation[3][currentFrame][0],myAnimation[3][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[6][currentFrame][0],myAnimation[6][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[7][currentFrame][0],myAnimation[7][currentFrame][1]);\n"; _local1 = _local1 + "moveTo(myAnimation[1][currentFrame][0],myAnimation[1][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[8][currentFrame][0],myAnimation[8][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[9][currentFrame][0],myAnimation[9][currentFrame][1]);\n"; _local1 = _local1 + "moveTo(myAnimation[1][currentFrame][0],myAnimation[1][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[10][currentFrame][0],myAnimation[10][currentFrame][1]);\n"; _local1 = _local1 + "lineTo(myAnimation[11][currentFrame][0],myAnimation[11][currentFrame][1]);\n"; _local1 = _local1 + "Head._x = myAnimation[3][currentFrame][0];\n"; _local1 = _local1 + "Head._y = myAnimation[3][currentFrame][1];\n"; _local1 = _local1 + "var dx = myAnimation[3][currentFrame][0] - myAnimation[2][currentFrame][0];\n"; _local1 = _local1 + "var dy = myAnimation[3][currentFrame][1] - myAnimation[2][currentFrame][1];\n"; _local1 = _local1 + "var d = Math.sqrt(dx*dx+dy*dy);\n"; _local1 = _local1 + "Head._rotation = (Math.atan2(dy,dx)*180/Math.PI)-90;\n"; _local1 = _local1 + (("Head._xscale = Head._yscale = (d/" + (_local2 * 2)) + ")*100;\n"); _local1 = _local1 + "};"; return(_local1); } function resetStage() { for (var _local2 in Joints) { j = Joints[_local2]; _root[j + "f"].splice(0, _root[j + "f"].length); } for (var _local2 in Lengths) { j = Lengths[_local2]; j.splice(0, j.length); } Lengths[0].copy(DefaultLengths); frameNum = (maxFrames = 0); fps = 12; seperateJoints(); selectedTool = Tools[0]; Circle2._x = (Circle1._x = -100); } function playAnim() { if (!playing) { if (maxFrames == 0) { newFrame(); } playing = true; frameNum = 0; Animation = setInterval(nextF, 1000 / fps); } } function stopAnim() { if (playing) { playing = false; clearInterval(Animation); frameNum = maxFrames; var _local1 = ((maxFrames == 0) ? 0 : (frameNum - 1)); generateFrame(_local1); } } function nextF() { clear(); drawFrame(frameNum++, 100, "Circle0"); if (frameNum >= maxFrames) { frameNum = 0; } } function newFrame() { if (!playing) { debug("Generating new frame"); for (var _local3 in Joints) { var _local2 = _root[Joints[_local3]]; _root[_local2._name + "f"][frameNum] = new Array(_local2._x, _local2._y); } if (frameNum == maxFrames) { frameNum++; maxFrames++; Lengths[frameNum] = new Array(); Lengths[frameNum].copy(DefaultLengths); } } } function deleteFrame(f) { if (!playing) { if (f > 0) { debug("Deleting frame " + f); for (var _local3 in Joints) { _root[Joints[_local3] + "f"].splice(f, 1); } Lengths.splice(f, 1); frameNum = --maxFrames; } } } function drawFrame(f, al, h) { lineStyle(5, 0, al); moveTo(Neckf[f][0], Neckf[f][1]); lineTo(Waistf[f][0], Waistf[f][1]); lineTo(Lkneef[f][0], Lkneef[f][1]); lineTo(Lfootf[f][0], Lfootf[f][1]); moveTo(Waistf[f][0], Waistf[f][1]); lineTo(Rkneef[f][0], Rkneef[f][1]); lineTo(Rfootf[f][0], Rfootf[f][1]); moveTo(Neckf[f][0], Neckf[f][1]); lineTo(Lelbowf[f][0], Lelbowf[f][1]); lineTo(Lhandf[f][0], Lhandf[f][1]); moveTo(Neckf[f][0], Neckf[f][1]); lineTo(Relbowf[f][0], Relbowf[f][1]); lineTo(Rhandf[f][0], Rhandf[f][1]); var c = eval (h); c._x = Neckf[f][0]; c._y = Neckf[f][1]; var dx = (Headf[f][0] - Neckf[f][0]); var dy = (Headf[f][1] - Neckf[f][1]); var d = Math.sqrt((dx * dx) + (dy * dy)); c._rotation = ((Math.atan2(dy, dx) * 180) / Math.PI) + 90; c._xscale = (c._yscale = (d / c.diameter) * 100); c._alpha = al; } function generateFrame(f) { debug("Generating frame " + f); for (var _local4 in Joints) { var _local2 = _root[Joints[_local4]]; _local2._x = _root[_local2._name + "f"][f][0]; _local2._y = _root[_local2._name + "f"][f][1]; } } function onionSkin() { if (frameNum > 0) { drawFrame(frameNum - 1, 30, "Circle1"); } else { Circle1._x = -100; } if (frameNum > 1) { drawFrame(frameNum - 2, 10, "Circle2"); } else { Circle2._x = -100; } } function seperateJoints() { if (!playing) { debug("Seperating/resetting joints"); var _local4 = selectedTool; selectedTool = Tools[0]; for (var _local3 in Joints) { var _local2 = _root[Joints[_local3]]; _local2._x = _local2.cx; _local2._y = _local2.cy; } setJoints(); selectedTool = _local4; } } function setJoint(smc, emc, l) { var s = eval (smc); var e = eval (emc); var dx = (e._x - s._x); var dy = (e._y - s._y); var d = Math.sqrt((dx * dx) + (dy * dy)); if (selectedTool == "Rotate") { e._x = Math.round(s._x + ((dx / d) * l)); e._y = Math.round(s._y + ((dy / d) * l)); } moveTo(s._x, s._y); lineTo(e._x, e._y); return(d); } function setJoints() { lineStyle(5, 0, 100); setJoint("Waist", "Neck", Lengths[frameNum][0]); setJoint("Neck", "Head", Lengths[frameNum][1]); setJoint("Neck", "Lelbow", Lengths[frameNum][2]); setJoint("Lelbow", "Lhand", Lengths[frameNum][3]); setJoint("Neck", "Relbow", Lengths[frameNum][4]); setJoint("Relbow", "Rhand", Lengths[frameNum][5]); setJoint("Waist", "Lknee", Lengths[frameNum][6]); setJoint("Lknee", "Lfoot", Lengths[frameNum][7]); setJoint("Waist", "Rknee", Lengths[frameNum][8]); setJoint("Rknee", "Rfoot", Lengths[frameNum][9]); } function stretchJoints() { lineStyle(5, 0, 100); Lengths[frameNum][0] = setJoint("Waist", "Neck"); Lengths[frameNum][1] = setJoint("Neck", "Head"); Lengths[frameNum][2] = setJoint("Neck", "Lelbow"); Lengths[frameNum][3] = setJoint("Lelbow", "Lhand"); Lengths[frameNum][4] = setJoint("Neck", "Relbow"); Lengths[frameNum][5] = setJoint("Relbow", "Rhand"); Lengths[frameNum][6] = setJoint("Waist", "Lknee"); Lengths[frameNum][7] = setJoint("Lknee", "Lfoot"); Lengths[frameNum][8] = setJoint("Waist", "Rknee"); Lengths[frameNum][9] = setJoint("Rknee", "Rfoot"); } function setUp() { var _local2; var _local4; var _local5; var _local3; var _local6; _local5 = 35; _local2 = 0; while (_local2 < 2) { _local4 = 15 + (_local2 * 30); attachMovie("Checkbox", "button" + _local2, 100001 + _local2, {_x:_local4, _y:_local5, tool:Tools[_local2]}); attachMovie("Icon", "icon" + _local2, 100003 + _local2, {_x:_local4, _y:_local5}).gotoAndStop(Tools[_local2]); _local2++; } _local3 = 0; _local2 = 0; while (_local2 <= 2) { if (_local2 == 0) { createEmptyMovieClip("Circle" + _local2, _local3++).makeHead(); } else { createEmptyMovieClip("Circle" + _local2, _local3++).makeShadowHead(); } _local2++; } for (_local2 in Joints) { _local6 = _root[Joints[_local2]]; _local6.swapDepths(_local3++); _root[Joints[_local2] + "f"] = new Array(); } Lengths[0] = new Array(); Lengths[0].copy(DefaultLengths); debug("Setup complete"); } function update() { var _local3; var _local2; if (!playing) { clear(); for (_local2 in Joints) { _local3 = _root[Joints[_local2]]; _local3.update(); } if (selectedTool == "Rotate") { setJoints(); } else if (selectedTool == "Stretch") { stretchJoints(); } _local2 = 0; while (_local2 <= 2) { _root["Circle" + _local2].update(); _local2++; } lastx = Waist._x; lasty = Waist._y; if (onionSkinning) { onionSkin(); } else { Circle2._x = (Circle1._x = -100); } } else { for (_local2 in Joints) { _local3 = _root[Joints[_local2]]; _local3._x = -100; } Circle2._x = (Circle1._x = -100); } } var Lengths = new Array(); var Tools = new Array("Rotate", "Stretch"); var Joints = new Array("Waist", "Head", "Neck", "Lelbow", "Lhand", "Relbow", "Rhand", "Lknee", "Lfoot", "Rknee", "Rfoot"); var DefaultLengths = new Array(17, 13, 17, 17, 17, 17, 24, 24, 24, 24); var selectedTool = Tools[0]; var lastx = _xmouse; var lasty = _ymouse; var frameNum = 0; var maxFrames = 0; var onionSkinning = true; var fps = 12; var playing = false; var Animation; Stage.showMenu = true; var rightclickmenu = new ContextMenu(); rightclickmenu.customItems.push(new ContextMenuItem("Add/Edit frame", newFrame), new ContextMenuItem("Play animation", playAnim), new ContextMenuItem("Stop animation", stopAnim)); rightclickmenu.hideBuiltInItems(); menu = rightclickmenu; MovieClip.prototype.drawCircle = function (x, y, r) { var _local2; var _local3; this.moveTo(x + r, y); _local2 = 0; while (_local2 <= 360) { _local3 = (_local2 * Math.PI) / 180; this.lineTo(x + (r * Math.cos(_local3)), y + (r * Math.sin(_local3))); _local2++; } }; MovieClip.prototype.makeHead = function () { this.lineStyle(0); this.beginFill(0, 100); this.diameter = DefaultLengths[1]; this.drawCircle(0, (-this.diameter) / 2, this.diameter / 2); this.endFill(); this.update = function () { var _local4; var _local3; var _local5; this._x = _root.Neck._x; this._y = _root.Neck._y; _local4 = _root.Head._x - _root.Neck._x; _local3 = _root.Head._y - _root.Neck._y; _local5 = Math.sqrt((_local4 * _local4) + (_local3 * _local3)); this._rotation = ((Math.atan2(_local3, _local4) * 180) / Math.PI) + 90; this._xscale = (this._yscale = (_local5 / this.diameter) * 100); }; }; MovieClip.prototype.makeShadowHead = function () { this.lineStyle(0); this.beginFill(0, 100); this.diameter = DefaultLengths[1]; this.drawCircle(0, (-this.diameter) / 2, this.diameter / 2); this.endFill(); this._x = -100; }; Array.prototype.copy = function (arrayToCopy) { for (var _local3 in arrayToCopy) { this[_local3] = arrayToCopy[_local3]; } }; _global.debug = function (str) { _root.debugger = str; }; _global.warning = function (warn, func, arg) { _root.Areyousure._visible = true; _root.Areyousure.warning = warn; _root.Areyousure.func = func; _root.Areyousure.arg = arg; }; setUp(); onEnterFrame = update; Panel.Seperate.onRelease = seperateJoints; Panel.Frame.onRelease = newFrame; Panel.Pbtn.onRelease = playAnim; Panel.Sbtn.onRelease = stopAnim; stop();
Instance of Symbol 21 MovieClip in Frame 2
onClipEvent (load) { swapDepths(100050); }
Instance of Symbol 52 MovieClip "Panel" in Frame 2
onClipEvent (load) { swapDepths(100000); _x = 30; _y = 100; } onClipEvent (enterFrame) { frameNum = "Frame:" + (_root.frameNum + 1); _visible = (((!_root.export._visible) and (!_root.importpanel._visible)) and (!_root.Help._visible)); }
Instance of Symbol 62 MovieClip "options" in Frame 2
onClipEvent (load) { swapDepths(100005); _visible = false; }
Instance of Symbol 74 MovieClip "export" in Frame 2
onClipEvent (load) { var code = ""; _visible = false; swapDepths(100020); }
Instance of Symbol 82 MovieClip "importpanel" in Frame 2
onClipEvent (load) { _visible = false; swapDepths(100025); }
Instance of Symbol 92 MovieClip "Help" in Frame 2
onClipEvent (load) { _visible = false; swapDepths(100030); }
Instance of Symbol 102 MovieClip "Areyousure" in Frame 2
onClipEvent (load) { swapDepths(100010); _visible = false; } onClipEvent (enterFrame) { _x = (_visible ? 180 : -200); }
Symbol 3 MovieClip [Checkbox] Frame 1
function update() { if (hitTest(_root._xmouse, _root._ymouse) or (_root.selectedTool == tool)) { gotoAndStop ("Selected"); } else { gotoAndStop ("Normal"); } } function select() { if (hitTest(_root._xmouse, _root._ymouse)) { _root.selectedTool = tool; debug("Using " + tool.toLowerCase()); } } stop(); onEnterFrame = update; onMouseDown = select;
Symbol 15 Button
on (release) { _root.play(); }
Symbol 17 MovieClip Frame 1
_root.stop(); stop();
Instance of Symbol 11 MovieClip in Symbol 17 MovieClip Frame 1
onClipEvent (enterFrame) { _xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (_xscale == 100) { _parent.gotoAndStop(2); } }
Symbol 20 Button
on (rollOver) { debug("Scripted by Namzorg"); }
Symbol 25 MovieClip Frame 1
function update() { if (((hitTest(_root._xmouse, _root._ymouse) or pressed) and (!_root.options._visible)) and (!_root.export._visible)) { gotoAndStop(_root.selectedTool); if (pressed) { _x = _root._xmouse; _y = _root._ymouse; } } else { gotoAndStop ("Normal"); } if (_root.Waist.pressed and (_name != "Waist")) { _x = (_x + (_root._xmouse - _root.lastx)); _y = (_y + (_root._ymouse - _root.lasty)); } } function drag() { if ((hitTest(_root._xmouse, _root._ymouse) and (!_root.options._visible)) and _root.Panel._visible) { pressed = true; debug(_name + " selected"); } } function letGo() { pressed = false; } var pressed = false; var cx = Math.round(_x); var cy = Math.round(_y); var lx; var ly; var kl = new Object(); Key.addListener(kl); kl.onKeyUp = function () { if (!_root.Waist.pressed) { var _local2 = Key.getCode(); if (_local2 == 38) { _y = (_y-1); } else if (_local2 == 40) { _y = (_y+1); } else if (_local2 == 37) { _x = (_x-1); } else if (_local2 == 39) { _x = (_x+1); } } }; onMouseDown = drag; onMouseUp = letGo;
Symbol 25 MovieClip Frame 2
stop();
Symbol 29 Button
on (keyPress "s") { _root.seperateJoints(); }
Symbol 30 Button
on (keyPress "<Space>") { _root.newFrame(); }
Symbol 32 MovieClip Frame 1
function update() { var _local2 = hitTest(_root._xmouse, _root._ymouse); if (_local2 or _root.onionSkinning) { gotoAndStop ("Selected"); } else { gotoAndStop ("Normal"); } } function select() { var _local2 = hitTest(_root._xmouse, _root._ymouse); if (_local2 and (!_root.onionSkinning)) { _root.onionSkinning = true; debug("Onion skinning is on"); } else if (_local2 and _root.onionSkinning) { _root.onionSkinning = false; debug("Onion skinning is off"); } } stop(); onEnterFrame = update; onMouseDown = select;
Symbol 35 MovieClip Frame 1
function update() { var _local2 = hitTest(_root._xmouse, _root._ymouse); if (_local2 or _root.options._visible) { gotoAndStop ("Selected"); } else { gotoAndStop ("Normal"); } } function select() { var _local2 = hitTest(_root._xmouse, _root._ymouse); if (_local2 and (!_root.options._visible)) { _root.options._visible = true; debug("Show options menu"); } else if (_local2 and _root.options._visible) { _root.options._visible = false; debug("Hide options menu"); } } stop(); onEnterFrame = update; onMouseDown = select;
Symbol 36 Button
on (keyPress "<Enter>") { _root.playAnim(); }
Symbol 37 Button
on (keyPress "'") { _root.stopAnim(); }
Symbol 39 Button
on (release, keyPress ",") { if (!_root.playing) { if (_root.frameNum > 0) { _root.generateFrame(--_root.frameNum); } } }
Symbol 40 Button
on (release, keyPress ".") { if (!_root.playing) { if (_root.frameNum < _root.maxFrames) { _root.generateFrame(++_root.frameNum); } } }
Symbol 42 Button
on (release, keyPress "e") { _root.export._visible = true; }
Symbol 44 Button
on (release, keyPress "i") { _root.importpanel._visible = true; }
Symbol 52 MovieClip Frame 1
Pframe._x = (Pbtn._x = -15); Nframe._x = (Sbtn._x = 15); Linkbtn.useHandCursor = true; Linkbtn.onRelease = function () { getURL ("http://www.stickslaughter.com", "_blank"); };
Instance of Symbol 32 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (load) { _x = -15; kl = new Object(); Key.addListener(kl); kl.onKeyUp = function () { var _local2 = Key.getCode(); if (_local2 == 83) { _root.onionSkinning = !_root.onionSkinning; } }; }
Instance of Symbol 35 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (load) { _x = 15; kl = new Object(); Key.addListener(kl); kl.onKeyUp = function () { var _local2 = Key.getCode(); if (_local2 == 79) { _root.options._visible = !_root.options._visible; } }; }
Symbol 56 Button
on (release) { if (!_root.playing) { warning("Are you sure you want to delete this frame?", "deleteFrame", "frameNum"); } }
Symbol 58 Button
on (release) { if (!_root.playing) { warning("Are you sure you want to erase this animation?", "resetStage", ""); } }
Symbol 60 Button
on (release) { if (!_root.playing) { _root.Help.tooltip = "Put your mouse over the objects on the right to find out what they do."; _root.Help._visible = true; _root.options._visible = false; } }
Symbol 64 Button
on (release) { _root.export.code = _root.exportForAS(); _root.export.gotoAndStop(2); }
Symbol 65 Button
on (release) { _root.export.code = _root.exportForSA(true); _root.export.gotoAndStop(2); }
Symbol 69 Button
on (release) { _root.export._visible = false; }
Symbol 72 Button
on (release) { _root.export.gotoAndStop(1); _root.export._visible = false; }
Symbol 74 MovieClip Frame 1
ASe.text = "What does this do?\nExporting as ActionScript means you can copy the code and paste it in the first frame's actions of a Flash document and it will generate the movie."; SAe.text = "What does this do?\nExporting as Stick Animator v2.0 code allows you to copy the code, and later paste it back into Stick Animator v2.0. This means you can edit your movies."; stop();
Symbol 76 Button
on (release) { _root.imprt(_root.importpanel.importCode); _root.importpanel._visible = false; _root.importpanel.importCode = ""; }
Symbol 78 Button
on (release) { _root.importpanel._visible = false; }
Symbol 82 MovieClip Frame 1
whatdoesthisdo = "What does this do?\nImporting means that you can edit old animations. Just copy the Stick Animator v2.0 code from that animation, and paste in the bar above, then click the button below.";
Symbol 86 MovieClip Frame 1
function displayTip(tID) { var _local2 = "Help - "; if (tID == "OS") { _local2 = _local2 + "Onion skinning\nOnion skinning is used to display the previous two frames of the animation (if they exist). This helps you to make smoother animations. By default onion skinning is on, click to turn it off, and again to turn it back on"; } else if (tID == "Options") { _local2 = _local2 + "Options\nClick this button to open up the options panel. In the options panel you will be able to change the frame rate, delete frames, or reset the entire animation."; } else if (tID == "Rotate") { _local2 = _local2 + "Rotate\nTo use this tool, click on a joint, and drag it. This is the primary tool used in Stick Animator v2.0. If you accidentaly get two or more joints stuck together, click the separate joints button."; } else if (tID == "Stretch") { _local2 = _local2 + "Stretch\nThis tool is used to increase and decrease the length of the limbs. To use it, click a joint and drag. You can also expand and shrink the head by dragging the joint above it."; } else if (tID == "Separate") { _local2 = _local2 + "Separate joints\nClick this button if you get two or more joints stuck together, or simply want to reset the stick to the default position. When you click the button, the stick will automatically change back to its original position."; } else if (tID == "Newframe") { _local2 = _local2 + "New frame\nThe new frame button is used to create a new frame, and edit existing frames. When you are working with the last frame of your movie, and click this, it will create a new frame. However, if you are working on a previous frame in the movie and you click this, it will save the changes you have made to that frame."; } else if (tID == "Pframe") { _local2 = _local2 + "Previous frame\nClicking this button will take you back one frame so you can edit it."; } else if (tID == "Nframe") { _local2 = _local2 + "Next frame\nClicking this button will take you forward one frame so you can edit it."; } else if (tID == "Pbtn") { _local2 = _local2 + "Play\nThis button plays the movie you have created so far."; } else if (tID == "Sbtn") { _local2 = _local2 + "Stop\nIf the movie is playing, this will stop it and take you to the last frame of your animation."; } else if (tID == "Export") { _local2 = _local2 + "Export\nOpens the export panel where you can choose how to export your movie."; } else if (tID == "Import") { _local2 = _local2 + "Import\nOpens the import panel where you can import previous animations you have created."; } else if (tID == "Stick") { _local2 = _local2 + "Stick figure\nThis is the stick figure you can animate using Stick Animator v2.0."; } _root.Help.tooltip = _local2; } for (var i in this) { this[i].onRollOver = function () { displayTip(this._name); }; this[i].useHandCursor = true; }
Symbol 90 Button
on (release) { _root.Help.tooltip = ""; _root.Help._visible = false; }
Symbol 96 MovieClip Frame 1
_visible = false; swapDepths(1000000); kL = new Object(); Key.addListener(kL); kL.onKeyUp = function () { var _local1 = Key.getCode(); if (_local1 == 192) { _visible = (!_visible); } };
Symbol 98 Button
on (release) { _root[_root.Areyousure.func](_root[_root.Areyousure.arg]); _root.Areyousure._visible = false; }
Symbol 99 Button
on (release) { _root.Areyousure._visible = false; }

Library Items

Symbol 1 GraphicUsed by:3 32 35 36 37 39 40 98 99
Symbol 2 GraphicUsed by:3 32 35 36 37 39 40 98 99
Symbol 3 MovieClip [Checkbox]Uses:1 2
Symbol 4 GraphicUsed by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [Icon]Uses:4 5
Symbol 7 GraphicUsed by:Timeline
Symbol 8 GraphicUsed by:17
Symbol 9 GraphicUsed by:17
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:17
Symbol 12 GraphicUsed by:17
Symbol 13 GraphicUsed by:15 29 30 42 44 56 58 60 64 65 69 72 76 78 90
Symbol 14 GraphicUsed by:15 29 30 42 44 56 58 60 64 65 69 72 76 78 90
Symbol 15 ButtonUses:13 14Used by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:8 9 11 12 15 16Used by:Timeline
Symbol 18 GraphicUsed by:Timeline
Symbol 19 GraphicUsed by:20
Symbol 20 ButtonUses:19Used by:21  Timeline
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 GraphicUsed by:25
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:22 23 24Used by:Timeline
Symbol 26 GraphicUsed by:52
Symbol 27 FontUsed by:28 33 54 66 68 71 80 81 88 101
Symbol 28 EditableTextUses:27Used by:52
Symbol 29 ButtonUses:13 14Used by:52
Symbol 30 ButtonUses:13 14Used by:52
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:1 31 2Used by:52
Symbol 33 EditableTextUses:27Used by:52
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:1 34 2Used by:52
Symbol 36 ButtonUses:1 2Used by:52
Symbol 37 ButtonUses:1 2Used by:52
Symbol 38 GraphicUsed by:52
Symbol 39 ButtonUses:1 2Used by:52
Symbol 40 ButtonUses:1 2Used by:52
Symbol 41 GraphicUsed by:52
Symbol 42 ButtonUses:13 14Used by:52
Symbol 43 GraphicUsed by:52
Symbol 44 ButtonUses:13 14Used by:52
Symbol 45 GraphicUsed by:52
Symbol 46 GraphicUsed by:50
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:46 47 48 49Used by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:26 28 29 30 32 33 35 36 37 38 39 40 41 42 43 44 45 50 51Used by:Timeline
Symbol 53 GraphicUsed by:62
Symbol 54 EditableTextUses:27Used by:62
Symbol 55 GraphicUsed by:62
Symbol 56 ButtonUses:13 14Used by:62
Symbol 57 GraphicUsed by:62
Symbol 58 ButtonUses:13 14Used by:62
Symbol 59 GraphicUsed by:62
Symbol 60 ButtonUses:13 14Used by:62
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:53 54 55 56 57 58 59 60 61Used by:Timeline
Symbol 63 GraphicUsed by:74 92
Symbol 64 ButtonUses:13 14Used by:74
Symbol 65 ButtonUses:13 14Used by:74
Symbol 66 EditableTextUses:27Used by:74
Symbol 67 GraphicUsed by:74
Symbol 68 EditableTextUses:27Used by:74
Symbol 69 ButtonUses:13 14Used by:74
Symbol 70 GraphicUsed by:74
Symbol 71 EditableTextUses:27Used by:74
Symbol 72 ButtonUses:13 14Used by:74
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:63 64 65 66 67 68 69 70 71 72 73Used by:Timeline
Symbol 75 GraphicUsed by:82
Symbol 76 ButtonUses:13 14Used by:82
Symbol 77 GraphicUsed by:82
Symbol 78 ButtonUses:13 14Used by:82
Symbol 79 GraphicUsed by:82
Symbol 80 EditableTextUses:27Used by:82
Symbol 81 EditableTextUses:27Used by:82
Symbol 82 MovieClipUses:75 76 77 78 79 80 81Used by:Timeline
Symbol 83 GraphicUsed by:87
Symbol 84 GraphicUsed by:85
Symbol 85 ButtonUses:84Used by:86
Symbol 86 MovieClipUses:85Used by:87
Symbol 87 MovieClipUses:83 86Used by:92
Symbol 88 EditableTextUses:27Used by:92
Symbol 89 GraphicUsed by:92
Symbol 90 ButtonUses:13 14Used by:92
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:63 87 88 89 90 91Used by:Timeline
Symbol 93 GraphicUsed by:96
Symbol 94 FontUsed by:95
Symbol 95 EditableTextUses:94Used by:96
Symbol 96 MovieClipUses:93 95Used by:Timeline
Symbol 97 GraphicUsed by:102
Symbol 98 ButtonUses:1 2Used by:102
Symbol 99 ButtonUses:1 2Used by:102
Symbol 100 GraphicUsed by:102
Symbol 101 EditableTextUses:27Used by:102
Symbol 102 MovieClipUses:97 98 99 100 101Used by:Timeline

Instance Names

"Head"Frame 2Symbol 25 MovieClip
"Neck"Frame 2Symbol 25 MovieClip
"Waist"Frame 2Symbol 25 MovieClip
"Rknee"Frame 2Symbol 25 MovieClip
"Rfoot"Frame 2Symbol 25 MovieClip
"Lknee"Frame 2Symbol 25 MovieClip
"Lfoot"Frame 2Symbol 25 MovieClip
"Relbow"Frame 2Symbol 25 MovieClip
"Rhand"Frame 2Symbol 25 MovieClip
"Lelbow"Frame 2Symbol 25 MovieClip
"Lhand"Frame 2Symbol 25 MovieClip
"Panel"Frame 2Symbol 52 MovieClip
"options"Frame 2Symbol 62 MovieClip
"export"Frame 2Symbol 74 MovieClip
"importpanel"Frame 2Symbol 82 MovieClip
"Help"Frame 2Symbol 92 MovieClip
"Areyousure"Frame 2Symbol 102 MovieClip
"Seperate"Symbol 52 MovieClip Frame 1Symbol 29 Button
"Frame"Symbol 52 MovieClip Frame 1Symbol 30 Button
"Pbtn"Symbol 52 MovieClip Frame 1Symbol 36 Button
"Sbtn"Symbol 52 MovieClip Frame 1Symbol 37 Button
"Pframe"Symbol 52 MovieClip Frame 1Symbol 39 Button
"Nframe"Symbol 52 MovieClip Frame 1Symbol 40 Button
"Ebtn"Symbol 52 MovieClip Frame 1Symbol 42 Button
"Ibtn"Symbol 52 MovieClip Frame 1Symbol 44 Button
"Linkbtn"Symbol 52 MovieClip Frame 1Symbol 50 Button
"Frame"Symbol 62 MovieClip Frame 1Symbol 56 Button
"Frame"Symbol 62 MovieClip Frame 1Symbol 58 Button
"Frame"Symbol 62 MovieClip Frame 1Symbol 60 Button
"Seperate"Symbol 74 MovieClip Frame 1Symbol 64 Button
"Seperate"Symbol 74 MovieClip Frame 1Symbol 65 Button
"ASe"Symbol 74 MovieClip Frame 1Symbol 66 EditableText
"SAe"Symbol 74 MovieClip Frame 1Symbol 68 EditableText
"Seperate"Symbol 74 MovieClip Frame 1Symbol 69 Button
"Seperate"Symbol 74 MovieClip Frame 2Symbol 72 Button
"Seperate"Symbol 82 MovieClip Frame 1Symbol 76 Button
"Seperate"Symbol 82 MovieClip Frame 1Symbol 78 Button
"Separate"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Newframe"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Pframe"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Nframe"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Pbtn"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Sbtn"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Export"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Import"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Rotate"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Stretch"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Options"Symbol 86 MovieClip Frame 1Symbol 85 Button
"OS"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Stick"Symbol 86 MovieClip Frame 1Symbol 85 Button
"Seperate"Symbol 92 MovieClip Frame 1Symbol 90 Button

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "Checkbox"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Icon"

Labels

"Normal"Symbol 3 MovieClip [Checkbox] Frame 1
"Selected"Symbol 3 MovieClip [Checkbox] Frame 2
"Rotate"Symbol 6 MovieClip [Icon] Frame 1
"Stretch"Symbol 6 MovieClip [Icon] Frame 2
"Loaded"Symbol 17 MovieClip Frame 2
"Normal"Symbol 25 MovieClip Frame 2
"Rotate"Symbol 25 MovieClip Frame 3
"Stretch"Symbol 25 MovieClip Frame 4
"Normal"Symbol 32 MovieClip Frame 1
"Selected"Symbol 32 MovieClip Frame 2
"Normal"Symbol 35 MovieClip Frame 1
"Selected"Symbol 35 MovieClip Frame 2

Dynamic Text Variables

_root.selectedToolSymbol 28 EditableText""
frameNumSymbol 33 EditableText""
_root.fpsSymbol 54 EditableText""
_root.export.codeSymbol 71 EditableText""
whatdoesthisdoSymbol 80 EditableText""
importCodeSymbol 81 EditableText""
tooltipSymbol 88 EditableText""
_root.debuggerSymbol 95 EditableText""
warningSymbol 101 EditableText""




http://swfchan.com/8/36165/info.shtml
Created: 15/5 -2019 10:14:38 Last modified: 15/5 -2019 10:14:38 Server time: 23/12 -2024 00:41:42