Skip to content
Browse files

Initial commit.

  • Loading branch information...
0 parents commit e0d76936bf2f5cbd788479f70c235b3594f12c37 @spocke spocke committed
Showing with 9,865 additions and 0 deletions.
  1. +2 −0 build.bat
  2. +94 −0 build.xml
  3. +3 −0 changelog.txt
  4. +143 −0 docs/api/class_plupload.File.html
  5. +110 −0 docs/api/class_plupload.FlashRuntime.html
  6. +110 −0 docs/api/class_plupload.GearsRuntime.html
  7. +110 −0 docs/api/class_plupload.Html5Runtime.html
  8. +173 −0 docs/api/class_plupload.QueueProgress.html
  9. +107 −0 docs/api/class_plupload.Runtime.html
  10. +110 −0 docs/api/class_plupload.SilverlightRuntime.html
  11. +403 −0 docs/api/class_plupload.Uploader.html
  12. +403 −0 docs/api/class_plupload.html
  13. +235 −0 docs/api/css/general.css
  14. +467 −0 docs/api/css/grids.css
  15. +75 −0 docs/api/css/jquery.treeview.css
  16. +142 −0 docs/api/css/reset.css
  17. +342 −0 docs/api/css/shCore.css
  18. +191 −0 docs/api/css/shThemeMoxieDoc.css
  19. BIN docs/api/img/class.gif
  20. BIN docs/api/img/event.gif
  21. BIN docs/api/img/help.png
  22. BIN docs/api/img/inherit-arrow.gif
  23. BIN docs/api/img/inherited.gif
  24. BIN docs/api/img/loader.gif
  25. BIN docs/api/img/magnifier.png
  26. BIN docs/api/img/method.gif
  27. BIN docs/api/img/namespace.gif
  28. BIN docs/api/img/page_white_code.png
  29. BIN docs/api/img/page_white_copy.png
  30. BIN docs/api/img/printer.png
  31. BIN docs/api/img/property.gif
  32. BIN docs/api/img/root.gif
  33. BIN docs/api/img/static.gif
  34. BIN docs/api/img/treeview-famfamfam.gif
  35. BIN docs/api/img/wrapping.png
  36. +98 −0 docs/api/index.html
  37. BIN docs/api/js/clipboard.swf
  38. +96 −0 docs/api/js/general.js
  39. +15 −0 docs/api/js/jquery.treeview.min.js
  40. +52 −0 docs/api/js/shBrushJScript.js
  41. +30 −0 docs/api/js/shCore.js
  42. +424 −0 docs/api/model.xml
  43. +219 −0 docs/api/plupload.vsdoc.js
  44. +163 −0 examples/css/plupload.queue.css
  45. +7 −0 examples/css/plupload.single.css
  46. +31 −0 examples/dump.php
  47. BIN examples/img/add.gif
  48. BIN examples/img/backgrounds.gif
  49. BIN examples/img/delete.gif
  50. BIN examples/img/done.gif
  51. BIN examples/img/error.gif
  52. BIN examples/img/start.gif
  53. BIN examples/img/stop.gif
  54. BIN examples/img/throbber.gif
  55. BIN examples/img/transp50.png
  56. +113 −0 examples/queue_widget.html
  57. +72 −0 examples/single_widget.html
  58. +62 −0 examples/upload.php
  59. +86 −0 js/gears_init.js
  60. +1 −0 js/jquery.plupload.queue.min.js
  61. +1 −0 js/jquery.plupload.single.min.js
  62. +1 −0 js/plupload.flash.min.js
  63. BIN js/plupload.flash.swf
  64. +1 −0 js/plupload.full.min.js
  65. +1 −0 js/plupload.gears.min.js
  66. +1 −0 js/plupload.html5.min.js
  67. +1 −0 js/plupload.silverlight.min.js
  68. BIN js/plupload.silverlight.xap
  69. +339 −0 license.txt
  70. +18 −0 src/csharp/Plupload.sln
  71. BIN src/csharp/Plupload.suo
  72. +8 −0 src/csharp/Plupload/App.xaml
  73. +43 −0 src/csharp/Plupload/App.xaml.cs
  74. +401 −0 src/csharp/Plupload/FileReference.cs
  75. +6 −0 src/csharp/Plupload/Page.xaml
  76. +185 −0 src/csharp/Plupload/Page.xaml.cs
  77. +94 −0 src/csharp/Plupload/Plupload.csproj
  78. +18 −0 src/csharp/Plupload/Plupload.sln
  79. +5 −0 src/csharp/Plupload/Properties/AppManifest.xml
  80. +45 −0 src/csharp/Plupload/Properties/AssemblyInfo.cs
  81. +18 −0 src/csharp/Plupload/Upload.sln
  82. +79 −0 src/flash/plupload/Plupload.as3proj
  83. +252 −0 src/flash/plupload/src/com/moxiecode/plupload/File.as
  84. +324 −0 src/flash/plupload/src/com/moxiecode/plupload/Plupload.as
  85. +54 −0 src/flash/plupload/src/com/moxiecode/plupload/UploadChunkEvent.as
  86. +241 −0 src/javascript/jquery.plupload.queue.js
  87. +101 −0 src/javascript/jquery.plupload.single.js
  88. +207 −0 src/javascript/plupload.flash.js
  89. +136 −0 src/javascript/plupload.gears.js
  90. +175 −0 src/javascript/plupload.html5.js
  91. +763 −0 src/javascript/plupload.js
  92. +225 −0 src/javascript/plupload.silverlight.js
  93. BIN tools/ant/ant-contrib.jar
  94. BIN tools/ant/js_build_tools.jar
  95. BIN tools/ant/svnClientAdapter.jar
  96. BIN tools/ant/svnant.jar
  97. BIN tools/ant/svnjavahl.jar
  98. BIN tools/ant/svnkit.jar
  99. BIN tools/ant/yuicompressor.jar
  100. +656 −0 tools/templates/class.xsl
  101. +235 −0 tools/templates/css/general.css
  102. +467 −0 tools/templates/css/grids.css
  103. +75 −0 tools/templates/css/jquery.treeview.css
Sorry, we could not display the entire diff because it was too big.
2 build.bat
@@ -0,0 +1,2 @@
+@echo off
+ant -q %*
94 build.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Plupload" default="build" basedir=".">
+ <!-- Path properties -->
+ <property description="Export directory" name="export_dir" value="export" />
+
+ <!-- Setup classpath for js-build-tools ant tasks -->
+ <path id="tasks.classpath">
+ <pathelement location="."/>
+
+ <fileset dir="tools\ant">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- Register new js-build-tools ant tasks -->
+ <taskdef name="preprocess" classname="com.moxiecode.ant.tasks.PreProcessTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <taskdef name="yuicompress" classname="com.moxiecode.ant.tasks.YuiCompressTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <taskdef name="moxiedoc" classname="com.moxiecode.ant.tasks.MoxieDocTask" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="tasks.classpath" loaderref="tasks.classpath.loader" />
+
+ <!-- Generate JS documentation -->
+ <target name="moxiedoc" depends="" description="Generates HTML documentation out of js source">
+ <delete quiet="true">
+ <fileset dir="docs\api" includes="**/*"/>
+ </delete>
+
+ <moxiedoc outdir="docs\api" templatedir="tools\templates" msintellisense="docs\api\plupload.vsdoc.js" title="Plupload API">
+ <fileset dir="js">
+ <exclude name="jquery.*" />
+ <exclude name="gears_init.js" />
+ <exclude name="**/*.min.js" />
+ <include name="**/*.js" />
+ </fileset>
+ </moxiedoc>
+ </target>
+
+ <target name="build">
+ <!-- Concat multuple JS files together -->
+ <concat destfile="js/plupload.full.tmp.js">
+ <fileset dir="src/javascript" includes="plupload.js" />
+ <fileset dir="src/javascript" includes="plupload.gears.js" />
+ <fileset dir="src/javascript" includes="plupload.silverlight.js" />
+ <fileset dir="src/javascript" includes="plupload.flash.js" />
+ <fileset dir="src/javascript" includes="plupload.html5.js" />
+ </concat>
+
+ <!-- Compress Plupload full and base using the YUI Compressor -->
+ <yuicompress infile="js/plupload.full.tmp.js" outfile="js/plupload.full.min.js" />
+ <yuicompress infile="src/javascript/jquery.plupload.queue.js" outfile="js/jquery.plupload.queue.min.js" />
+ <yuicompress infile="src/javascript/jquery.plupload.single.js" outfile="js/jquery.plupload.single.min.js" />
+ <yuicompress infile="src/javascript/plupload.js" outfile="js/plupload.min.js" />
+ <yuicompress infile="src/javascript/plupload.gears.js" outfile="js/plupload.gears.min.js" />
+ <yuicompress infile="src/javascript/plupload.silverlight.js" outfile="js/plupload.silverlight.min.js" />
+ <yuicompress infile="src/javascript/plupload.flash.js" outfile="js/plupload.flash.min.js" />
+ <yuicompress infile="src/javascript/plupload.html5.js" outfile="js/plupload.html5.min.js" />
+
+ <delete file="js/plupload.full.tmp.js" quiet="true" />
+ </target>
+
+ <target name="release">
+ <!-- Export -->
+ <delete dir="${export_dir}/plupload" quiet="true" />
+
+ <svn javahl="${javahl}">
+ <export srcUrl="http://plupload.googlecode.com/svn/trunk/" destPath="${export_dir}/plupload" />
+ </svn>
+
+ <!-- Parse minor version, major version and release date from changelog -->
+ <loadfile property="changelog" srcFile="${export_dir}/plupload/changelog.txt" />
+ <propertyregex property="version" input="${changelog}" regexp="^Version ([0-9xabrc.]+)" select="\1" />
+ <propertyregex property="release_date" input="${changelog}" regexp="^Version [^\(]+\(([^\)]+)\)" select="\1" />
+ <propertyregex property="file_version" input="${version}" regexp="\." replace="_" />
+
+ <!-- Compress production package -->
+ <delete file="${export_dir}/plupload_${file_version}.zip" quiet="true" />
+ <zip destfile="${export_dir}/plupload_${file_version}.zip">
+ <fileset dir="${export_dir}/plupload">
+ <include name="*/**" />
+ <exclude name="tools/**" />
+ <exclude name="build.xml" />
+ <exclude name="build.bat" />
+ </fileset>
+ </zip>
+
+ <!-- Compress dev package -->
+ <delete file="${export_dir}/plupload_${file_version}_dev.zip" quiet="true" />
+ <zip destfile="${export_dir}/plupload_${file_version}_dev.zip">
+ <fileset dir="${export_dir}/plupload">
+ <include name="*/**" />
+ </fileset>
+ </zip>
+ </target>
+</project>
3 changelog.txt
@@ -0,0 +1,3 @@
+Version 1.0 (2009-xx-xx)
+ First official release of Plupload.
+
143 docs/api/class_plupload.File.html
@@ -0,0 +1,143 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.File</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.File</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">File</td>
+</tr>
+</table>
+<div class="classDescription">File instance.
+</div>
+<div class="summaryLists">
+<h2>Public Properties</h2>
+<table class="Properties summary">
+<thead>
+<tr>
+<th>Property</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#id">id</a> : String</div>
+<div class="summary">File id this is a globally unique id for the specific file.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#loaded">loaded</a> : Number</div>
+<div class="summary">Number of bytes uploaded of the files total size.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#name">name</a> : String</div>
+<div class="summary">File name for example "myfile.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#percent">percent</a> : Number</div>
+<div class="summary">Number of percentage uploaded of the file.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#size">size</a> : Number</div>
+<div class="summary">File size in bytes.</div>
+</td>
+<td class="last">File</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.File.html#status">status</a> : Number</div>
+<div class="summary">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.</div>
+</td>
+<td class="last">File</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Property details</h2>
+<div class="memberDetails" id="id">
+<h3>id<span class="memberType">property</span>
+</h3>
+<code class="syntax">public id : String</code>
+<div class="memberDescription">File id this is a globally unique id for the specific file.
+</div>
+</div>
+<div class="memberDetails" id="loaded">
+<h3>loaded<span class="memberType">property</span>
+</h3>
+<code class="syntax">public loaded : Number</code>
+<div class="memberDescription">Number of bytes uploaded of the files total size.
+</div>
+</div>
+<div class="memberDetails" id="name">
+<h3>name<span class="memberType">property</span>
+</h3>
+<code class="syntax">public name : String</code>
+<div class="memberDescription">File name for example "myfile.gif".
+</div>
+</div>
+<div class="memberDetails" id="percent">
+<h3>percent<span class="memberType">property</span>
+</h3>
+<code class="syntax">public percent : Number</code>
+<div class="memberDescription">Number of percentage uploaded of the file.
+</div>
+</div>
+<div class="memberDetails" id="size">
+<h3>size<span class="memberType">property</span>
+</h3>
+<code class="syntax">public size : Number</code>
+<div class="memberDescription">File size in bytes.
+</div>
+</div>
+<div class="memberDetails last" id="status">
+<h3>status<span class="memberType">property</span>
+</h3>
+<code class="syntax">public status : Number</code>
+<div class="memberDescription">Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.
+</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
110 docs/api/class_plupload.FlashRuntime.html
@@ -0,0 +1,110 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.FlashRuntime</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.FlashRuntime</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">FlashRuntime</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+<tr>
+<td class="first">Inheritance</td>
+<td class="last inheritageList">
+<span>FlashRuntime</span>
+<span class="last">
+<a href="class_plupload.Runtime.html">Runtime</a>
+</span>
+</td>
+</tr>
+</table>
+<div class="classDescription">FlashRuntime implementation.
+</div>
+<div class="summaryLists">
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.FlashRuntime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</div>
+<div class="summary">
+<span class="static">[static] </span>Initializes the upload runtime.</div>
+</td>
+<td class="last">FlashRuntime</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.FlashRuntime.html#isSupported">isSupported</a>():boolean</div>
+<div class="summary">
+<span class="static">[static] </span>Checks if the Flash is installed or not.</div>
+</td>
+<td class="last">FlashRuntime</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</code>
+<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance that needs to be initialized.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="isSupported">
+<h3>isSupported<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function isSupported():boolean</code>
+<div class="memberDescription">Checks if the Flash is installed or not.
+</div>
+<h4>Returns</h4>
+<div class="returns">boolean - true/false if the runtime exists.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
110 docs/api/class_plupload.GearsRuntime.html
@@ -0,0 +1,110 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.GearsRuntime</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.GearsRuntime</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">GearsRuntime</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+<tr>
+<td class="first">Inheritance</td>
+<td class="last inheritageList">
+<span>GearsRuntime</span>
+<span class="last">
+<a href="class_plupload.Runtime.html">Runtime</a>
+</span>
+</td>
+</tr>
+</table>
+<div class="classDescription">Gears implementation.
+</div>
+<div class="summaryLists">
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.GearsRuntime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</div>
+<div class="summary">
+<span class="static">[static] </span>Initializes the upload runtime.</div>
+</td>
+<td class="last">GearsRuntime</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.GearsRuntime.html#isSupported">isSupported</a>():boolean</div>
+<div class="summary">
+<span class="static">[static] </span>Checks if the Google Gears is installed or not.</div>
+</td>
+<td class="last">GearsRuntime</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</code>
+<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance that needs to be initialized.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="isSupported">
+<h3>isSupported<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function isSupported():boolean</code>
+<div class="memberDescription">Checks if the Google Gears is installed or not.
+</div>
+<h4>Returns</h4>
+<div class="returns">boolean - true/false if the runtime exists.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
110 docs/api/class_plupload.Html5Runtime.html
@@ -0,0 +1,110 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.Html5Runtime</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.Html5Runtime</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">Html5Runtime</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+<tr>
+<td class="first">Inheritance</td>
+<td class="last inheritageList">
+<span>Html5Runtime</span>
+<span class="last">
+<a href="class_plupload.Runtime.html">Runtime</a>
+</span>
+</td>
+</tr>
+</table>
+<div class="classDescription">HMTL5 implementation.
+</div>
+<div class="summaryLists">
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Html5Runtime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</div>
+<div class="summary">
+<span class="static">[static] </span>Initializes the upload runtime.</div>
+</td>
+<td class="last">Html5Runtime</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Html5Runtime.html#isSupported">isSupported</a>():boolean</div>
+<div class="summary">
+<span class="static">[static] </span>Checks if the browser has HTML 5 upload support or not.</div>
+</td>
+<td class="last">Html5Runtime</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</code>
+<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance that needs to be initialized.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="isSupported">
+<h3>isSupported<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function isSupported():boolean</code>
+<div class="memberDescription">Checks if the browser has HTML 5 upload support or not.
+</div>
+<h4>Returns</h4>
+<div class="returns">boolean - true/false if the runtime exists.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
173 docs/api/class_plupload.QueueProgress.html
@@ -0,0 +1,173 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.QueueProgress</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.QueueProgress</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">QueueProgress</td>
+</tr>
+</table>
+<div class="classDescription">Runtime class gets implemented by each upload runtime.
+</div>
+<div class="summaryLists">
+<h2>Public Properties</h2>
+<table class="Properties summary">
+<thead>
+<tr>
+<th>Property</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#failed">failed</a> : Number</div>
+<div class="summary">Number of files failed to upload.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#loaded">loaded</a> : Number</div>
+<div class="summary">Total bytes uploaded.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#percent">percent</a> : Number</div>
+<div class="summary">Total percent of the uploaded bytes.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#queued">queued</a> : Number</div>
+<div class="summary">Number of files yet to be uploaded.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#size">size</a> : Number</div>
+<div class="summary">Total queue file size.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#uploaded">uploaded</a> : Number</div>
+<div class="summary">Number of files uploaded.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+</tbody>
+</table>
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.QueueProgress.html#reset">reset</a>():void</div>
+<div class="summary">Resets the progress to it's initial values.</div>
+</td>
+<td class="last">QueueProgress</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Property details</h2>
+<div class="memberDetails" id="failed">
+<h3>failed<span class="memberType">property</span>
+</h3>
+<code class="syntax">public failed : Number</code>
+<div class="memberDescription">Number of files failed to upload.
+</div>
+</div>
+<div class="memberDetails" id="loaded">
+<h3>loaded<span class="memberType">property</span>
+</h3>
+<code class="syntax">public loaded : Number</code>
+<div class="memberDescription">Total bytes uploaded.
+</div>
+</div>
+<div class="memberDetails" id="percent">
+<h3>percent<span class="memberType">property</span>
+</h3>
+<code class="syntax">public percent : Number</code>
+<div class="memberDescription">Total percent of the uploaded bytes.
+</div>
+</div>
+<div class="memberDetails" id="queued">
+<h3>queued<span class="memberType">property</span>
+</h3>
+<code class="syntax">public queued : Number</code>
+<div class="memberDescription">Number of files yet to be uploaded.
+</div>
+</div>
+<div class="memberDetails" id="size">
+<h3>size<span class="memberType">property</span>
+</h3>
+<code class="syntax">public size : Number</code>
+<div class="memberDescription">Total queue file size.
+</div>
+</div>
+<div class="memberDetails last" id="uploaded">
+<h3>uploaded<span class="memberType">property</span>
+</h3>
+<code class="syntax">public uploaded : Number</code>
+<div class="memberDescription">Number of files uploaded.
+</div>
+</div>
+</div>
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails last" id="reset">
+<h3>reset<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function reset():void</code>
+<div class="memberDescription">Resets the progress to it's initial values.
+</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
107 docs/api/class_plupload.Runtime.html
@@ -0,0 +1,107 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.Runtime</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.Runtime</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">Runtime</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+<tr>
+<td class="first">Subclasses</td>
+<td class="last subClassList">
+<a href="class_plupload.FlashRuntime.html">FlashRuntime</a>, <a href="class_plupload.GearsRuntime.html">GearsRuntime</a>, <a href="class_plupload.Html5Runtime.html">Html5Runtime</a>, <a href="class_plupload.SilverlightRuntime.html">SilverlightRuntime</a>
+</td>
+</tr>
+</table>
+<div class="classDescription">Runtime class gets implemented by each upload runtime.
+</div>
+<div class="summaryLists">
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Runtime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</div>
+<div class="summary">
+<span class="static">[static] </span>Initializes the upload runtime.</div>
+</td>
+<td class="last">Runtime</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Runtime.html#isSupported">isSupported</a>():boolean</div>
+<div class="summary">
+<span class="static">[static] </span>Checks if the runtime is supported by the browser or not.</div>
+</td>
+<td class="last">Runtime</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</code>
+<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance that needs to be initialized.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="isSupported">
+<h3>isSupported<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function isSupported():boolean</code>
+<div class="memberDescription">Checks if the runtime is supported by the browser or not.
+</div>
+<h4>Returns</h4>
+<div class="returns">boolean - true/false if the runtime exists.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
110 docs/api/class_plupload.SilverlightRuntime.html
@@ -0,0 +1,110 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.SilverlightRuntime</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.SilverlightRuntime</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">SilverlightRuntime</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+<tr>
+<td class="first">Inheritance</td>
+<td class="last inheritageList">
+<span>SilverlightRuntime</span>
+<span class="last">
+<a href="class_plupload.Runtime.html">Runtime</a>
+</span>
+</td>
+</tr>
+</table>
+<div class="classDescription">Silverlight implementation.
+</div>
+<div class="summaryLists">
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.SilverlightRuntime.html#init">init</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</div>
+<div class="summary">
+<span class="static">[static] </span>Initializes the upload runtime.</div>
+</td>
+<td class="last">SilverlightRuntime</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.SilverlightRuntime.html#isSupported">isSupported</a>():boolean</div>
+<div class="summary">
+<span class="static">[static] </span>Checks if Silverlight is installed or not.</div>
+</td>
+<td class="last">SilverlightRuntime</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function init(uploader:<a href="class_plupload.Uploader.html">Uploader</a>):void</code>
+<div class="memberDescription">Initializes the upload runtime. This method should add necessary items to the DOM and register events needed for operation.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance that needs to be initialized.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="isSupported">
+<h3>isSupported<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function isSupported():boolean</code>
+<div class="memberDescription">Checks if Silverlight is installed or not.
+</div>
+<h4>Returns</h4>
+<div class="returns">boolean - true/false if the runtime exists.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
403 docs/api/class_plupload.Uploader.html
@@ -0,0 +1,403 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload.Uploader</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload.Uploader</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Namespace</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Class</td>
+<td class="last">Uploader</td>
+</tr>
+</table>
+<div class="classDescription">Uploader class, an instance of this class will be created for each upload field.
+</div>
+<div class="summaryLists">
+<h2>Public Properties</h2>
+<table class="Properties summary">
+<thead>
+<tr>
+<th>Property</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#files">files</a> : Array</div>
+<div class="summary">Array of File instances.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#id">id</a> : String</div>
+<div class="summary">Unique id for the Uploader instance.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#settings">settings</a> : Object</div>
+<div class="summary">Object with name/value settings.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#total">total</a> : <a href="class_plupload.QueueProgress.html">QueueProgress</a>
+</div>
+<div class="summary">Total progess information.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+</tbody>
+</table>
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#bind">bind</a>(name:String, func:function, scope:Object):void</div>
+<div class="summary">Adds an event listener by name.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#browse">browse</a>(browse_settings:Object):void</div>
+<div class="summary">Browse for files to upload.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#getFile">getFile</a>(id:String):<a href="class_plupload.File.html">File</a>
+</div>
+<div class="summary">Returns the specified file object by id.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#init">init</a>():void</div>
+<div class="summary">Initializes the Uploader instance and adds internal event listeners.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#removeAll">removeAll</a>():void</div>
+<div class="summary">Clears the upload queue.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#removeFile">removeFile</a>(file:<a href="class_plupload.File.html">File</a>):void</div>
+<div class="summary">Removes a specific file.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#start">start</a>():void</div>
+<div class="summary">Starts uploading the queued files.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#stop">stop</a>():void</div>
+<div class="summary">Stops the upload of the queued files.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#trigger">trigger</a>(name:String, Multiple:Object..):void</div>
+<div class="summary">Dispatches the specified event name and it's arguments to all listeners.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#unbind">unbind</a>(name:String, func:function):void</div>
+<div class="summary">Removes the specified event listener.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+</tbody>
+</table>
+<h2>Public Events</h2>
+<table class="Events summary">
+<thead>
+<tr>
+<th>Event</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.Uploader.html#UploadFile">UploadFile</a>(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</div>
+<div class="summary">Fires when a file is to be uploaded by the runtime.</div>
+</td>
+<td class="last">Uploader</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Property details</h2>
+<div class="memberDetails" id="files">
+<h3>files<span class="memberType">property</span>
+</h3>
+<code class="syntax">public files : Array</code>
+<div class="memberDescription">Array of File instances.
+</div>
+<h4>See Also</h4>
+<ul class="see">
+<li>
+<a href="class_plupload.File.html">File</a>
+</li>
+</ul>
+</div>
+<div class="memberDetails" id="id">
+<h3>id<span class="memberType">property</span>
+</h3>
+<code class="syntax">public id : String</code>
+<div class="memberDescription">Unique id for the Uploader instance.
+</div>
+</div>
+<div class="memberDetails" id="settings">
+<h3>settings<span class="memberType">property</span>
+</h3>
+<code class="syntax">public settings : Object</code>
+<div class="memberDescription">Object with name/value settings.
+</div>
+</div>
+<div class="memberDetails last" id="total">
+<h3>total<span class="memberType">property</span>
+</h3>
+<code class="syntax">public total : <a href="class_plupload.QueueProgress.html">QueueProgress</a>
+</code>
+<div class="memberDescription">Total progess information.
+</div>
+</div>
+</div>
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="bind">
+<h3>bind<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function bind(name:String, func:function, scope:Object):void</code>
+<div class="memberDescription">Adds an event listener by name.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">name:String</td>
+<td class="last">Event name to listen for.</td>
+</tr>
+<tr>
+<td class="first">func:function</td>
+<td class="last">Function to call ones the event gets fired.</td>
+</tr>
+<tr>
+<td class="first">scope:Object</td>
+<td class="last">Optional scope to execute the specified function in.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails" id="browse">
+<h3>browse<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function browse(browse_settings:Object):void</code>
+<div class="memberDescription">Browse for files to upload.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">browse_settings:Object</td>
+<td class="last">name/value collection of settings.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails" id="getFile">
+<h3>getFile<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function getFile(id:String):<a href="class_plupload.File.html">File</a>
+</code>
+<div class="memberDescription">Returns the specified file object by id.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">id:String</td>
+<td class="last">File id to look for.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">
+<a href="class_plupload.File.html">File</a> - File object or undefined if it wasn't found;</div>
+</div>
+<div class="memberDetails" id="init">
+<h3>init<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function init():void</code>
+<div class="memberDescription">Initializes the Uploader instance and adds internal event listeners.
+</div>
+</div>
+<div class="memberDetails" id="removeAll">
+<h3>removeAll<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function removeAll():void</code>
+<div class="memberDescription">Clears the upload queue. All pending, finished or failed files will be removed from queue.
+</div>
+</div>
+<div class="memberDetails" id="removeFile">
+<h3>removeFile<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function removeFile(file:<a href="class_plupload.File.html">File</a>):void</code>
+<div class="memberDescription">Removes a specific file.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">file:<a href="class_plupload.File.html">File</a>
+</td>
+<td class="last">File to remove from queue.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails" id="start">
+<h3>start<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function start():void</code>
+<div class="memberDescription">Starts uploading the queued files.
+</div>
+</div>
+<div class="memberDetails" id="stop">
+<h3>stop<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function stop():void</code>
+<div class="memberDescription">Stops the upload of the queued files.
+</div>
+</div>
+<div class="memberDetails" id="trigger">
+<h3>trigger<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function trigger(name:String, Multiple:Object..):void</code>
+<div class="memberDescription">Dispatches the specified event name and it's arguments to all listeners.
+
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">name:String</td>
+<td class="last">Event name to fire.</td>
+</tr>
+<tr>
+<td class="first">Multiple:Object..</td>
+<td class="last">arguments to pass along to the listener functions.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails last" id="unbind">
+<h3>unbind<span class="memberType">method</span>
+</h3>
+<code class="syntax">public
+ function unbind(name:String, func:function):void</code>
+<div class="memberDescription">Removes the specified event listener.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">name:String</td>
+<td class="last">Name of event to remove.</td>
+</tr>
+<tr>
+<td class="first">func:function</td>
+<td class="last">Function to remove from listener.</td>
+</tr>
+</table>
+</div>
+</div>
+<div class="details">
+<h2>Event details</h2>
+<div class="memberDetails last" id="UploadFile">
+<h3>UploadFile<span class="memberType">event</span>
+</h3>
+<code class="syntax">public
+ event UploadFile(uploader:<a href="class_plupload.Uploader.html">Uploader</a>, file:<a href="class_plupload.File.html">File</a>)</code>
+<div class="memberDescription">Fires when a file is to be uploaded by the runtime.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">uploader:<a href="class_plupload.Uploader.html">Uploader</a>
+</td>
+<td class="last">Uploader instance sending the event.</td>
+</tr>
+<tr>
+<td class="first">file:<a href="class_plupload.File.html">File</a>
+</td>
+<td class="last">File to be uploaded.</td>
+</tr>
+</table>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
403 docs/api/class_plupload.html
@@ -0,0 +1,403 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+<title>Class: plupload</title>
+<meta name="generator" content="MoxieDoc" />
+
+<link rel="stylesheet" type="text/css" href="css/reset.css" />
+<link rel="stylesheet" type="text/css" href="css/grids.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+
+<script type="text/javascript" src="http://www.google.com/jsapi"></script>
+<script type="text/javascript">
+ google.load("jquery", "1.3");
+</script>
+<script type="text/javascript" src="js/jquery.treeview.min.js"></script>
+<script type="text/javascript" src="js/general.js"></script>
+</head>
+<body>
+<div class="classDetailsContent">
+<h1>plupload</h1>
+<table class="classDetails">
+<tr>
+<td class="first">Class</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">Type</td>
+<td class="last">Singleton</td>
+</tr>
+</table>
+<div class="classDescription">Plupload class with some global constants and functions.
+</div>
+<div class="summaryLists">
+<h2>Public Properties</h2>
+<table class="Properties summary">
+<thead>
+<tr>
+<th>Property</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#DONE">DONE</a> : Object</div>
+<div class="summary">
+<span class="static">[static] </span>File has been uploaded successfully</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#FAILED">FAILED</a> : Object</div>
+<div class="summary">
+<span class="static">[static] </span>File has failed to be uploaded</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#QUEUED">QUEUED</a> : Object</div>
+<div class="summary">
+<span class="static">[static] </span>File is queued for upload</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#STARTED">STARTED</a> : Object</div>
+<div class="summary">
+<span class="static">[static] </span>Upload process is running</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#STOPPED">STOPPED</a> : Object</div>
+<div class="summary">
+<span class="static">[static] </span>Inital state of the queue and also the state ones it's finished all it's uploads.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#UPLOADING">UPLOADING</a> : Object</div>
+<div class="summary">
+<span class="static">[static] </span>File is being uploaded</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+</tbody>
+</table>
+<h2>Public Methods</h2>
+<table class="Methods summary">
+<thead>
+<tr>
+<th>Method</th>
+<th>Defined By</th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#addRuntime">addRuntime</a>(name:String, obj:Object):void</div>
+<div class="summary">
+<span class="static">[static] </span>Adds a specific upload runtime like for example flash or gears.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#cleanName">cleanName</a>(s:String):String</div>
+<div class="summary">
+<span class="static">[static] </span>Cleans the specified name from national characters.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#extend">extend</a>(target:Object, obj:Object..):Object</div>
+<div class="summary">
+<span class="static">[static] </span>Extends the specified object with another object.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#formatSize">formatSize</a>(size:Number):String</div>
+<div class="summary">
+<span class="static">[static] </span>Formats the specified number as a size string for example 1024 becomes 1 KB.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#getPos">getPos</a>(node:Element/String, root:Element):object</div>
+<div class="summary">
+<span class="static">[static] </span>Returns the absolute x, y position of a node.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#guid">guid</a>():String</div>
+<div class="summary">
+<span class="static">[static] </span>Generates an unique ID.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#parseSize">parseSize</a>(size:String/Number):Number</div>
+<div class="summary">
+<span class="static">[static] </span>Parses the specified size string into a byte value.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr class="even">
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#toArray">toArray</a>(obj:Object):Array</div>
+<div class="summary">
+<span class="static">[static] </span>Forces anything into an array.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+<tr>
+<td class="first">
+<div>
+<a class="memberName" href="class_plupload.html#xmlEncode">xmlEncode</a>(s:String):String</div>
+<div class="summary">
+<span class="static">[static] </span>Encodes the specified string.</div>
+</td>
+<td class="last">plupload</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="detailsList">
+<div class="details">
+<h2>Property details</h2>
+<div class="memberDetails" id="DONE">
+<h3>DONE<span class="memberType">property</span>
+</h3>
+<code class="syntax">public static DONE : Object</code>
+<div class="memberDescription">File has been uploaded successfully
+</div>
+</div>
+<div class="memberDetails" id="FAILED">
+<h3>FAILED<span class="memberType">property</span>
+</h3>
+<code class="syntax">public static FAILED : Object</code>
+<div class="memberDescription">File has failed to be uploaded
+</div>
+</div>
+<div class="memberDetails" id="QUEUED">
+<h3>QUEUED<span class="memberType">property</span>
+</h3>
+<code class="syntax">public static QUEUED : Object</code>
+<div class="memberDescription">File is queued for upload
+</div>
+</div>
+<div class="memberDetails" id="STARTED">
+<h3>STARTED<span class="memberType">property</span>
+</h3>
+<code class="syntax">public static STARTED : Object</code>
+<div class="memberDescription">Upload process is running
+</div>
+</div>
+<div class="memberDetails" id="STOPPED">
+<h3>STOPPED<span class="memberType">property</span>
+</h3>
+<code class="syntax">public static STOPPED : Object</code>
+<div class="memberDescription">Inital state of the queue and also the state ones it's finished all it's uploads.
+</div>
+</div>
+<div class="memberDetails last" id="UPLOADING">
+<h3>UPLOADING<span class="memberType">property</span>
+</h3>
+<code class="syntax">public static UPLOADING : Object</code>
+<div class="memberDescription">File is being uploaded
+</div>
+</div>
+</div>
+<div class="details">
+<h2>Method details</h2>
+<div class="memberDetails" id="addRuntime">
+<h3>addRuntime<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function addRuntime(name:String, obj:Object):void</code>
+<div class="memberDescription">Adds a specific upload runtime like for example flash or gears.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">name:String</td>
+<td class="last">Runtime name for example flash.</td>
+</tr>
+<tr>
+<td class="first">obj:Object</td>
+<td class="last">Object containing init/destroy method.</td>
+</tr>
+</table>
+</div>
+<div class="memberDetails" id="cleanName">
+<h3>cleanName<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function cleanName(s:String):String</code>
+<div class="memberDescription">Cleans the specified name from national characters. The result will be a name with only a-z, 0-9 and _.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">s:String</td>
+<td class="last">String to clean up.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">String - Cleaned string.</div>
+</div>
+<div class="memberDetails" id="extend">
+<h3>extend<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function extend(target:Object, obj:Object..):Object</code>
+<div class="memberDescription">Extends the specified object with another object.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">target:Object</td>
+<td class="last">Object to extend.</td>
+</tr>
+<tr>
+<td class="first">obj:Object..</td>
+<td class="last">Multiple objects to extend with.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">Object - Same as target, the extended object.</div>
+</div>
+<div class="memberDetails" id="formatSize">
+<h3>formatSize<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function formatSize(size:Number):String</code>
+<div class="memberDescription">Formats the specified number as a size string for example 1024 becomes 1 KB.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">size:Number</td>
+<td class="last">Size to format as string.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">String - Formatted size string.</div>
+</div>
+<div class="memberDetails" id="getPos">
+<h3>getPos<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function getPos(node:Element/String, root:Element):object</code>
+<div class="memberDescription">Returns the absolute x, y position of a node. The position will be returned in a object with x, y fields.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">node:Element/String</td>
+<td class="last">HTML element or element id to get x, y position from.</td>
+</tr>
+<tr>
+<td class="first">root:Element</td>
+<td class="last">Optional root element to stop calculations at.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">object - Absolute position of the specified element object with x, y fields.</div>
+</div>
+<div class="memberDetails" id="guid">
+<h3>guid<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function guid():String</code>
+<div class="memberDescription">Generates an unique ID. This is 99.99% unique since it takes the current time and 5 random numbers.
+The only way a user would be able to get the same ID is if the two persons at the same exact milisecond manages
+to get 5 the same random numbers between 0-65535 it also uses a counter so each call will be guaranteed to be page unique.
+It's more probable for the earth to be hit with an ansteriod.
+</div>
+<h4>Returns</h4>
+<div class="returns">String - Virtually unique id.</div>
+</div>
+<div class="memberDetails" id="parseSize">
+<h3>parseSize<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function parseSize(size:String/Number):Number</code>
+<div class="memberDescription">Parses the specified size string into a byte value. For example 10kb becomes 10240.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">size:String/Number</td>
+<td class="last">String to parse or number to just pass through.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">Number - Size in bytes.</div>
+</div>
+<div class="memberDetails" id="toArray">
+<h3>toArray<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function toArray(obj:Object):Array</code>
+<div class="memberDescription">Forces anything into an array.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">obj:Object</td>
+<td class="last">Object with length field.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">Array - Array object containing all items.</div>
+</div>
+<div class="memberDetails last" id="xmlEncode">
+<h3>xmlEncode<span class="memberType">method</span>
+</h3>
+<code class="syntax">public static
+ function xmlEncode(s:String):String</code>
+<div class="memberDescription">Encodes the specified string.
+</div>
+<h4>Parameters</h4>
+<table class="params">
+<tr>
+<td class="first">s:String</td>
+<td class="last">String to encode.</td>
+</tr>
+</table>
+<h4>Returns</h4>
+<div class="returns">String - Encoded string.</div>
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
235 docs/api/css/general.css
@@ -0,0 +1,235 @@
+body, html {
+ overflow: hidden;
+ background-color: #DFE8F6;
+}
+
+#doc3 {
+ margin: 0;
+
+ /* Fix for scrolling issue on Gecko */
+ position: fixed; width: 100%; top: 0; left: 0;
+}
+
+#bd, #bd, #yui-main, #detailsView, #classView {
+ height: 100%;
+}
+
+#hd {
+ background: #1E4176;
+ border-bottom: 1px solid #99BBE8;
+}
+
+#hd h1 {
+ font-family:Verdana,Arial,Helvetica,sans-serif;
+ font-size: 16px;
+ padding: 4px 0 4px 8px;
+ color: #fff;
+}
+
+#yui-main #detailsView {
+ overflow: auto;
+ margin: 4px;
+ margin-left: 260px;
+ border: 1px solid #99BBE8;
+ background: #FFF;
+}
+
+#bd #classView {
+ overflow: auto;
+ width: 250px;
+ margin: 4px;
+ border: 1px solid #99BBE8;
+ background: #FFF;
+}
+
+.classDetailsContent, .memberDetailsContent {
+ margin: 10px;
+ line-height: 150%;
+}
+
+body, td, th {
+ font-family: "Trebuchet MS", "Bitstream Vera Sans", Tahoma,Verdana,Arial,Helvetica,sans-serif;
+ font-size: 13px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
+ font-weight: bold;
+ letter-spacing: 1px;
+ margin-bottom: 3px;
+ margin-top: 3px;
+ width: 90%;
+}
+
+h1 {
+ font-size: 20px;
+}
+
+h2 {
+ font-size: 16px;
+}
+
+h3 {
+ font-size: 16px;
+}
+
+h4 {
+ font-size: 13px;
+}
+
+a, a:visited, a:active, a:link {
+ color: #0000CC;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+table.summary {
+ border: 1px solid #999999;
+ margin-bottom: 20px;
+ margin-right: 10px;
+ margin-top: 10px;
+ width: 100%;
+ border-collapse: collapse;
+}
+
+table.summary th {
+ font-weight: bold;
+ text-align: left;
+ vertical-align: bottom;
+ background-color: #627C9D;
+ color: #FFFFFF;
+ white-space: nowrap;
+ padding: 4px;
+}
+
+table.summary td {
+ border: 1px solid #999999;
+ padding: 4px;
+}
+
+table.summary a.memberName {
+ font-weight: bold;
+}
+
+table.summary tr.even {
+ background: #f2f2f2;
+}
+
+table.summary td.first div {
+ margin-left: 30px;
+}
+
+table.summary td.first {
+ width: 95%;
+}
+
+table.summary td.last {
+ width: 5%;
+}
+
+table.summary .deprecated {
+ margin: 0;
+}
+
+.params, .returns, .see {
+ margin-left: 20px;
+ margin-bottom: 10px;
+}
+
+.params td.last {
+ padding-left: 10px;
+}
+
+.classDescription, .memberDescription, .deprecated {
+ margin: 10px 0 10px 0;
+}
+
+.inherited td.first {
+ background: url(../img/inherited.gif) no-repeat 10px 5px;
+}