As in this title. Here is my sample:
Simple torch effekt
And simple script, hm, moving back (or retreat, or withdrawing?) of animation.
Movie back(?) effektCode://Paste this script to Mouse over: mc = element ("my_mc"); mc.show(); mc.play(); mc.step = true; mc.onEnterFrame = function() { if (this._currentframe == this._totalframes) { this.stop(); } }; //Paste this script to Mouse leave: mc = element ("my_mc"); mc.step = false; mc.onEnterFrame = function() { if (this._currentframe == this._totalframes) { this.stop(); } if (this.step == false) { this.gotoAndStop(this._currentframe - 1); } if (this._currentframe == 1) { delete this.onEnterFrame; } };
With it that script You can make nice tree menu
Simple tree menu
Now is your turn