PageRenderTime 53ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/org/tractionas3/load/Loadable.html

http://tractionas3.googlecode.com/
HTML | 419 lines | 408 code | 2 blank | 9 comment | 0 complexity | ed332c0b502f0fa209683cc368b2eb6d MD5 | raw file
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
  6. <link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
  7. <meta content="Loadable,org.tractionas3.load.Loadable,bytesLoaded,bytesTotal,bytesTotalPrefetcher,cancelable,data,loadTime,loaded,loading,progress,url,getURLRequest,load,prefetchBytesTotal" name="keywords">
  8. <title>org.tractionas3.load.Loadable</title>
  9. </head>
  10. <body>
  11. <script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
  12. <!--
  13. asdocTitle = 'Loadable - TractionAS3 Framework Documentation';
  14. var baseRef = '../../../';
  15. window.onload = configPage;
  16. --></script>
  17. <table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
  18. <tr>
  19. <td align="left" class="titleTableTitle">TractionAS3 Framework Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?org/tractionas3/load/Loadable.html&amp;org/tractionas3/load/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
  20. </tr>
  21. <tr class="titleTableRow2">
  22. <td align="left" id="subTitle" class="titleTableSubTitle">Interface&nbsp;Loadable</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
  23. </tr>
  24. <tr class="titleTableRow3">
  25. <td colspan="2">&nbsp;</td>
  26. </tr>
  27. </table>
  28. <script type="text/javascript" language="javascript">
  29. <!--
  30. if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Interface Loadable"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
  31. --></script>
  32. <div class="MainContent">
  33. <table cellspacing="0" cellpadding="0" class="classHeaderTable">
  34. <tr>
  35. <td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.tractionas3.load</a></td>
  36. </tr>
  37. <tr>
  38. <td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface Loadable extends <a href="../core/interfaces/ICoreInterface.html">ICoreInterface</a>, <a href="../core/interfaces/IDestructable.html">IDestructable</a>, <a href="../core/interfaces/ICloneable.html">ICloneable</a>, <a href="../core/interfaces/IResetable.html">IResetable</a></td>
  39. </tr>
  40. <tr>
  41. <td class="classHeaderTableLabel">Implementors</td><td><a href="../load/AVM1Loader.html">AVM1Loader</a>, <a href="../load/BitmapDataLoader.html">BitmapDataLoader</a>, <a href="../load/BitmapLoader.html">BitmapLoader</a>, <a href="../load/ByteArrayLoader.html">ByteArrayLoader</a>, <a href="../load/CoreLoader.html">CoreLoader</a>, <a href="../load/DisplayLoader.html">DisplayLoader</a>, <a href="../load/SoundLoader.html">SoundLoader</a>, <a href="../load/StyleSheetLoader.html">StyleSheetLoader</a>, <a href="../load/SWFLoader.html">SWFLoader</a>, <a href="../load/URLDataLoader.html">URLDataLoader</a>, <a href="../load/VideoLoader.html">VideoLoader</a>, <a href="../load/XMLLoader.html">XMLLoader</a></td>
  42. </tr>
  43. </table>
  44. <p></p>
  45. ILoader interface is the core interface for all loader classes defining the core loading functionality.
  46. <p></p>
  47. <br>
  48. <hr>
  49. </div>
  50. <a name="propertySummary"></a>
  51. <div class="summarySection">
  52. <div class="summaryTableTitle">Public Properties</div>
  53. <table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
  54. <tr>
  55. <th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
  56. </tr>
  57. <tr class="">
  58. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bytesLoaded">bytesLoaded</a> : uint<div class="summaryTableDescription">[read-only]
  59. Indicates the number of loaded bytes from the loaders target file.</div>
  60. </td><td class="summaryTableOwnerCol">Loadable</td>
  61. </tr>
  62. <tr class="">
  63. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bytesTotal">bytesTotal</a> : int<div class="summaryTableDescription">[read-only]
  64. Indicates the number of total bytes of the loaders target file.</div>
  65. </td><td class="summaryTableOwnerCol">Loadable</td>
  66. </tr>
  67. <tr class="">
  68. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bytesTotalPrefetcher">bytesTotalPrefetcher</a> : <a href="../load/BytesTotalPrefetcher.html">BytesTotalPrefetcher</a>
  69. <div class="summaryTableDescription">[read-only]
  70. Returns the bytesTotal prefetcher instance.</div>
  71. </td><td class="summaryTableOwnerCol">Loadable</td>
  72. </tr>
  73. <tr class="">
  74. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#cancelable">cancelable</a> : Boolean<div class="summaryTableDescription">[read-only]
  75. Indicates whether the loader is cancelable.</div>
  76. </td><td class="summaryTableOwnerCol">Loadable</td>
  77. </tr>
  78. <tr class="">
  79. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#data">data</a> : *<div class="summaryTableDescription">[read-only]
  80. </div>
  81. </td><td class="summaryTableOwnerCol">Loadable</td>
  82. </tr>
  83. <tr class="">
  84. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#loaded">loaded</a> : Boolean<div class="summaryTableDescription">[read-only]
  85. Indicates whether the loading process has finished.</div>
  86. </td><td class="summaryTableOwnerCol">Loadable</td>
  87. </tr>
  88. <tr class="">
  89. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#loading">loading</a> : Boolean<div class="summaryTableDescription">[read-only]
  90. Indicates whether the loading process is running.</div>
  91. </td><td class="summaryTableOwnerCol">Loadable</td>
  92. </tr>
  93. <tr class="">
  94. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#loadTime">loadTime</a> : uint<div class="summaryTableDescription">[read-only]
  95. Indicates, in milliseconds, the time elapsed from loading start to loading completion.</div>
  96. </td><td class="summaryTableOwnerCol">Loadable</td>
  97. </tr>
  98. <tr class="">
  99. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#progress">progress</a> : Number<div class="summaryTableDescription">[read-only]
  100. Returns a value between zero and one indicating the current loading progress of the loader.</div>
  101. </td><td class="summaryTableOwnerCol">Loadable</td>
  102. </tr>
  103. <tr class="">
  104. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#url">url</a> : String<div class="summaryTableDescription">
  105. Returns the url of the loader.</div>
  106. </td><td class="summaryTableOwnerCol">Loadable</td>
  107. </tr>
  108. </table>
  109. </div>
  110. <a name="methodSummary"></a>
  111. <div class="summarySection">
  112. <div class="summaryTableTitle">Public Methods</div>
  113. <div class="showHideLinks">
  114. <div class="hideInheritedMethod" id="hideInheritedMethod">
  115. <a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Methods</a>
  116. </div>
  117. <div class="showInheritedMethod" id="showInheritedMethod">
  118. <a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Methods</a>
  119. </div>
  120. </div>
  121. <table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
  122. <tr>
  123. <th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
  124. </tr>
  125. <tr class="hideInheritedMethod">
  126. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  127. <div class="summarySignature">
  128. <a class="signatureLink" href="../core/interfaces/ICloneable.html#clone()">clone</a>():Object</div>
  129. <div class="summaryTableDescription">
  130. Creates a duplicate of the instance.</div>
  131. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/ICloneable.html">ICloneable</a></td>
  132. </tr>
  133. <tr class="hideInheritedMethod">
  134. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  135. <div class="summarySignature">
  136. <a class="signatureLink" href="../core/interfaces/IDestructable.html#destruct()">destruct</a>(deepDestruct:Boolean = false):void</div>
  137. <div class="summaryTableDescription">
  138. Destructs implementing instance of specified properties.</div>
  139. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/IDestructable.html">IDestructable</a></td>
  140. </tr>
  141. <tr class="">
  142. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
  143. <div class="summarySignature">
  144. <a class="signatureLink" href="#getURLRequest()">getURLRequest</a>():URLRequest</div>
  145. <div class="summaryTableDescription">
  146. Returns the <code>URLRequest</code> of the loader.</div>
  147. </td><td class="summaryTableOwnerCol">Loadable</td>
  148. </tr>
  149. <tr class="hideInheritedMethod">
  150. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  151. <div class="summarySignature">
  152. <a class="signatureLink" href="../core/interfaces/IDestructable.html#listDestructableProperties()">listDestructableProperties</a>():Array</div>
  153. <div class="summaryTableDescription">
  154. Specifies an array of strings representing properties that are to be
  155. nullified or reset upon destruction.</div>
  156. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/IDestructable.html">IDestructable</a></td>
  157. </tr>
  158. <tr class="">
  159. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
  160. <div class="summarySignature">
  161. <a class="signatureLink" href="#load()">load</a>(newURL:String = null):void</div>
  162. <div class="summaryTableDescription">
  163. Initiates the loading process of the loader.</div>
  164. </td><td class="summaryTableOwnerCol">Loadable</td>
  165. </tr>
  166. <tr class="">
  167. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
  168. <div class="summarySignature">
  169. <a class="signatureLink" href="#prefetchBytesTotal()">prefetchBytesTotal</a>():void</div>
  170. <div class="summaryTableDescription">
  171. Instructs the loader to prefech the total file size of target file without having to start the actual loading progress.</div>
  172. </td><td class="summaryTableOwnerCol">Loadable</td>
  173. </tr>
  174. <tr class="hideInheritedMethod">
  175. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  176. <div class="summarySignature">
  177. <a class="signatureLink" href="../core/interfaces/IResetable.html#reset()">reset</a>():void</div>
  178. <div class="summaryTableDescription">
  179. Resets the resetable instance to its construct state.</div>
  180. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/IResetable.html">IResetable</a></td>
  181. </tr>
  182. <tr class="hideInheritedMethod">
  183. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  184. <div class="summarySignature">
  185. <a class="signatureLink" href="../core/interfaces/ICoreInterface.html#toString()">toString</a>():String</div>
  186. <div class="summaryTableDescription">
  187. Returns the string representation of the instance.</div>
  188. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/ICoreInterface.html">ICoreInterface</a></td>
  189. </tr>
  190. </table>
  191. </div>
  192. <script type="text/javascript" language="javascript">
  193. <!--
  194. showHideInherited();
  195. --></script>
  196. <div class="MainContent">
  197. <a name="propertyDetail"></a>
  198. <div class="detailSectionHeader">Property detail</div>
  199. <a name="bytesLoaded"></a>
  200. <table cellspacing="0" cellpadding="0" class="detailHeader">
  201. <tr>
  202. <td class="detailHeaderName">bytesLoaded</td><td class="detailHeaderType">property</td>
  203. </tr>
  204. </table>
  205. <div class="detailBody">
  206. <code>bytesLoaded:uint</code>&nbsp;&nbsp;[read-only]<p>
  207. Indicates the number of loaded bytes from the loaders target file.
  208. </p><span class="label">Implementation</span>
  209. <br>
  210. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesLoaded():uint</code>
  211. <br>
  212. </div>
  213. <a name="bytesTotal"></a>
  214. <table cellspacing="0" cellpadding="0" class="detailHeader">
  215. <tr>
  216. <td class="detailHeaderName">bytesTotal</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  217. </tr>
  218. </table>
  219. <div class="detailBody">
  220. <code>bytesTotal:int</code>&nbsp;&nbsp;[read-only]<p>
  221. Indicates the number of total bytes of the loaders target file.
  222. </p><span class="label">Implementation</span>
  223. <br>
  224. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesTotal():int</code>
  225. <br>
  226. </div>
  227. <a name="bytesTotalPrefetcher"></a>
  228. <table cellspacing="0" cellpadding="0" class="detailHeader">
  229. <tr>
  230. <td class="detailHeaderName">bytesTotalPrefetcher</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  231. </tr>
  232. </table>
  233. <div class="detailBody">
  234. <code>bytesTotalPrefetcher:<a href="../load/BytesTotalPrefetcher.html">BytesTotalPrefetcher</a></code>&nbsp;&nbsp;[read-only]<p>
  235. Returns the bytesTotal prefetcher instance.
  236. </p><span class="label">Implementation</span>
  237. <br>
  238. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesTotalPrefetcher():<a href="../load/BytesTotalPrefetcher.html">BytesTotalPrefetcher</a></code>
  239. <br>
  240. </div>
  241. <a name="cancelable"></a>
  242. <table cellspacing="0" cellpadding="0" class="detailHeader">
  243. <tr>
  244. <td class="detailHeaderName">cancelable</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  245. </tr>
  246. </table>
  247. <div class="detailBody">
  248. <code>cancelable:Boolean</code>&nbsp;&nbsp;[read-only]<p>
  249. Indicates whether the loader is cancelable. Cancelable loaders may be interrupted while loading.
  250. Note that if you wish to cancel a loading process to resume it later you need to use the <code>reset()</code> method before calling
  251. the <code>load()</code> method again.
  252. </p><span class="label">Implementation</span>
  253. <br>
  254. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get cancelable():Boolean</code>
  255. <br>
  256. <p>
  257. <span class="label">See also</span>
  258. </p>
  259. <div class="seeAlso">org.tractionas3.core.interfaces.Cancelable;<br>
  260. <a href="../load/Loadable.html#reset()" target="">reset()</a>
  261. <br>load()</div>
  262. </div>
  263. <a name="data"></a>
  264. <table cellspacing="0" cellpadding="0" class="detailHeader">
  265. <tr>
  266. <td class="detailHeaderName">data</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  267. </tr>
  268. </table>
  269. <div class="detailBody">
  270. <code>data:*</code>&nbsp;&nbsp;[read-only]<p>
  271. </p><span class="label">Implementation</span>
  272. <br>
  273. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get data():*</code>
  274. <br>
  275. <p>
  276. <span class="label">See also</span>
  277. </p>
  278. <div class="seeAlso">
  279. <a href="../load/Loadable.html#loaded" target="">loaded</a>
  280. <br>
  281. <a href="../load/Loadable.html#loading" target="">loading</a>
  282. </div>
  283. </div>
  284. <a name="loaded"></a>
  285. <table cellspacing="0" cellpadding="0" class="detailHeader">
  286. <tr>
  287. <td class="detailHeaderName">loaded</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  288. </tr>
  289. </table>
  290. <div class="detailBody">
  291. <code>loaded:Boolean</code>&nbsp;&nbsp;[read-only]<p>
  292. Indicates whether the loading process has finished.
  293. </p><span class="label">Implementation</span>
  294. <br>
  295. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loaded():Boolean</code>
  296. <br>
  297. </div>
  298. <a name="loading"></a>
  299. <table cellspacing="0" cellpadding="0" class="detailHeader">
  300. <tr>
  301. <td class="detailHeaderName">loading</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  302. </tr>
  303. </table>
  304. <div class="detailBody">
  305. <code>loading:Boolean</code>&nbsp;&nbsp;[read-only]<p>
  306. Indicates whether the loading process is running.
  307. </p><span class="label">Implementation</span>
  308. <br>
  309. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loading():Boolean</code>
  310. <br>
  311. </div>
  312. <a name="loadTime"></a>
  313. <table cellspacing="0" cellpadding="0" class="detailHeader">
  314. <tr>
  315. <td class="detailHeaderName">loadTime</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  316. </tr>
  317. </table>
  318. <div class="detailBody">
  319. <code>loadTime:uint</code>&nbsp;&nbsp;[read-only]<p>
  320. Indicates, in milliseconds, the time elapsed from loading start to loading completion.
  321. </p><span class="label">Implementation</span>
  322. <br>
  323. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loadTime():uint</code>
  324. <br>
  325. </div>
  326. <a name="progress"></a>
  327. <table cellspacing="0" cellpadding="0" class="detailHeader">
  328. <tr>
  329. <td class="detailHeaderName">progress</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  330. </tr>
  331. </table>
  332. <div class="detailBody">
  333. <code>progress:Number</code>&nbsp;&nbsp;[read-only]<p>
  334. Returns a value between zero and one indicating the current loading progress of the loader.
  335. </p><span class="label">Implementation</span>
  336. <br>
  337. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get progress():Number</code>
  338. <br>
  339. </div>
  340. <a name="url"></a>
  341. <table cellspacing="0" cellpadding="0" class="detailHeader">
  342. <tr>
  343. <td class="detailHeaderName">url</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  344. </tr>
  345. </table>
  346. <div class="detailBody">
  347. <code>url:String</code>&nbsp;&nbsp;[read-write]<p>
  348. Returns the url of the loader. The url property cannot be changed.
  349. </p><span class="label">Implementation</span>
  350. <br>
  351. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get url():String</code>
  352. <br>
  353. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function set url(value:String):void</code>
  354. <br>
  355. </div>
  356. <a name="methodDetail"></a>
  357. <div class="detailSectionHeader">Method detail</div>
  358. <a name="getURLRequest()"></a>
  359. <table cellspacing="0" cellpadding="0" class="detailHeader">
  360. <tr>
  361. <td class="detailHeaderName">getURLRequest</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
  362. </tr>
  363. </table>
  364. <div class="detailBody">
  365. <code>public function getURLRequest():URLRequest</code><p>
  366. Returns the <code>URLRequest</code> of the loader. The <code>URLRequest</code> cannot be changed.
  367. </p><p></p>
  368. <span class="label">Returns</span>
  369. <table border="0" cellspacing="0" cellpadding="0">
  370. <tr>
  371. <td width="20"></td><td><code>URLRequest</code></td>
  372. </tr>
  373. </table>
  374. </div>
  375. <a name="load()"></a>
  376. <table cellspacing="0" cellpadding="0" class="detailHeader">
  377. <tr>
  378. <td class="detailHeaderName">load</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
  379. </tr>
  380. </table>
  381. <div class="detailBody">
  382. <code>public function load(newURL:String = null):void</code><p>
  383. Initiates the loading process of the loader. A new URLRequest cannot be defined through this method.
  384. </p><span class="label">Parameters</span>
  385. <table border="0" cellspacing="0" cellpadding="0">
  386. <tr>
  387. <td width="20px"></td><td><code><span class="label">newURL</span>:String</code> (default = <code>null</code>)<code></code></td>
  388. </tr>
  389. </table>
  390. </div>
  391. <a name="prefetchBytesTotal()"></a>
  392. <table cellspacing="0" cellpadding="0" class="detailHeader">
  393. <tr>
  394. <td class="detailHeaderName">prefetchBytesTotal</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
  395. </tr>
  396. </table>
  397. <div class="detailBody">
  398. <code>public function prefetchBytesTotal():void</code><p>
  399. Instructs the loader to prefech the total file size of target file without having to start the actual loading progress.
  400. </p><p>
  401. <span class="label">See also</span>
  402. </p>
  403. <div class="seeAlso">
  404. <a href="../events/LoaderEvent.html#BYTESTOTAL_PREFETCHED" target="">org.tractionas3.events.LoaderEvent.BYTESTOTAL_PREFETCHED</a>
  405. </div>
  406. </div>
  407. <br>
  408. <br>
  409. <hr>
  410. <br>
  411. <p></p>
  412. <center class="copyright">
  413. </center>
  414. </div>
  415. </body>
  416. </html>
  417. <!-- -->