Swf loading multiple external synchronous code collate
Related Tags:
Function manyLoadMovie (num, x, y, xscal, yscal, dis) (
For (var i = 0; i <num; i) (
Var Temp = createEmptyMovieClip ( "temp" i, i);
Var L = createEmptyMovieClip ( "load" i, i num);
Temp.t = i;
L.loadMovie (i. "Swf");
L._xscale = xscal;
L._yscale = yscal;
L._x = xi * dis;
L._y = y;
T = createTextField ( "txt" i, i 10000, L._x, L._y, 100, 100);
Temp.onEnterFrame = function () (
Var a = this._parent [ "load" this.t]. GetBytesLoaded ();
This._parent var b = [ "load" this.t]. GetBytesTotal ();
This._parent [ "txt" this.t]. Text = int (* 100 a / b) "%";
If (a> = b and a> 10) (
This._parent [ "txt" this.t]. RemoveTextField ();
This.removeMovieClip ();
)
);
)
)
ManyLoadMovie (4, 100, 100, 50, 50, 50);
/ / Parameter is the number of documents, the starting point x, y starting point, the ratio of width, Height ratio are spacing.
[Download source file] (Note:)
/ / Because this function used in many Web sites, so that is the Man You used here only shows that the percentage test of time ctrl enter twice on the trip, the more obvious external documents more, as for the progress of the very easy for everyone to make it , I die, too serious cold, runny nose in the ....
- Summary: A CSS code reference map
- Some commonly used CSS code
- Clever css debug code
- CSS code-switching function tab
- CSS code structure of: the div and span!
- CSS style definition of the rolling code
- The magic code - CSS filter trip
- Js code and code folding effect css
- How to Optimize your CSS code?
- CSS code-writing techniques commonly used
- HTML and CSS pages prepared by the beautiful formal code
- CSS control ul code base
- CSS simple picture-Daolian code
- CSS code abbreviation skills
- CSS code abbreviation skills zz
- CSS code attributes Encyclopaedia (HTML)
- Common CSS code
- Css common code
- Optimizing your CSS code
- Css code explain




