Swf loading multiple external synchronous code collate

Related Tags:

  I remember that this is very early in the past, so today compiled by decentralization, convenient for everyone to use:) 

  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. 

  / / Attention to the external file is 0. Swf, 1.swf, 2.swf ......... increase, in fact, a little change, loading picture Following is the same document package: 

  [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 .... 

Related articles:

Flash MX 2004 supports HTML tags
  <b> Bold labels Example:    My_txt.htmlText = "<b> Bold </ b>"    <br> Tag line for example:    My_txt.htmlText = "Title of Articles <br>"    <font> Font tag attributes: color: font color, for...
Web2.0 era network of community how to create value?
  Roots are not longer an ordinary general terms, in 2006 it swept the world.    When "to the Centre", "personality" and "circle" of a Web 2.0 era words, the grass-roots culture's survival. Soil - Network communities, as these are grass-roots self-rac...
Shoring solution form of a large table
  If frontpagep dreamweaver or in a small form, insert a form, the form will be shoring, which has seriously affected the position page elements, the solution is to be on the label <form> and <tr> <td> between this fp or dw on the Gongkuang will not see the form, for example ...
Zhulian beautifully produced with Flash
  Among the test in a flash, is a good one.    As follows:    1, painting a closed curve, to feel like a chain    2, Laws of attributes.    3, the curve will be filled.    4, filled with color amended    5, a modified  &nb...
Reith Miao FLASH Guide Series - Maobian text
  Miao think the animation is exquisite in its humor, and widely circulated, now think Miao launched a series of tutorial, with his customary humor vivid animation on the entry FLASH knowledge, the initial version of this for the 11th lesson: Maobian text .  <embed src="http://www.webjx.co...