Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi! I cleaned up your code for you! #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions doc/AC_OETags.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
return src.replace(/\?/, ext+'?');
else
return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs)
{
function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '<object ';
for (var i in objAttrs)
str += i + '="' + objAttrs[i] + '" ';
Expand All @@ -36,7 +36,7 @@ function AC_Generateobj(objAttrs, params, embedAttrs)
}

function AC_FL_RunContent(){
var ret =
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
Expand All @@ -50,16 +50,16 @@ function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();
var currArg = args[i].toLowerCase();

switch (currArg){
switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
Expand Down Expand Up @@ -108,7 +108,7 @@ function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
case "width":
case "height":
case "align":
case "vspace":
case "vspace":
case "hspace":
case "class":
case "title":
Expand Down
22 changes: 11 additions & 11 deletions doc/all-index-A.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
scrollToNameAnchor();
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">HYPE</td><td class="titleTableTopNav" align="right"><a href="package-summary.html" onclick="loadClassListFrame('all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="class-summary.html" onclick="loadClassListFrame('all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a id="framesLink1" href="index.html?all-index-A.html&amp;index-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">A&nbsp;Index</td><td class="titleTableSubNav" id="subNav" align="right"></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("A Index"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}

if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("A Index"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
-->
</script><div class="MainContent"><br><table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2"><a name="A"></a><font color="black" size="10px" style="bold">A</font>&nbsp;&nbsp;<a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a>&nbsp;&nbsp;<a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a>&nbsp;&nbsp;<a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a>&nbsp;&nbsp;<a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a>&nbsp;&nbsp;<a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a>&nbsp;&nbsp;<a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a>&nbsp;&nbsp;<a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a>&nbsp;&nbsp;<a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a>&nbsp;&nbsp;<a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a>&nbsp;&nbsp;<a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a>&nbsp;&nbsp;<a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a>&nbsp;&nbsp;<a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a>&nbsp;&nbsp;<a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a>&nbsp;&nbsp;<a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a>&nbsp;&nbsp;<a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a>&nbsp;&nbsp;<a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a>&nbsp;&nbsp;<a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a>&nbsp;&nbsp;<a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a>&nbsp;&nbsp;<a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a>&nbsp;&nbsp;<a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a>&nbsp;&nbsp;<a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a>&nbsp;&nbsp;<a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a>&nbsp;&nbsp;<a href="all-index-X.html" onclick="javascript:loadClassListFrame('index-list.html');">X</a>&nbsp;&nbsp;<a href="all-index-Y.html" onclick="javascript:loadClassListFrame('index-list.html');">Y</a>&nbsp;&nbsp;<a href="all-index-Z.html" onclick="javascript:loadClassListFrame('index-list.html');">Z</a>&nbsp;&nbsp;</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/behavior/AbstractBehavior.html" onclick="javascript:loadClassListFrame('hype/framework/behavior/class-list.html');">AbstractBehavior</a> &mdash; class, package <a href="hype/framework/behavior/package-detail.html" onclick="javascript:loadClassListFrame('hype/framework/behavior/class-list.html');">hype.framework.behavior</a></td></tr><tr><td width="20"></td><td>
Abstract class that all Behaviors must inherit from
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/behavior/AbstractBehavior.html#AbstractBehavior()" onclick="javascript:loadClassListFrame('hype/framework/behavior/class-list.html');">AbstractBehavior</a>(target:Object) &mdash; Constructor, class hype.framework.behavior.<a href="hype/framework/behavior/AbstractBehavior.html" onclick="javascript:loadClassListFrame('hype/framework/behavior/class-list.html');">AbstractBehavior</a></td></tr><tr><td width="20"></td><td>
Constructor

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/canvas/encoder/AbstractCanvasEncoder.html" onclick="javascript:loadClassListFrame('hype/framework/canvas/encoder/class-list.html');">AbstractCanvasEncoder</a> &mdash; class, package <a href="hype/framework/canvas/encoder/package-detail.html" onclick="javascript:loadClassListFrame('hype/framework/canvas/encoder/class-list.html');">hype.framework.canvas.encoder</a></td></tr><tr><td width="20"></td><td>
Abstract base class for classes that encode classes that implement ICanvas instances into a bitmap format
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/layout/AbstractLayout.html" onclick="javascript:loadClassListFrame('hype/framework/layout/class-list.html');">AbstractLayout</a> &mdash; class, package <a href="hype/framework/layout/package-detail.html" onclick="javascript:loadClassListFrame('hype/framework/layout/class-list.html');">hype.framework.layout</a></td></tr><tr><td width="20"></td><td>
Expand All @@ -27,26 +27,26 @@
Abstract base class for all Triggers
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/trigger/AbstractTrigger.html#AbstractTrigger()" onclick="javascript:loadClassListFrame('hype/framework/trigger/class-list.html');">AbstractTrigger</a>(method:Function, target:Object) &mdash; Constructor, class hype.framework.trigger.<a href="hype/framework/trigger/AbstractTrigger.html" onclick="javascript:loadClassListFrame('hype/framework/trigger/class-list.html');">AbstractTrigger</a></td></tr><tr><td width="20"></td><td>
Constructor

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/interactive/Adjuster.html#_activeClip" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">_activeClip</a> &mdash; Property, class hype.framework.interactive.<a href="hype/framework/interactive/Adjuster.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">Adjuster</a></td></tr><tr><td width="20"></td><td></td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/interactive/Adjuster.html#activeClip" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">activeClip</a> &mdash; Property, class hype.framework.interactive.<a href="hype/framework/interactive/Adjuster.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">Adjuster</a></td></tr><tr><td width="20"></td><td>
The currently active clip
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/core/ObjectPool.html#_activeSet" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">_activeSet</a> &mdash; Property, class hype.framework.core.<a href="hype/framework/core/ObjectPool.html" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">ObjectPool</a></td></tr><tr><td width="20"></td><td></td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/core/ObjectPool.html#activeSet" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">activeSet</a> &mdash; Property, class hype.framework.core.<a href="hype/framework/core/ObjectPool.html" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">ObjectPool</a></td></tr><tr><td width="20"></td><td>
The active set of objects
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/interactive/Adjuster.html#add()" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">add</a>(sprite:flash.display:Sprite) &mdash; method, class hype.framework.interactive.<a href="hype/framework/interactive/Adjuster.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">Adjuster</a></td></tr><tr><td width="20"></td><td>
Add a sprite to be controlled by this Adjuster

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/core/ObjectPool.html#addClass()" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">addClass</a>(objectClass:Class, numTimes:uint) &mdash; method, class hype.framework.core.<a href="hype/framework/core/ObjectPool.html" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">ObjectPool</a></td></tr><tr><td width="20"></td><td>
Add an additional class

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/extended/color/ColorPool.html#addColor()" onclick="javascript:loadClassListFrame('hype/extended/color/class-list.html');">addColor</a>(color:uint, count:uint) &mdash; method, class hype.extended.color.<a href="hype/extended/color/ColorPool.html" onclick="javascript:loadClassListFrame('hype/extended/color/class-list.html');">ColorPool</a></td></tr><tr><td width="20"></td><td>
Add a color to the pool (prevents duplicates)

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/interactive/HotKey.html#addHotKey()" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">addHotKey</a>(callback:Function, key:any, ... rest) &mdash; method, class hype.framework.interactive.<a href="hype/framework/interactive/HotKey.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">HotKey</a></td></tr><tr><td width="20"></td><td>
Setup a function to be triggerd by a key combination

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/behavior/AbstractBehavior.html#addMetaProperty()" onclick="javascript:loadClassListFrame('hype/framework/behavior/class-list.html');">addMetaProperty</a>(name:String, getter:Function, setter:Function) &mdash; Static Method , class hype.framework.behavior.<a href="hype/framework/behavior/AbstractBehavior.html" onclick="javascript:loadClassListFrame('hype/framework/behavior/class-list.html');">AbstractBehavior</a></td></tr><tr><td width="20"></td><td>
Add a new meta property

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/rhythm/RhythmManager.html#addRhythm()" onclick="javascript:loadClassListFrame('hype/framework/rhythm/class-list.html');">addRhythm</a>(rhythm:Object, method:Function) &mdash; method, class hype.framework.rhythm.<a href="hype/framework/rhythm/RhythmManager.html" onclick="javascript:loadClassListFrame('hype/framework/rhythm/class-list.html');">RhythmManager</a></td></tr><tr><td width="20"></td><td></td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/interactive/Adjuster.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">Adjuster</a> &mdash; class, package <a href="hype/framework/interactive/package-detail.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">hype.framework.interactive</a></td></tr><tr><td width="20"></td><td>
An global adjuster that allows users to move and delete Sprites.</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/interactive/Adjuster.html#Adjuster()" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">Adjuster</a>() &mdash; Constructor, class hype.framework.interactive.<a href="hype/framework/interactive/Adjuster.html" onclick="javascript:loadClassListFrame('hype/framework/interactive/class-list.html');">Adjuster</a></td></tr><tr><td width="20"></td><td>
Constructor
Expand All @@ -58,10 +58,10 @@
Apply a BitmapFilter to the canvas
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/display/BitmapCanvas.html#applyFilter()" onclick="javascript:loadClassListFrame('hype/framework/display/class-list.html');">applyFilter</a>(filter:flash.filters:BitmapFilter) &mdash; method, class hype.framework.display.<a href="hype/framework/display/BitmapCanvas.html" onclick="javascript:loadClassListFrame('hype/framework/display/class-list.html');">BitmapCanvas</a></td></tr><tr><td width="20"></td><td></td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/layout/AbstractLayout.html#applyLayout()" onclick="javascript:loadClassListFrame('hype/framework/layout/class-list.html');">applyLayout</a>(object:flash.display:DisplayObject) &mdash; method, class hype.framework.layout.<a href="hype/framework/layout/AbstractLayout.html" onclick="javascript:loadClassListFrame('hype/framework/layout/class-list.html');">AbstractLayout</a></td></tr><tr><td width="20"></td><td>
Get the next point from the layout and apply it to a DisplayObject

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/layout/ILayout.html#applyLayout()" onclick="javascript:loadClassListFrame('hype/framework/layout/class-list.html');">applyLayout</a>(object:flash.display:DisplayObject) &mdash; method, interface hype.framework.layout.<a href="hype/framework/layout/ILayout.html" onclick="javascript:loadClassListFrame('hype/framework/layout/class-list.html');">ILayout</a></td></tr><tr><td width="20"></td><td>
Get the next point from the layout and apply it to a DisplayObject

</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/extended/behavior/FunctionTracker.html#_argumentList" onclick="javascript:loadClassListFrame('hype/extended/behavior/class-list.html');">_argumentList</a> &mdash; Property, class hype.extended.behavior.<a href="hype/extended/behavior/FunctionTracker.html" onclick="javascript:loadClassListFrame('hype/extended/behavior/class-list.html');">FunctionTracker</a></td></tr><tr><td width="20"></td><td></td></tr><tr><td class="idxrow" colspan="2"><a href="hype/extended/behavior/FunctionTracker.html#argumentList" onclick="javascript:loadClassListFrame('hype/extended/behavior/class-list.html');">argumentList</a> &mdash; Property, class hype.extended.behavior.<a href="hype/extended/behavior/FunctionTracker.html" onclick="javascript:loadClassListFrame('hype/extended/behavior/class-list.html');">FunctionTracker</a></td></tr><tr><td width="20"></td><td>
Arguments to send to the function
</td></tr><tr><td class="idxrow" colspan="2"><a href="hype/framework/core/ObjectPool.html#autoClean" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">autoClean</a> &mdash; Property, class hype.framework.core.<a href="hype/framework/core/ObjectPool.html" onclick="javascript:loadClassListFrame('hype/framework/core/class-list.html');">ObjectPool</a></td></tr><tr><td width="20"></td><td>
Expand Down
Loading