PageRenderTime 28ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/org/tractionas3/load/ILoadable.html

http://tractionas3.googlecode.com/
HTML | 472 lines | 460 code | 3 blank | 9 comment | 0 complexity | 6e760a6415aad08849c2dcf2e66ceb33 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="ILoadable,org.tractionas3.load.ILoadable,bytesLoaded,bytesTotal,bytesTotalPrefetcher,cancelable,data,loadTime,loaded,loading,name,priority,progress,url,getURLRequest,load,prefetchBytesTotal" name="keywords">
  8. <title>org.tractionas3.load.ILoadable</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 = 'ILoadable - 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/ILoadable.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;ILoadable</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 ILoadable"); 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 ILoadable 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="loaders/AVM1Loader.html">AVM1Loader</a>, <a href="loaders/BitmapDataLoader.html">BitmapDataLoader</a>, <a href="loaders/BitmapLoader.html">BitmapLoader</a>, <a href="loaders/ByteArrayLoader.html">ByteArrayLoader</a>, <a href="loaders/DisplayLoader.html">DisplayLoader</a>, <a href="loaders/LoaderCore.html">LoaderCore</a>, <a href="loaders/SoundLoader.html">SoundLoader</a>, <a href="loaders/StyleSheetLoader.html">StyleSheetLoader</a>, <a href="loaders/SWFLoader.html">SWFLoader</a>, <a href="loaders/URLDataLoader.html">URLDataLoader</a>, <a href="loaders/VideoLoader.html">VideoLoader</a>, <a href="loaders/XMLLoader.html">XMLLoader</a></td>
  42. </tr>
  43. </table>
  44. <p></p>
  45. ILoadable 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">ILoadable</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">ILoadable</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="loaders/BytesTotalPrefetcher.html">BytesTotalPrefetcher</a>
  69. <div class="summaryTableDescription">[read-only]
  70. Returns the bytesTotal prefetcher instance.</div>
  71. </td><td class="summaryTableOwnerCol">ILoadable</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">ILoadable</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">ILoadable</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">ILoadable</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">ILoadable</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">ILoadable</td>
  97. </tr>
  98. <tr class="">
  99. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#name">name</a> : String<div class="summaryTableDescription">
  100. Specifies the name of the loader.</div>
  101. </td><td class="summaryTableOwnerCol">ILoadable</td>
  102. </tr>
  103. <tr class="">
  104. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#priority">priority</a> : uint<div class="summaryTableDescription">
  105. Defines the priority of the loader.</div>
  106. </td><td class="summaryTableOwnerCol">ILoadable</td>
  107. </tr>
  108. <tr class="">
  109. <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]
  110. Returns a value between zero and one indicating the current loading progress of the loader.</div>
  111. </td><td class="summaryTableOwnerCol">ILoadable</td>
  112. </tr>
  113. <tr class="">
  114. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#url">url</a> : String<div class="summaryTableDescription">
  115. Returns the url of the loader.</div>
  116. </td><td class="summaryTableOwnerCol">ILoadable</td>
  117. </tr>
  118. </table>
  119. </div>
  120. <a name="methodSummary"></a>
  121. <div class="summarySection">
  122. <div class="summaryTableTitle">Public Methods</div>
  123. <div class="showHideLinks">
  124. <div class="hideInheritedMethod" id="hideInheritedMethod">
  125. <a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Methods</a>
  126. </div>
  127. <div class="showInheritedMethod" id="showInheritedMethod">
  128. <a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Methods</a>
  129. </div>
  130. </div>
  131. <table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
  132. <tr>
  133. <th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
  134. </tr>
  135. <tr class="hideInheritedMethod">
  136. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  137. <div class="summarySignature">
  138. <a class="signatureLink" href="../core/interfaces/ICloneable.html#clone()">clone</a>():<a href="../core/interfaces/ICloneable.html">ICloneable</a>
  139. </div>
  140. <div class="summaryTableDescription">
  141. Creates a duplicate of the instance.</div>
  142. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/ICloneable.html">ICloneable</a></td>
  143. </tr>
  144. <tr class="hideInheritedMethod">
  145. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  146. <div class="summarySignature">
  147. <a class="signatureLink" href="../core/interfaces/IDestructable.html#destruct()">destruct</a>(deepDestruct:Boolean = false):void</div>
  148. <div class="summaryTableDescription">
  149. Destructs implementing instance of specified properties.</div>
  150. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/IDestructable.html">IDestructable</a></td>
  151. </tr>
  152. <tr class="">
  153. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
  154. <div class="summarySignature">
  155. <a class="signatureLink" href="#getURLRequest()">getURLRequest</a>():URLRequest</div>
  156. <div class="summaryTableDescription">
  157. Returns the <code>URLRequest</code> of the loader.</div>
  158. </td><td class="summaryTableOwnerCol">ILoadable</td>
  159. </tr>
  160. <tr class="hideInheritedMethod">
  161. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  162. <div class="summarySignature">
  163. <a class="signatureLink" href="../core/interfaces/IDestructable.html#listDestructableProperties()">listDestructableProperties</a>():Array</div>
  164. <div class="summaryTableDescription">
  165. Specifies an array of strings representing properties that are to be
  166. nullified or reset upon destruction.</div>
  167. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/IDestructable.html">IDestructable</a></td>
  168. </tr>
  169. <tr class="">
  170. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
  171. <div class="summarySignature">
  172. <a class="signatureLink" href="#load()">load</a>(newURL:String = null):void</div>
  173. <div class="summaryTableDescription">
  174. Initiates the loading process of the loader.</div>
  175. </td><td class="summaryTableOwnerCol">ILoadable</td>
  176. </tr>
  177. <tr class="">
  178. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
  179. <div class="summarySignature">
  180. <a class="signatureLink" href="#prefetchBytesTotal()">prefetchBytesTotal</a>():void</div>
  181. <div class="summaryTableDescription">
  182. Instructs the loader to prefech the total file size of target file without having to start the actual loading progress.</div>
  183. </td><td class="summaryTableOwnerCol">ILoadable</td>
  184. </tr>
  185. <tr class="hideInheritedMethod">
  186. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  187. <div class="summarySignature">
  188. <a class="signatureLink" href="../core/interfaces/IResetable.html#reset()">reset</a>():void</div>
  189. <div class="summaryTableDescription">
  190. Resets the resetable instance to its construct state.</div>
  191. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/IResetable.html">IResetable</a></td>
  192. </tr>
  193. <tr class="hideInheritedMethod">
  194. <td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
  195. <div class="summarySignature">
  196. <a class="signatureLink" href="../core/interfaces/ICoreInterface.html#toString()">toString</a>():String</div>
  197. <div class="summaryTableDescription">
  198. Returns the string representation of the instance.</div>
  199. </td><td class="summaryTableOwnerCol"><a href="../core/interfaces/ICoreInterface.html">ICoreInterface</a></td>
  200. </tr>
  201. </table>
  202. </div>
  203. <script type="text/javascript" language="javascript">
  204. <!--
  205. showHideInherited();
  206. --></script>
  207. <div class="MainContent">
  208. <a name="propertyDetail"></a>
  209. <div class="detailSectionHeader">Property detail</div>
  210. <a name="bytesLoaded"></a>
  211. <table cellspacing="0" cellpadding="0" class="detailHeader">
  212. <tr>
  213. <td class="detailHeaderName">bytesLoaded</td><td class="detailHeaderType">property</td>
  214. </tr>
  215. </table>
  216. <div class="detailBody">
  217. <code>bytesLoaded:uint</code>&nbsp;&nbsp;[read-only]<p>
  218. Indicates the number of loaded bytes from the loaders target file.
  219. </p><span class="label">Implementation</span>
  220. <br>
  221. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesLoaded():uint</code>
  222. <br>
  223. </div>
  224. <a name="bytesTotal"></a>
  225. <table cellspacing="0" cellpadding="0" class="detailHeader">
  226. <tr>
  227. <td class="detailHeaderName">bytesTotal</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  228. </tr>
  229. </table>
  230. <div class="detailBody">
  231. <code>bytesTotal:int</code>&nbsp;&nbsp;[read-only]<p>
  232. Indicates the number of total bytes of the loaders target file.
  233. </p><span class="label">Implementation</span>
  234. <br>
  235. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesTotal():int</code>
  236. <br>
  237. </div>
  238. <a name="bytesTotalPrefetcher"></a>
  239. <table cellspacing="0" cellpadding="0" class="detailHeader">
  240. <tr>
  241. <td class="detailHeaderName">bytesTotalPrefetcher</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  242. </tr>
  243. </table>
  244. <div class="detailBody">
  245. <code>bytesTotalPrefetcher:<a href="loaders/BytesTotalPrefetcher.html">BytesTotalPrefetcher</a></code>&nbsp;&nbsp;[read-only]<p>
  246. Returns the bytesTotal prefetcher instance.
  247. </p><span class="label">Implementation</span>
  248. <br>
  249. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesTotalPrefetcher():<a href="loaders/BytesTotalPrefetcher.html">BytesTotalPrefetcher</a></code>
  250. <br>
  251. </div>
  252. <a name="cancelable"></a>
  253. <table cellspacing="0" cellpadding="0" class="detailHeader">
  254. <tr>
  255. <td class="detailHeaderName">cancelable</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  256. </tr>
  257. </table>
  258. <div class="detailBody">
  259. <code>cancelable:Boolean</code>&nbsp;&nbsp;[read-only]<p>
  260. Indicates whether the loader is cancelable. Cancelable loaders may be interrupted while loading.
  261. 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
  262. the <code>load()</code> method again.
  263. </p><span class="label">Implementation</span>
  264. <br>
  265. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get cancelable():Boolean</code>
  266. <br>
  267. <p>
  268. <span class="label">See also</span>
  269. </p>
  270. <div class="seeAlso">org.tractionas3.core.interfaces.Cancelable;<br>reset()<br>load()</div>
  271. </div>
  272. <a name="data"></a>
  273. <table cellspacing="0" cellpadding="0" class="detailHeader">
  274. <tr>
  275. <td class="detailHeaderName">data</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  276. </tr>
  277. </table>
  278. <div class="detailBody">
  279. <code>data:*</code>&nbsp;&nbsp;[read-only]<p>
  280. </p><span class="label">Implementation</span>
  281. <br>
  282. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get data():*</code>
  283. <br>
  284. <p>
  285. <span class="label">See also</span>
  286. </p>
  287. <div class="seeAlso">
  288. <a href="../load/ILoadable.html#loaded" target="">loaded</a>
  289. <br>
  290. <a href="../load/ILoadable.html#loading" target="">loading</a>
  291. </div>
  292. </div>
  293. <a name="loaded"></a>
  294. <table cellspacing="0" cellpadding="0" class="detailHeader">
  295. <tr>
  296. <td class="detailHeaderName">loaded</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  297. </tr>
  298. </table>
  299. <div class="detailBody">
  300. <code>loaded:Boolean</code>&nbsp;&nbsp;[read-only]<p>
  301. Indicates whether the loading process has finished.
  302. </p><span class="label">Implementation</span>
  303. <br>
  304. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loaded():Boolean</code>
  305. <br>
  306. </div>
  307. <a name="loading"></a>
  308. <table cellspacing="0" cellpadding="0" class="detailHeader">
  309. <tr>
  310. <td class="detailHeaderName">loading</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  311. </tr>
  312. </table>
  313. <div class="detailBody">
  314. <code>loading:Boolean</code>&nbsp;&nbsp;[read-only]<p>
  315. Indicates whether the loading process is running.
  316. </p><span class="label">Implementation</span>
  317. <br>
  318. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loading():Boolean</code>
  319. <br>
  320. </div>
  321. <a name="loadTime"></a>
  322. <table cellspacing="0" cellpadding="0" class="detailHeader">
  323. <tr>
  324. <td class="detailHeaderName">loadTime</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  325. </tr>
  326. </table>
  327. <div class="detailBody">
  328. <code>loadTime:uint</code>&nbsp;&nbsp;[read-only]<p>
  329. Indicates, in milliseconds, the time elapsed from loading start to loading completion.
  330. </p><span class="label">Implementation</span>
  331. <br>
  332. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get loadTime():uint</code>
  333. <br>
  334. </div>
  335. <a name="name"></a>
  336. <table cellspacing="0" cellpadding="0" class="detailHeader">
  337. <tr>
  338. <td class="detailHeaderName">name</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  339. </tr>
  340. </table>
  341. <div class="detailBody">
  342. <code>name:String</code>&nbsp;&nbsp;[read-write]<p>
  343. Specifies the name of the loader.
  344. A loader name must be unique.
  345. </p><span class="label">Implementation</span>
  346. <br>
  347. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get name():String</code>
  348. <br>
  349. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function set name(value:String):void</code>
  350. <br>
  351. </div>
  352. <a name="priority"></a>
  353. <table cellspacing="0" cellpadding="0" class="detailHeader">
  354. <tr>
  355. <td class="detailHeaderName">priority</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  356. </tr>
  357. </table>
  358. <div class="detailBody">
  359. <code>priority:uint</code>&nbsp;&nbsp;[read-write]<p>
  360. Defines the priority of the loader.
  361. Loaders with a high priority value will be loaded before loaders with a higher priority value
  362. in a loader queue.
  363. </p><span class="label">Implementation</span>
  364. <br>
  365. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get priority():uint</code>
  366. <br>
  367. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function set priority(value:uint):void</code>
  368. <br>
  369. <p>
  370. <span class="label">See also</span>
  371. </p>
  372. <div class="seeAlso">
  373. <a href="../load/LoaderQueue.html" target="">org.tractionas3.load.LoaderQueue</a>
  374. <br>
  375. <a href="../load/LoadManager.html" target="">org.tractionas3.load.LoadManager</a>
  376. </div>
  377. </div>
  378. <a name="progress"></a>
  379. <table cellspacing="0" cellpadding="0" class="detailHeader">
  380. <tr>
  381. <td class="detailHeaderName">progress</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  382. </tr>
  383. </table>
  384. <div class="detailBody">
  385. <code>progress:Number</code>&nbsp;&nbsp;[read-only]<p>
  386. Returns a value between zero and one indicating the current loading progress of the loader.
  387. </p><span class="label">Implementation</span>
  388. <br>
  389. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get progress():Number</code>
  390. <br>
  391. </div>
  392. <a name="url"></a>
  393. <table cellspacing="0" cellpadding="0" class="detailHeader">
  394. <tr>
  395. <td class="detailHeaderName">url</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
  396. </tr>
  397. </table>
  398. <div class="detailBody">
  399. <code>url:String</code>&nbsp;&nbsp;[read-write]<p>
  400. Returns the url of the loader. The url property cannot be changed.
  401. </p><span class="label">Implementation</span>
  402. <br>
  403. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function get url():String</code>
  404. <br>
  405. <code>&nbsp;&nbsp;&nbsp;&nbsp;public function set url(value:String):void</code>
  406. <br>
  407. </div>
  408. <a name="methodDetail"></a>
  409. <div class="detailSectionHeader">Method detail</div>
  410. <a name="getURLRequest()"></a>
  411. <table cellspacing="0" cellpadding="0" class="detailHeader">
  412. <tr>
  413. <td class="detailHeaderName">getURLRequest</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
  414. </tr>
  415. </table>
  416. <div class="detailBody">
  417. <code>public function getURLRequest():URLRequest</code><p>
  418. Returns the <code>URLRequest</code> of the loader. The <code>URLRequest</code> cannot be changed.
  419. </p><p></p>
  420. <span class="label">Returns</span>
  421. <table border="0" cellspacing="0" cellpadding="0">
  422. <tr>
  423. <td width="20"></td><td><code>URLRequest</code></td>
  424. </tr>
  425. </table>
  426. </div>
  427. <a name="load()"></a>
  428. <table cellspacing="0" cellpadding="0" class="detailHeader">
  429. <tr>
  430. <td class="detailHeaderName">load</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
  431. </tr>
  432. </table>
  433. <div class="detailBody">
  434. <code>public function load(newURL:String = null):void</code><p>
  435. Initiates the loading process of the loader. A new URLRequest cannot be defined through this method.
  436. </p><span class="label">Parameters</span>
  437. <table border="0" cellspacing="0" cellpadding="0">
  438. <tr>
  439. <td width="20px"></td><td><code><span class="label">newURL</span>:String</code> (default = <code>null</code>)<code></code></td>
  440. </tr>
  441. </table>
  442. </div>
  443. <a name="prefetchBytesTotal()"></a>
  444. <table cellspacing="0" cellpadding="0" class="detailHeader">
  445. <tr>
  446. <td class="detailHeaderName">prefetchBytesTotal</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
  447. </tr>
  448. </table>
  449. <div class="detailBody">
  450. <code>public function prefetchBytesTotal():void</code><p>
  451. Instructs the loader to prefech the total file size of target file without having to start the actual loading progress.
  452. </p><p>
  453. <span class="label">See also</span>
  454. </p>
  455. <div class="seeAlso">
  456. <a href="../events/LoaderEvent.html#BYTESTOTAL_PREFETCHED" target="">org.tractionas3.events.LoaderEvent.BYTESTOTAL_PREFETCHED</a>
  457. </div>
  458. </div>
  459. <br>
  460. <br>
  461. <hr>
  462. <br>
  463. <p></p>
  464. <center class="copyright">
  465. </center>
  466. </div>
  467. </body>
  468. </html>
  469. <!-- -->