|
var imageRequest:URLRequest = new URLRequest("myimg.jpg"); We will be developing this Flash MX file: loader.fla (35kb). At first try to find an original idea, try to think how the preloader bar is going to look in the future, at some ocations it is good to make it according to the theme of the website. The concept for loading external images in Flash is to create an empty movie clip which will load the external image through the loadMovie actionscript function. - Specialized classes handle each task, so the performance is better - Data is encapsulated into the URLLoader.data property, so it doesn't overwrite any other variable in our movie - The event.complete event let us know when downloading finishes Other events Starter File
loadMovie() method is one of the methods of Flash to load dynamically external content. The aim of the tutorial is to learn how to create a Flash Movie which loads an Array of external images such as Jpegs or Gifs. These images would then be loaded individually into the Flash Movie as and when the user wished to look at them. This makes the Flash Movie much smaller and reduces the pre-load time for the Flash Movie. The individual images would each have there own pre-loader so that there is a small delay before loading individual images but no long wait at the beginning of the Movie. This last line of the PHP script could be confusing. What is this web page?
|
| w_ww.j_ava___2_s___.co_m___ | Contact Us |
| Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
| All other trademarks are property of their respective owners. |