as3signals 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -3
- data/Gemfile.lock +32 -0
- data/README.textile +41 -9
- data/Rakefile +88 -43
- data/as3signals.gemspec +26 -11
- data/bin/as3-signals-v0.7.swc +0 -0
- data/build.properties +1 -0
- data/build.xml +3 -2
- data/docs/AC_OETags.js +129 -0
- data/docs/all-classes.html +55 -0
- data/docs/all-index-A.html +25 -0
- data/docs/all-index-B.html +13 -0
- data/docs/all-index-C.html +13 -0
- data/docs/all-index-D.html +22 -0
- data/docs/all-index-E.html +17 -0
- data/docs/all-index-F.html +13 -0
- data/docs/all-index-G.html +13 -0
- data/docs/all-index-H.html +13 -0
- data/docs/all-index-I.html +15 -0
- data/docs/all-index-J.html +13 -0
- data/docs/all-index-K.html +13 -0
- data/docs/all-index-L.html +13 -0
- data/docs/all-index-M.html +16 -0
- data/docs/all-index-N.html +25 -0
- data/docs/all-index-O.html +14 -0
- data/docs/all-index-P.html +13 -0
- data/docs/all-index-Q.html +13 -0
- data/docs/all-index-R.html +21 -0
- data/docs/all-index-S.html +15 -0
- data/docs/all-index-T.html +15 -0
- data/docs/all-index-U.html +13 -0
- data/docs/all-index-V.html +17 -0
- data/docs/all-index-W.html +13 -0
- data/docs/all-index-X.html +13 -0
- data/docs/all-index-Y.html +13 -0
- data/docs/all-index-Z.html +13 -0
- data/docs/asdoc.js +286 -0
- data/docs/class-summary.html +24 -0
- data/docs/cookies.js +84 -0
- data/docs/help.js +941 -0
- data/docs/images/AirIcon12x12.gif +0 -0
- data/docs/images/P_AlternativeMetadataIndicator_30x28_N.png +0 -0
- data/docs/images/collapsed.gif +0 -0
- data/docs/images/detailHeaderRule.jpg +0 -0
- data/docs/images/detailSectionHeader.jpg +0 -0
- data/docs/images/expanded.gif +0 -0
- data/docs/images/inherit-arrow.gif +0 -0
- data/docs/images/inheritedSummary.gif +0 -0
- data/docs/images/logo.jpg +0 -0
- data/docs/images/titleTableBottom.jpg +0 -0
- data/docs/images/titleTableMiddle.jpg +0 -0
- data/docs/images/titleTableTop.jpg +0 -0
- data/docs/index-list.html +70 -0
- data/docs/index.html +40 -0
- data/docs/org/osflash/signals/DeluxeSignal.html +68 -0
- data/docs/org/osflash/signals/IDeluxeSignal.html +42 -0
- data/docs/org/osflash/signals/IDispatcher.html +21 -0
- data/docs/org/osflash/signals/ISignal.html +39 -0
- data/docs/org/osflash/signals/ISignalOwner.html +24 -0
- data/docs/org/osflash/signals/Signal.html +64 -0
- data/docs/org/osflash/signals/class-list.html +1 -0
- data/docs/org/osflash/signals/events/GenericEvent.html +17 -0
- data/docs/org/osflash/signals/events/IBubbleEventHandler.html +21 -0
- data/docs/org/osflash/signals/events/IEvent.html +16 -0
- data/docs/org/osflash/signals/events/class-list.html +1 -0
- data/docs/org/osflash/signals/events/package-detail.html +14 -0
- data/docs/org/osflash/signals/natives/INativeDispatcher.html +32 -0
- data/docs/org/osflash/signals/natives/NativeMappedSignal.html +106 -0
- data/docs/org/osflash/signals/natives/NativeRelaySignal.html +49 -0
- data/docs/org/osflash/signals/natives/NativeSignal.html +82 -0
- data/docs/org/osflash/signals/natives/class-list.html +1 -0
- data/docs/org/osflash/signals/natives/package-detail.html +21 -0
- data/docs/org/osflash/signals/package-detail.html +19 -0
- data/docs/override.css +12 -0
- data/docs/package-frame.html +18 -0
- data/docs/package-list.html +1 -0
- data/docs/package-summary.html +13 -0
- data/docs/print.css +110 -0
- data/docs/style.css +578 -0
- data/docs/title-bar.html +41 -0
- data/gemfile +3 -0
- data/lib/as3signals.rb +5 -2
- data/lib/as3signals/version.rb +8 -0
- data/libs/asunit4-alpha.swc +0 -0
- metadata +109 -32
- data/as3-signals.as3proj +0 -87
- data/as3-signals.docproj +0 -9
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>X </title><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"></head><body><script language="javascript" type="text/javascript" src="asdoc.js"></script><script language="javascript" type="text/javascript" src="help.js"></script><script language="javascript" type="text/javascript" src="cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'X Index - AS3 Signals v0.7';
|
3
|
+
var baseRef = '';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="package-summary.html" onclick="loadClassListFrame('all-classes.html')">All Packages</a> | <a href="class-summary.html" onclick="loadClassListFrame('all-classes.html')">All Classes</a> | <a id="framesLink1" href="index.html?all-index-X.html&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">X Index</td><td class="titleTableSubNav" id="subNav" align="right"></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("X Index"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2"><a name="X"></a><a href="all-index-A.html" onclick="javascript:loadClassListFrame('index-list.html');">A</a> <a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a> <a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a> <a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a> <a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a> <a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a> <a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a> <a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a> <a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a> <a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a> <a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a> <a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a> <a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a> <a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a> <a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a> <a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a> <a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a> <a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a> <a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a> <a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a> <a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a> <a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a> <a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a> <font color="black" size="10px" style="bold">X</font> <a href="all-index-Y.html" onclick="javascript:loadClassListFrame('index-list.html');">Y</a> <a href="all-index-Z.html" onclick="javascript:loadClassListFrame('index-list.html');">Z</a> </td></tr><tr><td colspan="2" style="padding-bottom:20px"></td></tr><tr><td colspan="2"><a href="all-index-A.html" onclick="javascript:loadClassListFrame('index-list.html');">A</a> <a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a> <a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a> <a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a> <a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a> <a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a> <a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a> <a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a> <a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a> <a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a> <a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a> <a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a> <a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a> <a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a> <a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a> <a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a> <a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a> <a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a> <a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a> <a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a> <a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a> <a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a> <a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a> <font color="black" size="10px" style="bold">X</font> <a href="all-index-Y.html" onclick="javascript:loadClassListFrame('index-list.html');">Y</a> <a href="all-index-Z.html" onclick="javascript:loadClassListFrame('index-list.html');">Z</a> </td></tr></table><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Y </title><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"></head><body><script language="javascript" type="text/javascript" src="asdoc.js"></script><script language="javascript" type="text/javascript" src="help.js"></script><script language="javascript" type="text/javascript" src="cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'Y Index - AS3 Signals v0.7';
|
3
|
+
var baseRef = '';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="package-summary.html" onclick="loadClassListFrame('all-classes.html')">All Packages</a> | <a href="class-summary.html" onclick="loadClassListFrame('all-classes.html')">All Classes</a> | <a id="framesLink1" href="index.html?all-index-Y.html&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">Y Index</td><td class="titleTableSubNav" id="subNav" align="right"></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Y Index"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2"><a name="Y"></a><a href="all-index-A.html" onclick="javascript:loadClassListFrame('index-list.html');">A</a> <a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a> <a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a> <a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a> <a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a> <a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a> <a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a> <a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a> <a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a> <a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a> <a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a> <a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a> <a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a> <a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a> <a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a> <a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a> <a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a> <a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a> <a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a> <a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a> <a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a> <a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a> <a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a> <a href="all-index-X.html" onclick="javascript:loadClassListFrame('index-list.html');">X</a> <font color="black" size="10px" style="bold">Y</font> <a href="all-index-Z.html" onclick="javascript:loadClassListFrame('index-list.html');">Z</a> </td></tr><tr><td colspan="2" style="padding-bottom:20px"></td></tr><tr><td colspan="2"><a href="all-index-A.html" onclick="javascript:loadClassListFrame('index-list.html');">A</a> <a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a> <a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a> <a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a> <a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a> <a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a> <a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a> <a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a> <a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a> <a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a> <a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a> <a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a> <a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a> <a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a> <a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a> <a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a> <a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a> <a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a> <a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a> <a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a> <a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a> <a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a> <a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a> <a href="all-index-X.html" onclick="javascript:loadClassListFrame('index-list.html');">X</a> <font color="black" size="10px" style="bold">Y</font> <a href="all-index-Z.html" onclick="javascript:loadClassListFrame('index-list.html');">Z</a> </td></tr></table><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Z </title><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"></head><body><script language="javascript" type="text/javascript" src="asdoc.js"></script><script language="javascript" type="text/javascript" src="help.js"></script><script language="javascript" type="text/javascript" src="cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'Z Index - AS3 Signals v0.7';
|
3
|
+
var baseRef = '';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="package-summary.html" onclick="loadClassListFrame('all-classes.html')">All Packages</a> | <a href="class-summary.html" onclick="loadClassListFrame('all-classes.html')">All Classes</a> | <a id="framesLink1" href="index.html?all-index-Z.html&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">Z Index</td><td class="titleTableSubNav" id="subNav" align="right"></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Z Index"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="2"><a name="Z"></a><a href="all-index-A.html" onclick="javascript:loadClassListFrame('index-list.html');">A</a> <a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a> <a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a> <a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a> <a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a> <a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a> <a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a> <a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a> <a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a> <a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a> <a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a> <a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a> <a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a> <a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a> <a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a> <a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a> <a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a> <a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a> <a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a> <a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a> <a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a> <a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a> <a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a> <a href="all-index-X.html" onclick="javascript:loadClassListFrame('index-list.html');">X</a> <a href="all-index-Y.html" onclick="javascript:loadClassListFrame('index-list.html');">Y</a> <font color="black" size="10px" style="bold">Z</font> </td></tr><tr><td colspan="2" style="padding-bottom:20px"></td></tr><tr><td colspan="2"><a href="all-index-A.html" onclick="javascript:loadClassListFrame('index-list.html');">A</a> <a href="all-index-B.html" onclick="javascript:loadClassListFrame('index-list.html');">B</a> <a href="all-index-C.html" onclick="javascript:loadClassListFrame('index-list.html');">C</a> <a href="all-index-D.html" onclick="javascript:loadClassListFrame('index-list.html');">D</a> <a href="all-index-E.html" onclick="javascript:loadClassListFrame('index-list.html');">E</a> <a href="all-index-F.html" onclick="javascript:loadClassListFrame('index-list.html');">F</a> <a href="all-index-G.html" onclick="javascript:loadClassListFrame('index-list.html');">G</a> <a href="all-index-H.html" onclick="javascript:loadClassListFrame('index-list.html');">H</a> <a href="all-index-I.html" onclick="javascript:loadClassListFrame('index-list.html');">I</a> <a href="all-index-J.html" onclick="javascript:loadClassListFrame('index-list.html');">J</a> <a href="all-index-K.html" onclick="javascript:loadClassListFrame('index-list.html');">K</a> <a href="all-index-L.html" onclick="javascript:loadClassListFrame('index-list.html');">L</a> <a href="all-index-M.html" onclick="javascript:loadClassListFrame('index-list.html');">M</a> <a href="all-index-N.html" onclick="javascript:loadClassListFrame('index-list.html');">N</a> <a href="all-index-O.html" onclick="javascript:loadClassListFrame('index-list.html');">O</a> <a href="all-index-P.html" onclick="javascript:loadClassListFrame('index-list.html');">P</a> <a href="all-index-Q.html" onclick="javascript:loadClassListFrame('index-list.html');">Q</a> <a href="all-index-R.html" onclick="javascript:loadClassListFrame('index-list.html');">R</a> <a href="all-index-S.html" onclick="javascript:loadClassListFrame('index-list.html');">S</a> <a href="all-index-T.html" onclick="javascript:loadClassListFrame('index-list.html');">T</a> <a href="all-index-U.html" onclick="javascript:loadClassListFrame('index-list.html');">U</a> <a href="all-index-V.html" onclick="javascript:loadClassListFrame('index-list.html');">V</a> <a href="all-index-W.html" onclick="javascript:loadClassListFrame('index-list.html');">W</a> <a href="all-index-X.html" onclick="javascript:loadClassListFrame('index-list.html');">X</a> <a href="all-index-Y.html" onclick="javascript:loadClassListFrame('index-list.html');">Y</a> <font color="black" size="10px" style="bold">Z</font> </td></tr></table><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
data/docs/asdoc.js
ADDED
@@ -0,0 +1,286 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
//
|
3
|
+
// ADOBE SYSTEMS INCORPORATED
|
4
|
+
// Copyright 2006-2008 Adobe Systems Incorporated
|
5
|
+
// All Rights Reserved.
|
6
|
+
//
|
7
|
+
// NOTICE: Adobe permits you to use, modify, and distribute this file
|
8
|
+
// in accordance with the terms of the license agreement accompanying it.
|
9
|
+
//
|
10
|
+
////////////////////////////////////////////////////////////////////////////////
|
11
|
+
var ECLIPSE_FRAME_NAME = "ContentViewFrame";
|
12
|
+
var eclipseBuild = false;
|
13
|
+
var liveDocsBaseUrl = "http://livedocs.adobe.com/flex/3";
|
14
|
+
var liveDocsBookName = "langref";
|
15
|
+
function findObject(objId) {
|
16
|
+
if (document.getElementById)
|
17
|
+
return document.getElementById(objId);
|
18
|
+
if (document.all)
|
19
|
+
return document.all[objId];
|
20
|
+
}
|
21
|
+
function isEclipse() {
|
22
|
+
return eclipseBuild;
|
23
|
+
// return (window.name == ECLIPSE_FRAME_NAME) || (parent.name == ECLIPSE_FRAME_NAME) || (parent.parent.name == ECLIPSE_FRAME_NAME);
|
24
|
+
}
|
25
|
+
function configPage() {
|
26
|
+
setRowColorsInitial(true, "Property");
|
27
|
+
setRowColorsInitial(true, "Method");
|
28
|
+
setRowColorsInitial(true, "ProtectedMethod");
|
29
|
+
setRowColorsInitial(true, "Event");
|
30
|
+
setRowColorsInitial(true, "Style");
|
31
|
+
|
32
|
+
setRowColorsInitial(true, "SkinPart");
|
33
|
+
setRowColorsInitial(true, "SkinState");
|
34
|
+
|
35
|
+
setRowColorsInitial(true, "Constant");
|
36
|
+
if (isEclipse()) {
|
37
|
+
if (window.name != "classFrame")
|
38
|
+
{
|
39
|
+
var localRef = window.location.href.indexOf('?') != -1 ? window.location.href.substring(0, window.location.href.indexOf('?')) : window.location.href;
|
40
|
+
localRef = localRef.substring(localRef.indexOf("langref/") + 8);
|
41
|
+
if (window.location.search != "")
|
42
|
+
localRef += ("#" + window.location.search.substring(1));
|
43
|
+
window.location.replace(baseRef + "index.html?" + localRef);
|
44
|
+
return;
|
45
|
+
}
|
46
|
+
else
|
47
|
+
{
|
48
|
+
setStyle(".eclipseBody", "display", "block");
|
49
|
+
// var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
|
50
|
+
// if (isIE == false && window.location.hash != "")
|
51
|
+
if (window.location.hash != "")
|
52
|
+
window.location.hash=window.location.hash.substring(1);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
else if (window == top) { // no frames
|
56
|
+
findObject("titleTable").style.display = "";
|
57
|
+
}
|
58
|
+
else { // frames
|
59
|
+
findObject("titleTable").style.display = "none";
|
60
|
+
}
|
61
|
+
showTitle(asdocTitle);
|
62
|
+
}
|
63
|
+
function loadFrames(classFrameURL, classListFrameURL) {
|
64
|
+
var classListFrame = findObject("classListFrame");
|
65
|
+
if(classListFrame != null && classListFrameContent!='')
|
66
|
+
classListFrame.document.location.href=classListFrameContent;
|
67
|
+
if (isEclipse()) {
|
68
|
+
var contentViewFrame = findObject(ECLIPSE_FRAME_NAME);
|
69
|
+
if (contentViewFrame != null && classFrameURL != '')
|
70
|
+
contentViewFrame.document.location.href=classFrameURL;
|
71
|
+
}
|
72
|
+
else {
|
73
|
+
var classFrame = findObject("classFrame");
|
74
|
+
if(classFrame != null && classFrameContent!='')
|
75
|
+
classFrame.document.location.href=classFrameContent;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
function showTitle(title) {
|
79
|
+
if (!isEclipse())
|
80
|
+
top.document.title = title;
|
81
|
+
}
|
82
|
+
function loadClassListFrame(classListFrameURL) {
|
83
|
+
if (parent.frames["classListFrame"] != null) {
|
84
|
+
parent.frames["classListFrame"].location = classListFrameURL;
|
85
|
+
}
|
86
|
+
else if (parent.frames["packageFrame"] != null) {
|
87
|
+
if (parent.frames["packageFrame"].frames["classListFrame"] != null) {
|
88
|
+
parent.frames["packageFrame"].frames["classListFrame"].location = classListFrameURL;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
function gotoLiveDocs(primaryURL, secondaryURL, locale) {
|
93
|
+
if (locale == "en-us") {
|
94
|
+
locale = "";
|
95
|
+
}
|
96
|
+
else {
|
97
|
+
locale = "_" + locale.substring(3);
|
98
|
+
}
|
99
|
+
var url = liveDocsBaseUrl + locale + "/" + liveDocsBookName + "/index.html?" + primaryURL;
|
100
|
+
if (secondaryURL != null && secondaryURL != "")
|
101
|
+
url += ("&" + secondaryURL);
|
102
|
+
window.open(url, "mm_livedocs", "menubar=1,toolbar=1,status=1,scrollbars=1,resizable=yes");
|
103
|
+
}
|
104
|
+
function findTitleTableObject(id)
|
105
|
+
{
|
106
|
+
if (isEclipse())
|
107
|
+
return parent.titlebar.document.getElementById(id);
|
108
|
+
else if (top.titlebar)
|
109
|
+
return top.titlebar.document.getElementById(id);
|
110
|
+
else
|
111
|
+
return document.getElementById(id);
|
112
|
+
}
|
113
|
+
function titleBar_setSubTitle(title)
|
114
|
+
{
|
115
|
+
if (isEclipse() || top.titlebar)
|
116
|
+
findTitleTableObject("subTitle").childNodes.item(0).data = title;
|
117
|
+
}
|
118
|
+
function titleBar_setSubNav(showConstants,showProperties,showStyles,showSkinPart,showSkinState,showEffects,showEvents,showConstructor,showMethods,showExamples,
|
119
|
+
showPackageConstants,showPackageProperties,showPackageFunctions,showInterfaces,showClasses,showPackageUse)
|
120
|
+
{
|
121
|
+
if (isEclipse() || top.titlebar)
|
122
|
+
{
|
123
|
+
findTitleTableObject("propertiesLink").style.display = showProperties ? "inline" : "none";
|
124
|
+
findTitleTableObject("propertiesBar").style.display = (showProperties && (showPackageProperties || showConstructor || showMethods || showPackageFunctions || showEvents || showStyles || showSkinPart || showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
125
|
+
findTitleTableObject("packagePropertiesLink").style.display = showPackageProperties ? "inline" : "none";
|
126
|
+
findTitleTableObject("packagePropertiesBar").style.display = (showPackageProperties && (showConstructor || showMethods || showPackageFunctions || showEvents || showStyles || showSkinPart || showSkinState || showConstants || showEffects || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
127
|
+
findTitleTableObject("constructorLink").style.display = showConstructor ? "inline" : "none";
|
128
|
+
findTitleTableObject("constructorBar").style.display = (showConstructor && (showMethods || showPackageFunctions || showEvents || showStyles || showSkinPart || showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
129
|
+
findTitleTableObject("methodsLink").style.display = showMethods ? "inline" : "none";
|
130
|
+
findTitleTableObject("methodsBar").style.display = (showMethods && (showPackageFunctions || showEvents || showStyles || showSkinPart || showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
131
|
+
findTitleTableObject("packageFunctionsLink").style.display = showPackageFunctions ? "inline" : "none";
|
132
|
+
findTitleTableObject("packageFunctionsBar").style.display = (showPackageFunctions && (showEvents || showStyles || showSkinPart || showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
133
|
+
findTitleTableObject("eventsLink").style.display = showEvents ? "inline" : "none";
|
134
|
+
findTitleTableObject("eventsBar").style.display = (showEvents && (showStyles || showSkinPart || showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
135
|
+
findTitleTableObject("stylesLink").style.display = showStyles ? "inline" : "none";
|
136
|
+
findTitleTableObject("stylesBar").style.display = (showStyles && (showSkinPart || showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
137
|
+
|
138
|
+
findTitleTableObject("SkinPartLink").style.display = showSkinPart ? "inline" : "none";
|
139
|
+
findTitleTableObject("SkinPartBar").style.display = (showSkinPart && (showSkinState || showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
140
|
+
|
141
|
+
findTitleTableObject("SkinStateLink").style.display = showSkinState ? "inline" : "none";
|
142
|
+
findTitleTableObject("SkinStateBar").style.display = (showSkinState && (showEffects || showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
143
|
+
|
144
|
+
findTitleTableObject("effectsLink").style.display = showEffects ? "inline" : "none";
|
145
|
+
findTitleTableObject("effectsBar").style.display = (showEffects && (showConstants || showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
146
|
+
findTitleTableObject("constantsLink").style.display = showConstants ? "inline" : "none";
|
147
|
+
findTitleTableObject("constantsBar").style.display = (showConstants && (showPackageConstants || showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
148
|
+
findTitleTableObject("packageConstantsLink").style.display = showPackageConstants ? "inline" : "none";
|
149
|
+
findTitleTableObject("packageConstantsBar").style.display = (showPackageConstants && (showInterfaces || showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
150
|
+
findTitleTableObject("interfacesLink").style.display = showInterfaces ? "inline" : "none";
|
151
|
+
findTitleTableObject("interfacesBar").style.display = (showInterfaces && (showClasses || showPackageUse || showExamples)) ? "inline" : "none";
|
152
|
+
findTitleTableObject("classesLink").style.display = showClasses ? "inline" : "none";
|
153
|
+
findTitleTableObject("classesBar").style.display = (showClasses && (showPackageUse || showExamples)) ? "inline" : "none";
|
154
|
+
findTitleTableObject("packageUseLink").style.display = showPackageUse ? "inline" : "none";
|
155
|
+
findTitleTableObject("packageUseBar").style.display = (showPackageUse && showExamples) ? "inline" : "none";
|
156
|
+
findTitleTableObject("examplesLink").style.display = showExamples ? "inline" : "none";
|
157
|
+
}
|
158
|
+
}
|
159
|
+
function titleBar_gotoClassFrameAnchor(anchor)
|
160
|
+
{
|
161
|
+
if (isEclipse())
|
162
|
+
parent.classFrame.location = parent.classFrame.location.toString().split('#')[0] + "#" + anchor;
|
163
|
+
else
|
164
|
+
top.classFrame.location = top.classFrame.location.toString().split('#')[0] + "#" + anchor;
|
165
|
+
}
|
166
|
+
function setMXMLOnly()
|
167
|
+
{
|
168
|
+
if (getCookie("showMXML") == "false")
|
169
|
+
{
|
170
|
+
toggleMXMLOnly();
|
171
|
+
}
|
172
|
+
}
|
173
|
+
function toggleMXMLOnly()
|
174
|
+
{
|
175
|
+
var mxmlDiv = findObject("mxmlSyntax");
|
176
|
+
var mxmlShowLink = findObject("showMxmlLink");
|
177
|
+
var mxmlHideLink = findObject("hideMxmlLink");
|
178
|
+
if (mxmlDiv && mxmlShowLink && mxmlHideLink)
|
179
|
+
{
|
180
|
+
if (mxmlDiv.style.display == "none")
|
181
|
+
{
|
182
|
+
mxmlDiv.style.display = "block";
|
183
|
+
mxmlShowLink.style.display = "none";
|
184
|
+
mxmlHideLink.style.display = "inline";
|
185
|
+
setCookie("showMXML","true", new Date(3000,1,1,1,1), "/", document.location.domain);
|
186
|
+
}
|
187
|
+
else
|
188
|
+
{
|
189
|
+
mxmlDiv.style.display = "none";
|
190
|
+
mxmlShowLink.style.display = "inline";
|
191
|
+
mxmlHideLink.style.display = "none";
|
192
|
+
setCookie("showMXML","false", new Date(3000,1,1,1,1), "/", document.location.domain);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
function showHideInherited()
|
197
|
+
{
|
198
|
+
setInheritedVisible(getCookie("showInheritedConstant") == "true", "Constant");
|
199
|
+
setInheritedVisible(getCookie("showInheritedProtectedConstant") == "true", "ProtectedConstant");
|
200
|
+
setInheritedVisible(getCookie("showInheritedProperty") == "true", "Property");
|
201
|
+
setInheritedVisible(getCookie("showInheritedProtectedProperty") == "true", "ProtectedProperty");
|
202
|
+
setInheritedVisible(getCookie("showInheritedMethod") == "true", "Method");
|
203
|
+
setInheritedVisible(getCookie("showInheritedProtectedMethod") == "true", "ProtectedMethod");
|
204
|
+
setInheritedVisible(getCookie("showInheritedEvent") == "true", "Event");
|
205
|
+
setInheritedVisible(getCookie("showInheritedStyle") == "true", "Style");
|
206
|
+
|
207
|
+
setInheritedVisible(getCookie("showInheritedSkinPart") == "true", "SkinPart");
|
208
|
+
setInheritedVisible(getCookie("showInheritedSkinState") == "true", "SkinState");
|
209
|
+
|
210
|
+
setInheritedVisible(getCookie("showInheritedEffect") == "true", "Effect");
|
211
|
+
}
|
212
|
+
function setInheritedVisible(show, selectorText)
|
213
|
+
{
|
214
|
+
if (document.styleSheets[0].cssRules != undefined)
|
215
|
+
{
|
216
|
+
var rules = document.styleSheets[0].cssRules;
|
217
|
+
for (var i = 0; i < rules.length; i++)
|
218
|
+
{
|
219
|
+
if (rules[i].selectorText == ".hideInherited" + selectorText)
|
220
|
+
rules[i].style.display = show ? "" : "none";
|
221
|
+
|
222
|
+
if (rules[i].selectorText == ".showInherited" + selectorText)
|
223
|
+
rules[i].style.display = show ? "none" : "";
|
224
|
+
}
|
225
|
+
}
|
226
|
+
else
|
227
|
+
{
|
228
|
+
document.styleSheets[0].addRule(".hideInherited" + selectorText, show ? "display:inline" : "display:none");
|
229
|
+
document.styleSheets[0].addRule(".showInherited" + selectorText, show ? "display:none" : "display:inline");
|
230
|
+
}
|
231
|
+
setCookie("showInherited" + selectorText, show ? "true" : "false", new Date(3000,1,1,1,1), "/", document.location.domain);
|
232
|
+
setRowColors(show, selectorText);
|
233
|
+
}
|
234
|
+
function setRowColors(show, selectorText)
|
235
|
+
{
|
236
|
+
var rowColor = "#F2F2F2";
|
237
|
+
var table = findObject("summaryTable" + selectorText);
|
238
|
+
if (table != null)
|
239
|
+
{
|
240
|
+
var rowNum = 0;
|
241
|
+
for (var i = 1; i < table.rows.length; i++)
|
242
|
+
{
|
243
|
+
if (table.rows[i].className.indexOf("hideInherited") == -1 || show)
|
244
|
+
{
|
245
|
+
rowNum++;
|
246
|
+
table.rows[i].bgColor = (rowNum % 2 == 0) ? rowColor : "#FFFFFF";
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
function setRowColorsInitial(show, selectorText)
|
252
|
+
{
|
253
|
+
var rowColor = "#F2F2F2";
|
254
|
+
var table = findObject("summaryTable" + selectorText);
|
255
|
+
if (table != null)
|
256
|
+
{
|
257
|
+
var rowNum = 0;
|
258
|
+
for (var i = 1; i < table.rows.length; i++)
|
259
|
+
{
|
260
|
+
if (table.rows[i].className.indexOf("hideInherited") == -1 && show)
|
261
|
+
{
|
262
|
+
rowNum++;
|
263
|
+
table.rows[i].bgColor = (rowNum % 2 == 0) ? rowColor : "#FFFFFF";
|
264
|
+
}
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
function setStyle(selectorText, styleName, newValue)
|
269
|
+
{
|
270
|
+
if (document.styleSheets[0].cssRules != undefined)
|
271
|
+
{
|
272
|
+
var rules = document.styleSheets[0].cssRules;
|
273
|
+
for (var i = 0; i < rules.length; i++)
|
274
|
+
{
|
275
|
+
if (rules[i].selectorText == selectorText)
|
276
|
+
{
|
277
|
+
rules[i].style[styleName] = newValue;
|
278
|
+
break;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
else
|
283
|
+
{
|
284
|
+
document.styleSheets[0].addRule(selectorText, styleName + ":" + newValue);
|
285
|
+
}
|
286
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>All Classes</title><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"></head><body><script language="javascript" type="text/javascript" src="asdoc.js"></script><script language="javascript" type="text/javascript" src="help.js"></script><script language="javascript" type="text/javascript" src="cookies.js"></script><script language="javascript" type="text/javascript"><!--
|
2
|
+
asdocTitle = 'All Classes - AS3 Signals v0.7';
|
3
|
+
var baseRef = '';
|
4
|
+
window.onload = configPage;
|
5
|
+
--></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
scrollToNameAnchor();
|
8
|
+
</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">AS3 Signals v0.7</td><td class="titleTableTopNav" align="right"><a href="package-summary.html" onclick="loadClassListFrame('all-classes.html')">All Packages</a> | <a href="all-index-A.html" onclick="loadClassListFrame('index-list.html')">Index</a> | <a id="framesLink1" href="index.html?class-summary.html&all-classes.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">All Classes</td><td class="titleTableSubNav" id="subNav" align="right"></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
|
9
|
+
<!--
|
10
|
+
|
11
|
+
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("All Classes"); titleBar_setSubNav(false,false,false,false,false,false,false,false,false,false,false ,false,false,false,false,false);}
|
12
|
+
-->
|
13
|
+
</script><div class="MainContent"><br><p>Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.</p><br><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th> </th><th width="20%">Class</th><th width="20%">Package</th><th width="60%">Description</th></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/DeluxeSignal.html">DeluxeSignal</a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol">
|
14
|
+
Signal dispatches events to multiple listeners.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/events/GenericEvent.html">GenericEvent</a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/events/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/events/class-list.html');">org.osflash.signals.events</a></td><td class="summaryTableLastCol"> </td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/events/IBubbleEventHandler.html"><i>IBubbleEventHandler</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/events/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/events/class-list.html');">org.osflash.signals.events</a></td><td class="summaryTableLastCol"> </td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/IDeluxeSignal.html"><i>IDeluxeSignal</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol"> </td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/IDispatcher.html"><i>IDispatcher</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol"> </td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/events/IEvent.html"><i>IEvent</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/events/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/events/class-list.html');">org.osflash.signals.events</a></td><td class="summaryTableLastCol"> </td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/natives/INativeDispatcher.html"><i>INativeDispatcher</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/natives/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/natives/class-list.html');">org.osflash.signals.natives</a></td><td class="summaryTableLastCol">
|
15
|
+
Similar to IDispatcher but using strong types specific to Flash's native event system.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/ISignal.html"><i>ISignal</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol"> </td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/ISignalOwner.html"><i>ISignalOwner</i></a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol">
|
16
|
+
ISignalOwner gives access to the powerful function, removeAll.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/natives/NativeMappedSignal.html">NativeMappedSignal</a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/natives/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/natives/class-list.html');">org.osflash.signals.natives</a></td><td class="summaryTableLastCol">
|
17
|
+
|
18
|
+
The NativeMappedSignal class is used to map/transform a native Event,
|
19
|
+
relayed from an IEventDispatcher, into other forms of data,
|
20
|
+
which are dispatched to all listeners.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/natives/NativeRelaySignal.html">NativeRelaySignal</a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/natives/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/natives/class-list.html');">org.osflash.signals.natives</a></td><td class="summaryTableLastCol">
|
21
|
+
The NativeRelaySignal class is used to relay events from an IEventDispatcher
|
22
|
+
to listeners.</td></tr><tr class="prow0"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/natives/NativeSignal.html">NativeSignal</a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/natives/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/natives/class-list.html');">org.osflash.signals.natives</a></td><td class="summaryTableLastCol">
|
23
|
+
The NativeSignal class provides a strongly-typed facade for an IEventDispatcher.</td></tr><tr class="prow1"><td class="summaryTablePaddingCol"> </td><td class="summaryTableSecondCol"><a href="org/osflash/signals/Signal.html">Signal</a><br></td><td class="summaryTableCol"><a href="org/osflash/signals/package-detail.html" onclick="javascript:loadClassListFrame('org/osflash/signals/class-list.html');">org.osflash.signals</a></td><td class="summaryTableLastCol">
|
24
|
+
Signal dispatches events to multiple listeners.</td></tr></table><p></p><center class="copyright"><footer>AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM</footer><br/>Mon Oct 25 2010, 02:48 PM -07:00 </center></div></body></html><!--AS3 Signals - Documentation generated at: 10/25/2010 02:48 PM<br/>Mon Oct 25 2010, 02:48 PM -07:00 -->
|
data/docs/cookies.js
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
//
|
3
|
+
// ADOBE SYSTEMS INCORPORATED
|
4
|
+
// Copyright 2006-2008 Adobe Systems Incorporated
|
5
|
+
// All Rights Reserved.
|
6
|
+
//
|
7
|
+
// NOTICE: Adobe permits you to use, modify, and distribute this file
|
8
|
+
// in accordance with the terms of the license agreement accompanying it.
|
9
|
+
//
|
10
|
+
////////////////////////////////////////////////////////////////////////////////
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Read the JavaScript cookies tutorial at:
|
14
|
+
* http://www.netspade.com/articles/javascript/cookies.xml
|
15
|
+
*/
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Sets a Cookie with the given name and value.
|
19
|
+
*
|
20
|
+
* name Name of the cookie
|
21
|
+
* value Value of the cookie
|
22
|
+
* [expires] Expiration date of the cookie (default: end of current session)
|
23
|
+
* [path] Path where the cookie is valid (default: path of calling document)
|
24
|
+
* [domain] Domain where the cookie is valid
|
25
|
+
* (default: domain of calling document)
|
26
|
+
* [secure] Boolean value indicating if the cookie transmission requires a
|
27
|
+
* secure transmission
|
28
|
+
*/
|
29
|
+
function setCookie(name, value, expires, path, domain, secure)
|
30
|
+
{
|
31
|
+
document.cookie= name + "=" + escape(value) +
|
32
|
+
((expires) ? "; expires=" + expires.toGMTString() : "") +
|
33
|
+
((path) ? "; path=" + path : "") +
|
34
|
+
((domain) ? "; domain=" + domain : "") +
|
35
|
+
((secure) ? "; secure" : "");
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Gets the value of the specified cookie.
|
40
|
+
*
|
41
|
+
* name Name of the desired cookie.
|
42
|
+
*
|
43
|
+
* Returns a string containing value of specified cookie,
|
44
|
+
* or null if cookie does not exist.
|
45
|
+
*/
|
46
|
+
function getCookie(name)
|
47
|
+
{
|
48
|
+
var dc = document.cookie;
|
49
|
+
var prefix = name + "=";
|
50
|
+
var begin = dc.indexOf("; " + prefix);
|
51
|
+
if (begin == -1)
|
52
|
+
{
|
53
|
+
begin = dc.indexOf(prefix);
|
54
|
+
if (begin != 0) return null;
|
55
|
+
}
|
56
|
+
else
|
57
|
+
{
|
58
|
+
begin += 2;
|
59
|
+
}
|
60
|
+
var end = document.cookie.indexOf(";", begin);
|
61
|
+
if (end == -1)
|
62
|
+
{
|
63
|
+
end = dc.length;
|
64
|
+
}
|
65
|
+
return unescape(dc.substring(begin + prefix.length, end));
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Deletes the specified cookie.
|
70
|
+
*
|
71
|
+
* name name of the cookie
|
72
|
+
* [path] path of the cookie (must be same as path used to create cookie)
|
73
|
+
* [domain] domain of the cookie (must be same as domain used to create cookie)
|
74
|
+
*/
|
75
|
+
function deleteCookie(name, path, domain)
|
76
|
+
{
|
77
|
+
if (getCookie(name))
|
78
|
+
{
|
79
|
+
document.cookie = name + "=" +
|
80
|
+
((path) ? "; path=" + path : "") +
|
81
|
+
((domain) ? "; domain=" + domain : "") +
|
82
|
+
"; expires=Thu, 01-Jan-70 00:00:01 GMT";
|
83
|
+
}
|
84
|
+
}
|
data/docs/help.js
ADDED
@@ -0,0 +1,941 @@
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
|
+
//
|
3
|
+
// ADOBE SYSTEMS INCORPORATED
|
4
|
+
// Copyright 2008 Adobe Systems Incorporated
|
5
|
+
// All Rights Reserved.
|
6
|
+
//
|
7
|
+
// NOTICE: Adobe permits you to use, modify, and distribute this file
|
8
|
+
// in accordance with the terms of the license agreement accompanying it.
|
9
|
+
//
|
10
|
+
////////////////////////////////////////////////////////////////////////////////
|
11
|
+
|
12
|
+
|
13
|
+
function closePopup()
|
14
|
+
{
|
15
|
+
window.close();
|
16
|
+
}
|
17
|
+
function scrollToNameAnchor()
|
18
|
+
{
|
19
|
+
var nameAnchor = window.location.href;
|
20
|
+
var value = nameAnchor.split("nameAnchor=");
|
21
|
+
|
22
|
+
if (value[1] != null) {
|
23
|
+
document.location =value[0]+"#"+ value[1];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
// HIDES AND SHOWS LARGE GRAPHICS IN THE CONTENT PAGES
|
27
|
+
function showHideImage(thisID, obj)
|
28
|
+
{
|
29
|
+
|
30
|
+
var imgElement = document.getElementById(thisID);
|
31
|
+
var imgText = obj;
|
32
|
+
|
33
|
+
if( imgElement.className == "largeImage" )
|
34
|
+
{
|
35
|
+
imgElement.src = "images/" + thisID + ".png";
|
36
|
+
imgElement.className="smallImage";
|
37
|
+
obj.className="showImageLink";
|
38
|
+
obj.href="#";
|
39
|
+
obj.firstChild.nodeValue = terms_AHV_LARGE_GRAPHIC;
|
40
|
+
window.focus();
|
41
|
+
}
|
42
|
+
else
|
43
|
+
{
|
44
|
+
imgElement.src = "images/" + thisID + "_popup.png";
|
45
|
+
imgElement.className="largeImage";
|
46
|
+
obj.className="hideImageLink";
|
47
|
+
obj.href="#";
|
48
|
+
obj.firstChild.nodeValue = terms_AHV_SMALL_GRAPHIC;
|
49
|
+
window.focus();
|
50
|
+
}
|
51
|
+
}
|
52
|
+
// js function for expand collapse menu functionality
|
53
|
+
function KeyCheck(e, tree, idx)
|
54
|
+
{
|
55
|
+
var KeyID = (window.event) ? event.keyCode : e.keyCode;
|
56
|
+
var node = YAHOO.widget.TreeView.getNode(tree, idx);
|
57
|
+
switch(KeyID)
|
58
|
+
{
|
59
|
+
case 37:
|
60
|
+
// alert("Arrow Left");
|
61
|
+
node.collapse();
|
62
|
+
break;
|
63
|
+
case 39:
|
64
|
+
// alert("Arrow Right");
|
65
|
+
node.expand();
|
66
|
+
break;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
// js function for hide/display mini-elements functionality
|
70
|
+
function toggleLayer(whichLayer) {
|
71
|
+
if (document.getElementById) {
|
72
|
+
// this is the way the standards work
|
73
|
+
var obj=document.getElementById(whichLayer);
|
74
|
+
var img = obj.previousSibling.firstChild.firstChild;
|
75
|
+
img.setAttribute("src","images/on.gif");
|
76
|
+
var styleatt = obj.style;
|
77
|
+
styleatt.display = styleatt.display? "":"block";
|
78
|
+
|
79
|
+
//change the class of the h3 per design
|
80
|
+
if (obj.previousSibling.className === "topictitle3") {
|
81
|
+
obj.previousSibling.className ="topictitle3off";
|
82
|
+
img.setAttribute("src","images/on.gif");
|
83
|
+
} else if (obj.previousSibling.className === "topictitle3off") {
|
84
|
+
obj.previousSibling.className ="topictitle3";
|
85
|
+
img.setAttribute("src","images/off.gif");
|
86
|
+
}
|
87
|
+
}
|
88
|
+
else if (document.all) {
|
89
|
+
// this is the way old msie versions work
|
90
|
+
var style2 = document.all[whichLayer].style;
|
91
|
+
style2.display = style2.display? "":"block";
|
92
|
+
}
|
93
|
+
}
|
94
|
+
function addBookmark( bm_url_str, bm_str_label ) {
|
95
|
+
parent.navigation.flashProxy.call('addBookmark', bm_url_str, bm_str_label );
|
96
|
+
}
|
97
|
+
|
98
|
+
var upperAsciiXlatTbl = new Array(
|
99
|
+
223,"ss",
|
100
|
+
230,"ae",
|
101
|
+
198,"ae",
|
102
|
+
156,"oe",
|
103
|
+
140,"oe",
|
104
|
+
240,"eth",
|
105
|
+
208,"eth",
|
106
|
+
141,"y",
|
107
|
+
159,"y"
|
108
|
+
);
|
109
|
+
|
110
|
+
var maxNumberOfShownSearchHits = 30;
|
111
|
+
var showInputStringAlerts = 0;
|
112
|
+
var navigationCookie = "";
|
113
|
+
|
114
|
+
////////////// COOKIE-RELATED FUNCTIONS /////////////////////////////////////////
|
115
|
+
// test the navigator object for cookie enabling
|
116
|
+
// additional code would need to be added for
|
117
|
+
// to support browsers pre navigator 4 or IE5 or
|
118
|
+
// other browsers that dont support
|
119
|
+
// the navigator object if any ..
|
120
|
+
function cookiesNotEnabled()
|
121
|
+
{
|
122
|
+
return true; // We're not going to use cookies
|
123
|
+
}
|
124
|
+
/*
|
125
|
+
* This function parses comma-separated name=value
|
126
|
+
* argument pairs from the query string of the URL.
|
127
|
+
* It stores the name=value pairs in
|
128
|
+
* properties of an object and returns that object.
|
129
|
+
*/
|
130
|
+
function getArgs()
|
131
|
+
{
|
132
|
+
var args = new Object();
|
133
|
+
var query = window.location.search.substring(1);
|
134
|
+
// Get query string
|
135
|
+
if (query.length > 0) {
|
136
|
+
var pairs = query.split(",");
|
137
|
+
// Break at comma
|
138
|
+
for(var i = 0; i < pairs.length; i++)
|
139
|
+
{
|
140
|
+
var pos = pairs[i].indexOf('=');
|
141
|
+
// Look for "name=value"
|
142
|
+
if (pos == -1) continue;
|
143
|
+
// If not found, skip
|
144
|
+
var argname = pairs[i].substring(0,pos);
|
145
|
+
// Extract the name
|
146
|
+
var value = pairs[i].substring(pos+1);
|
147
|
+
// Extract the value
|
148
|
+
args[argname] = unescape(value);
|
149
|
+
// Store as a property
|
150
|
+
// In JavaScript 1.5, use decodeURIComponent( )
|
151
|
+
// instead of escape( )
|
152
|
+
}
|
153
|
+
} else {
|
154
|
+
args[name] = false;
|
155
|
+
}
|
156
|
+
return args; // Return the object
|
157
|
+
}
|
158
|
+
|
159
|
+
/////////////////////////////// COOKIE-RELATED FUNCTIONS ////////////////////////
|
160
|
+
// Bill Dortch getCookieVal and GetCookie routines
|
161
|
+
function getCookieVal(offset) {
|
162
|
+
var endstr=document.cookie.indexOf(";",offset);
|
163
|
+
if (endstr==-1)endstr=document.cookie.length;
|
164
|
+
return unescape(document.cookie.substring(offset, endstr));
|
165
|
+
}
|
166
|
+
function GetCookie(name) {
|
167
|
+
var arg=name+"=";
|
168
|
+
var alen=arg.length;
|
169
|
+
var clen=document.cookie.length;
|
170
|
+
var i=0;
|
171
|
+
|
172
|
+
if (cookiesNotEnabled())
|
173
|
+
{
|
174
|
+
var args = getArgs();
|
175
|
+
if (args[name] !== false) {
|
176
|
+
return args[name];
|
177
|
+
}
|
178
|
+
} else {
|
179
|
+
while(i<clen){
|
180
|
+
var j=i+alen;
|
181
|
+
if(document.cookie.substring(i,j)==arg)return getCookieVal(j);
|
182
|
+
i=document.cookie.indexOf(" ",i)+1;
|
183
|
+
if(i==0)break;
|
184
|
+
}
|
185
|
+
return null;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
function getTopCookieVal(offset) {
|
189
|
+
var endstr=document.cookie.indexOf(";",offset);
|
190
|
+
if (endstr==-1)endstr=document.cookie.length;
|
191
|
+
return unescape(document.cookie.substring(offset, endstr));
|
192
|
+
}
|
193
|
+
function GetTopCookie(name) {
|
194
|
+
var arg=name+"=";
|
195
|
+
var alen=arg.length;
|
196
|
+
var clen=document.cookie.length;
|
197
|
+
var i=0;
|
198
|
+
while(i<clen){
|
199
|
+
var j=i+alen;
|
200
|
+
if(document.cookie.substring(i,j)==arg)return getTopCookieVal(j);
|
201
|
+
i=document.cookie.indexOf(" ",i)+1;
|
202
|
+
if(i==0)break;
|
203
|
+
}
|
204
|
+
return null;
|
205
|
+
}
|
206
|
+
// SetCookie
|
207
|
+
// -----------
|
208
|
+
// This function is called to set a cookie in the current document.
|
209
|
+
// params:
|
210
|
+
// n - name of the cookie
|
211
|
+
// v - value of the cookie
|
212
|
+
// minutes - the duration of the cookie in minutes (that is, how many minutes before it expires)
|
213
|
+
function SetCookie(n,v,minutes) {
|
214
|
+
var Then = new Date();
|
215
|
+
Then.setTime(Then.getTime() + minutes * 60 * 1000);
|
216
|
+
document.cookie = n + "=" + v + ";expires=" + Then.toGMTString();
|
217
|
+
}
|
218
|
+
// getContentCookie
|
219
|
+
// ----------------
|
220
|
+
// This function reads the content cookie set by the handleContext funtion.
|
221
|
+
//
|
222
|
+
function getContentCookie()
|
223
|
+
{
|
224
|
+
var contentCookie = GetCookie("content");
|
225
|
+
document.cookie = "content=";
|
226
|
+
|
227
|
+
// What does this expression mean?
|
228
|
+
// (contentCookie.indexOf("htm") != -1)
|
229
|
+
if ( (contentCookie != null) && (contentCookie.indexOf("htm") != -1) )
|
230
|
+
{
|
231
|
+
document.cookie = "content="; // Wipe out the cookie
|
232
|
+
document.cookie = "histR=" + contentCookie;
|
233
|
+
location.replace(contentCookie);
|
234
|
+
}
|
235
|
+
}
|
236
|
+
// getNavigationCookie
|
237
|
+
// -------------------
|
238
|
+
// This function reads the content cookie set by the handleContext funtion.
|
239
|
+
//
|
240
|
+
function getNavigationCookie()
|
241
|
+
{
|
242
|
+
navigationCookie = GetCookie("navigation");
|
243
|
+
document.cookie = "navigation=";
|
244
|
+
|
245
|
+
// What does this expression mean?
|
246
|
+
// (navigationCookie.indexOf("htm") != -1)
|
247
|
+
if ( (navigationCookie != null) && (navigationCookie.indexOf("htm") != -1) )
|
248
|
+
{
|
249
|
+
document.cookie = "navigation="; // Wipe out the cookie
|
250
|
+
document.cookie = "histL=" + navigationCookie;
|
251
|
+
location.replace(navigationCookie);
|
252
|
+
}
|
253
|
+
|
254
|
+
}
|
255
|
+
|
256
|
+
// handleContext
|
257
|
+
// -------------
|
258
|
+
// This function is called from content pages. It sets a cookie as soon
|
259
|
+
// as the page is loaded. If the content page is not in it's proper place
|
260
|
+
// in the frameset, the frameset will be loaded and the page will be
|
261
|
+
// restored using the value in this cookie.
|
262
|
+
//
|
263
|
+
function handleContext(which)
|
264
|
+
{
|
265
|
+
}
|
266
|
+
// lastNodeOf
|
267
|
+
// ----------
|
268
|
+
// This function gets passed a URL and returns the last node of same.
|
269
|
+
function lastNodeOf(e)
|
270
|
+
{
|
271
|
+
var expr = "" + e;
|
272
|
+
var to = expr.indexOf("?");
|
273
|
+
if( to !== -1) {
|
274
|
+
var path = expr.substring(0,to);
|
275
|
+
var pieces = path.split("/");
|
276
|
+
return pieces[pieces.length -1];
|
277
|
+
} else {
|
278
|
+
var pos = expr.lastIndexOf("/");
|
279
|
+
if( (pos != -1) && (pos+1 != expr.length) ) {
|
280
|
+
return expr.substr(pos+1);
|
281
|
+
} else {
|
282
|
+
return expr;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
}
|
286
|
+
// frameBuster
|
287
|
+
// -----------
|
288
|
+
// This function is called by the frameset to ensure it's always loaded
|
289
|
+
// at the top level of the current window.
|
290
|
+
//
|
291
|
+
function frameBuster()
|
292
|
+
{
|
293
|
+
}
|
294
|
+
|
295
|
+
|
296
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
297
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
298
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
299
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
300
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
301
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
302
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
303
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
304
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
305
|
+
// SEARCH RELATED.......................................SEARCH RELATED
|
306
|
+
function bubbleSortWithShadow(a,b)
|
307
|
+
{
|
308
|
+
var temp;
|
309
|
+
for(var j=1; j<a.length; j++) {
|
310
|
+
for(var i=0; i<j; i++) {
|
311
|
+
if( a[i] < a[j] ) {
|
312
|
+
temp = a[j];a[j] = a[i];a[i] = temp;
|
313
|
+
temp = b[j];b[j] = b[i];b[i] = temp;
|
314
|
+
}
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|
318
|
+
//---------------------------------------------------
|
319
|
+
function buildHtmlResultsStr()
|
320
|
+
{
|
321
|
+
var innerHTMLstring,ndxEnd;
|
322
|
+
|
323
|
+
// Gather all of the results display lines into the 'resultsArr'
|
324
|
+
ndxEnd = (matchesArrIndices.length > maxNumberOfShownSearchHits ) ? maxNumberOfShownSearchHits : matchesArrIndices.length;
|
325
|
+
|
326
|
+
for(var ndx=0, resultsArr = new Array(); ndx < ndxEnd; ndx++) {
|
327
|
+
resultsArr[resultsArr.length] = buildResultsStrOneLine(matchesArrIndices[ndx],matchesArrHits[ndx]);
|
328
|
+
}
|
329
|
+
|
330
|
+
// Convert this 'resultsArr' into a single string that will be injected into this search page.
|
331
|
+
innerHTMLstring = "<ol>";
|
332
|
+
for( var ndx=0; ndx < resultsArr.length; ndx++ ) {
|
333
|
+
innerHTMLstring = innerHTMLstring + resultsArr[ndx];
|
334
|
+
}
|
335
|
+
innerHTMLstring = innerHTMLstring + "</ol>";
|
336
|
+
return innerHTMLstring;
|
337
|
+
}
|
338
|
+
//---------------------------------------------------
|
339
|
+
function buildResultsStrOneLine(a,b)
|
340
|
+
{
|
341
|
+
var retStr;
|
342
|
+
retStr = "<li class=\"searchresults\"><a href=\"" + fileArr[a] + ".html\">";
|
343
|
+
|
344
|
+
// for debug...
|
345
|
+
//retStr += "target=\"content\" ";
|
346
|
+
//retStr += "title=\"" + top.fileArr[a] + ".html-";
|
347
|
+
//retStr += a + "-" + b + "\">";
|
348
|
+
|
349
|
+
// for production...
|
350
|
+
//retStr += "target=\"AdobeHelp\" >";
|
351
|
+
|
352
|
+
retStr += titleArr[a] + "</a></li>";
|
353
|
+
return retStr;
|
354
|
+
}
|
355
|
+
//---------------------------------------------------
|
356
|
+
// checkForHits
|
357
|
+
// Break up the search term into words.
|
358
|
+
// Check each of those words against...
|
359
|
+
// (a) cached titles and
|
360
|
+
// (b) cached content lines
|
361
|
+
// Perform the hit detection for each one,
|
362
|
+
// storing the results into (hits-ordered)
|
363
|
+
// 'matchesArrIndices' and
|
364
|
+
// 'matchesArrHits'.
|
365
|
+
//---------------------------------------------------
|
366
|
+
function checkForHits()
|
367
|
+
{
|
368
|
+
var inputWords = new Array();
|
369
|
+
var tempArr = new Array();
|
370
|
+
|
371
|
+
// Split the search term into individual search words
|
372
|
+
tempArr = searchTerm.split(" ");
|
373
|
+
for(var ndx=0; ndx < tempArr.length; ndx++) {
|
374
|
+
if( tempArr[ndx].length ) {
|
375
|
+
inputWords[inputWords.length] = tempArr[ndx];
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
// Initialization
|
380
|
+
matchesArrHits = new Array();
|
381
|
+
matchesArrIndices = new Array();
|
382
|
+
|
383
|
+
// Initialize the 'maskArr' and the 'hitsArr'
|
384
|
+
maskArr = new Array();
|
385
|
+
hitsArr = new Array();
|
386
|
+
for( var ndx = 0; ndx < fileArr.length; ndx++ ) {
|
387
|
+
maskArr[maskArr.length] = 1;
|
388
|
+
hitsArr[hitsArr.length] = 0;
|
389
|
+
}
|
390
|
+
|
391
|
+
// Do checking for matches on EACH OF THE INPUT WORDS
|
392
|
+
for( var ndx = 0; ndx < inputWords.length; ndx++ ) {
|
393
|
+
|
394
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
395
|
+
if( ! checkForHitsWordAgainstPages( inputWords[ndx] ) ) {
|
396
|
+
return; // No sense in continuing, match has failed.
|
397
|
+
}
|
398
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
399
|
+
|
400
|
+
for( var ndx2 = 0; ndx2 < hitsArr.length; ndx2++ ) {
|
401
|
+
if( hitsArr[ndx2] == 0 ) {
|
402
|
+
maskArr[ndx2] = 0;
|
403
|
+
}
|
404
|
+
else {
|
405
|
+
if( maskArr[ndx2] != 0 ) {
|
406
|
+
maskArr[ndx2] += hitsArr[ndx2];
|
407
|
+
}
|
408
|
+
}
|
409
|
+
}
|
410
|
+
}
|
411
|
+
|
412
|
+
// From the final 'maskArr', generate 'matchesArrHits' and 'matchesArrIndices'
|
413
|
+
for( var ndx = 0; ndx < maskArr.length; ndx++ ) {
|
414
|
+
if( maskArr[ndx] ) {
|
415
|
+
matchesArrHits[matchesArrHits.length] = maskArr[ndx];
|
416
|
+
matchesArrIndices[matchesArrIndices.length] = ndx;
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
// If there were any hits, then sort them by highest hits first
|
421
|
+
if( matchesArrIndices.length ) {
|
422
|
+
bubbleSortWithShadow(matchesArrHits, matchesArrIndices);
|
423
|
+
}
|
424
|
+
}
|
425
|
+
//---------------------------------------------------
|
426
|
+
function checkForHitsWordAgainstPages(w)
|
427
|
+
{
|
428
|
+
var hitAnywhere = 0;
|
429
|
+
|
430
|
+
if(showInputStringAlerts){alert( "Length of sc2: " + sc2.length );}
|
431
|
+
|
432
|
+
// Process each of the content lines (one per file/page)
|
433
|
+
for(var ndx=0; ndx < sc2.length; ndx++) {
|
434
|
+
|
435
|
+
// Put the cached title into glob_title
|
436
|
+
glob_title = sc1[ndx];
|
437
|
+
|
438
|
+
// Put the cached content line into glob_phrase
|
439
|
+
glob_phrase = sc2[ndx];
|
440
|
+
|
441
|
+
if( maskArr[ndx] ) {
|
442
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
443
|
+
if( document.isDblByte ) {
|
444
|
+
hitsArr[ndx] = checkForHitsWordAgainstTitleAndLine2(w,ndx);
|
445
|
+
}
|
446
|
+
else {
|
447
|
+
hitsArr[ndx] = checkForHitsWordAgainstTitleAndLine(w,ndx);
|
448
|
+
}
|
449
|
+
if( hitsArr[ndx] ) {
|
450
|
+
hitAnywhere = 1;
|
451
|
+
}
|
452
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
453
|
+
}
|
454
|
+
}
|
455
|
+
return hitAnywhere;
|
456
|
+
}
|
457
|
+
//---------------------------------------------------
|
458
|
+
function checkForHitsWordAgainstTitleAndLine(w, lineNdx)
|
459
|
+
{
|
460
|
+
var words;
|
461
|
+
var titleHitCnt = 0;
|
462
|
+
var contentHitCnt = 0;
|
463
|
+
var regex = new RegExp(w, "i");
|
464
|
+
|
465
|
+
// TITLE .........................................
|
466
|
+
words = new Array();
|
467
|
+
if(glob_title!=null){
|
468
|
+
words = glob_title.split(" ");
|
469
|
+
}
|
470
|
+
// EXECUTE TITLE MATCH TEST
|
471
|
+
for( var ndx = 0; ndx < words.length; ndx++ ) {
|
472
|
+
if( w == words[ndx] ) {
|
473
|
+
titleHitCnt += 100;
|
474
|
+
break;
|
475
|
+
}
|
476
|
+
}
|
477
|
+
|
478
|
+
// CONTENT .........................................
|
479
|
+
words = new Array();
|
480
|
+
if(glob_phrase!=null){
|
481
|
+
words = glob_phrase.split(" ");
|
482
|
+
}
|
483
|
+
// EXECUTE CONTENT MATCH TEST
|
484
|
+
if( regex.test(glob_phrase) ) { // See if word is anywhere within the phrase first.
|
485
|
+
for( var ndx = 0; ndx < words.length; ndx++ ) {
|
486
|
+
if( w == words[ndx] ) {
|
487
|
+
contentHitCnt += getInstanceCount(lineNdx,ndx);
|
488
|
+
break;
|
489
|
+
}
|
490
|
+
//else if( w < words[ndx] ) { // If word is greater than the remaining words, leave
|
491
|
+
// break;
|
492
|
+
//}
|
493
|
+
}
|
494
|
+
}
|
495
|
+
|
496
|
+
return titleHitCnt + contentHitCnt;
|
497
|
+
}
|
498
|
+
//---------------------------------------------------
|
499
|
+
function checkForHitsWordAgainstTitleAndLine2(w, lineNdx)
|
500
|
+
{
|
501
|
+
var titleHitCnt = 0;
|
502
|
+
var contentHitCnt = 0;
|
503
|
+
|
504
|
+
// TITLE .........................................
|
505
|
+
if( glob_title.indexOf(w) != -1 ) {
|
506
|
+
titleHitCnt = 100;
|
507
|
+
}
|
508
|
+
|
509
|
+
// CONTENT .........................................
|
510
|
+
contentHitCnt = indexesOf(glob_phrase,w);
|
511
|
+
|
512
|
+
return titleHitCnt + contentHitCnt;
|
513
|
+
}
|
514
|
+
//---------------------------------------------------
|
515
|
+
// checkTheInputString
|
516
|
+
//
|
517
|
+
// returns...
|
518
|
+
// empty string - if there is valid input to search
|
519
|
+
// message string - if there is NO VALID INPUT to search
|
520
|
+
//---------------------------------------------------
|
521
|
+
function checkTheInputString()
|
522
|
+
{
|
523
|
+
var myArr = new Array();
|
524
|
+
var tempArr = new Array();
|
525
|
+
var foundStopOrShortWord = 0;
|
526
|
+
var ptn1 = /\d\D/;
|
527
|
+
var ptn2 = /\D\d/;
|
528
|
+
|
529
|
+
handleWhitespaceRemoval();
|
530
|
+
searchTerm = searchTerm.replace (/(%20)+/g," ") ;
|
531
|
+
searchTerm = searchTerm.toLowerCase();
|
532
|
+
|
533
|
+
searchTerm = filterTheChars(searchTerm);
|
534
|
+
|
535
|
+
handleWhitespaceRemoval();
|
536
|
+
|
537
|
+
if( searchTerm.length ) {
|
538
|
+
|
539
|
+
// Split the searchTerm
|
540
|
+
tempArr = searchTerm.split(" ",100);
|
541
|
+
if(showInputStringAlerts){alert( "size of tempArr: " + tempArr.length );}
|
542
|
+
|
543
|
+
// Handle periods
|
544
|
+
for( var ndx = 0; ndx < tempArr.length; ndx++ ) {
|
545
|
+
if( tempArr[ndx].charCodeAt(0) == 46 ) { // periods at the start of word
|
546
|
+
//tempArr[ndx] = tempArr[ndx].substr(1); // NOTE: We don't want to do this. (e.g. ".txt")
|
547
|
+
}
|
548
|
+
if( tempArr[ndx].charCodeAt(tempArr[ndx].length-1) == 46 ) { // end of word
|
549
|
+
tempArr[ndx] = tempArr[ndx].substr(0,tempArr[ndx].length-1);
|
550
|
+
}
|
551
|
+
}
|
552
|
+
|
553
|
+
// Do stopwords and shortwords removal
|
554
|
+
for( var ndx = 0; ndx < tempArr.length; ndx++ ) {
|
555
|
+
var word = tempArr[ndx];
|
556
|
+
if(showInputStringAlerts){alert( "Checking word: " + word );}
|
557
|
+
|
558
|
+
if( ! sw[word] ) {
|
559
|
+
if( word.length < 2 ) {
|
560
|
+
foundStopOrShortWord = 1;
|
561
|
+
}
|
562
|
+
else if( (word.length > 2) || (ptn1.test(word) || ptn2.test(word)) ) {
|
563
|
+
myArr[myArr.length] = tempArr[ndx];
|
564
|
+
}
|
565
|
+
else {
|
566
|
+
foundStopOrShortWord = 1;
|
567
|
+
}
|
568
|
+
}
|
569
|
+
else {
|
570
|
+
foundStopOrShortWord = 1;
|
571
|
+
}
|
572
|
+
}
|
573
|
+
|
574
|
+
// Now reconstruct the searchTerm, based upon the 'myArr'
|
575
|
+
searchTerm = "";
|
576
|
+
for( var ndx = 0; ndx < myArr.length; ndx++ ) {
|
577
|
+
searchTerm = searchTerm + myArr[ndx] + " ";
|
578
|
+
}
|
579
|
+
|
580
|
+
handleWhitespaceRemoval();
|
581
|
+
|
582
|
+
if(showInputStringAlerts){alert( "FINAL SEARCH TERM: *" + searchTerm + "*" );}
|
583
|
+
|
584
|
+
if( foundStopOrShortWord && ! searchTerm.length ) {
|
585
|
+
return MSG_stopAndShortWords;
|
586
|
+
}
|
587
|
+
srch_input_massaged = searchTerm;
|
588
|
+
return "";
|
589
|
+
}
|
590
|
+
else {
|
591
|
+
return MSG_noSearchTermEntered;
|
592
|
+
}
|
593
|
+
}
|
594
|
+
//---------------------------------------------------
|
595
|
+
function checkTheInputString2() // double-byte version
|
596
|
+
{
|
597
|
+
var tempArr = new Array();
|
598
|
+
|
599
|
+
handleWhitespaceRemoval();
|
600
|
+
searchTerm = searchTerm.toLowerCase();
|
601
|
+
|
602
|
+
if( searchTerm.length ) {
|
603
|
+
|
604
|
+
// Split the searchTerm
|
605
|
+
tempArr = searchTerm.split(" ",100);
|
606
|
+
if(showInputStringAlerts){alert( "number of search terms: " + tempArr.length );}
|
607
|
+
|
608
|
+
// Now reconstruct the searchTerm, based upon the 'tempArr'
|
609
|
+
searchTerm = "";
|
610
|
+
for( var ndx = 0; ndx < tempArr.length; ndx++ ) {
|
611
|
+
searchTerm = searchTerm + tempArr[ndx] + " ";
|
612
|
+
}
|
613
|
+
handleWhitespaceRemoval();
|
614
|
+
|
615
|
+
if(showInputStringAlerts){alert( "Massaged search term: " + searchTerm );}
|
616
|
+
|
617
|
+
srch_input_massaged = searchTerm;
|
618
|
+
return "";
|
619
|
+
}
|
620
|
+
else {
|
621
|
+
return MSG_noSearchTermEntered;
|
622
|
+
}
|
623
|
+
}
|
624
|
+
//---------------------------------------------------
|
625
|
+
function doIEsearch()
|
626
|
+
{
|
627
|
+
var stStr = "";
|
628
|
+
|
629
|
+
document.forms[0].sh_term.value = srch_input_verbatim;
|
630
|
+
|
631
|
+
if( srch_message.length ) {
|
632
|
+
document.getElementById("results").innerHTML = srch_message;
|
633
|
+
srch_message = "";
|
634
|
+
}
|
635
|
+
else if( srch_1_shot ) {
|
636
|
+
srch_1_shot = 0;
|
637
|
+
|
638
|
+
searchTerm = srch_input_massaged;
|
639
|
+
checkForHits(); // Sets: 'matchesArrIndices' and 'matchesArrHits'
|
640
|
+
|
641
|
+
if( matchesArrIndices.length ) { // If there were matches/hits... /* Changed for CS4 */
|
642
|
+
|
643
|
+
stStr = "<div class=\"form\">" + MSG_pagesContaining + "<strong>" + srch_input_massaged + "</strong></div><br /><br />\n";
|
644
|
+
|
645
|
+
document.getElementById("results").innerHTML = stStr + buildHtmlResultsStr();
|
646
|
+
}
|
647
|
+
else { /* Changed for CS4 */
|
648
|
+
document.getElementById("results").innerHTML = MSG_noPagesContain + "<strong>" + srch_input_massaged + "</strong><br /><br />";
|
649
|
+
|
650
|
+
}
|
651
|
+
//searching_message.style.visibility="visible";
|
652
|
+
}
|
653
|
+
srch_input_verbatim = "";
|
654
|
+
}
|
655
|
+
//---------------------------------------------------
|
656
|
+
function getInstanceCount( lineIndex, wordIndex )
|
657
|
+
{
|
658
|
+
var instancesStr = instances[lineIndex]; // e.g. "1432931"
|
659
|
+
var ch = instancesStr.substr(wordIndex,1);
|
660
|
+
|
661
|
+
return parseInt(ch);
|
662
|
+
}
|
663
|
+
//---------------------------------------------------
|
664
|
+
function handleWhitespaceRemoval()
|
665
|
+
{
|
666
|
+
var re_1 = /^\s/;
|
667
|
+
var re_2 = /\s$/;
|
668
|
+
var re_3 = /\s\s/;
|
669
|
+
var temp;
|
670
|
+
|
671
|
+
// Remove leading whitespace
|
672
|
+
while( true ) {
|
673
|
+
temp = searchTerm.replace(re_1,"");
|
674
|
+
if( temp == searchTerm ) {
|
675
|
+
break;
|
676
|
+
}
|
677
|
+
searchTerm = temp;
|
678
|
+
}
|
679
|
+
// Remove trailing whitespace
|
680
|
+
while( true ) {
|
681
|
+
temp = searchTerm.replace(re_2,"");
|
682
|
+
if( temp == searchTerm ) {
|
683
|
+
break;
|
684
|
+
}
|
685
|
+
searchTerm = temp;
|
686
|
+
}
|
687
|
+
// Replace multiple contiguous spaces with a single space
|
688
|
+
while( searchTerm.search(re_3) != -1 ) {
|
689
|
+
temp = searchTerm.replace(re_3," ");
|
690
|
+
searchTerm = temp;
|
691
|
+
}
|
692
|
+
}
|
693
|
+
//--------------------------------------------------
|
694
|
+
function isAcceptableChar(chrNdx)
|
695
|
+
{
|
696
|
+
var acceptableChars = new Array( 32, 46, 95 ); // space, period, underscore
|
697
|
+
|
698
|
+
for( var ndx = 0; ndx < acceptableChars.length; ndx++ ) {
|
699
|
+
if( chrNdx == acceptableChars[ndx] ) {
|
700
|
+
return true;
|
701
|
+
}
|
702
|
+
}
|
703
|
+
return false;
|
704
|
+
}
|
705
|
+
//--------------------------------------------------
|
706
|
+
function indexesOf(str,ptn)
|
707
|
+
{
|
708
|
+
var position = 0;
|
709
|
+
var hits = -1;
|
710
|
+
var start = -1;
|
711
|
+
|
712
|
+
while( position != -1 ) {
|
713
|
+
position = str.indexOf(ptn, start+1);
|
714
|
+
hits += 1;
|
715
|
+
start = position;
|
716
|
+
}
|
717
|
+
return hits;
|
718
|
+
}
|
719
|
+
//--------------------------------------------------
|
720
|
+
function filterTheChars(line)
|
721
|
+
{
|
722
|
+
var retStr = "",tempStr;
|
723
|
+
var ch, chCode, retChr;
|
724
|
+
var ndx;
|
725
|
+
|
726
|
+
for( ndx = 0; ndx < line.length; ndx++ ) {
|
727
|
+
ch = line.substr(ndx,1);
|
728
|
+
chCode = ch.charCodeAt(0);
|
729
|
+
|
730
|
+
|
731
|
+
if( (chCode >= 192) && (chCode <= 221) ) { // Handle capital upper-ASCII characters
|
732
|
+
chCode = chCode + 32;
|
733
|
+
retChr = ASCII_to_char(chCode);
|
734
|
+
}
|
735
|
+
else if( withinAcceptableRanges(chCode) || isAcceptableChar(chCode) ) { // Acceptable characters
|
736
|
+
retChr = ch;
|
737
|
+
}
|
738
|
+
else {
|
739
|
+
tempStr = isLigatureChar(chCode);
|
740
|
+
|
741
|
+
if( tempStr.length ) { //Don't replace ligatures.
|
742
|
+
retChr = ch;
|
743
|
+
}
|
744
|
+
else { // Turn all else into space
|
745
|
+
retChr = " ";
|
746
|
+
}
|
747
|
+
}
|
748
|
+
|
749
|
+
// Grow the return string
|
750
|
+
retStr += retChr;
|
751
|
+
}
|
752
|
+
|
753
|
+
return retStr;
|
754
|
+
}
|
755
|
+
//--------------------------------------------------
|
756
|
+
function isLigatureChar(codeToCheck) {
|
757
|
+
var xlatTblNdx, code, replStr = "";
|
758
|
+
|
759
|
+
for( xlatTblNdx = 0; xlatTblNdx < upperAsciiXlatTbl.length; xlatTblNdx+=2 ) {
|
760
|
+
|
761
|
+
code = upperAsciiXlatTbl[xlatTblNdx];
|
762
|
+
if( code == codeToCheck ) {
|
763
|
+
replStr = upperAsciiXlatTbl[xlatTblNdx+1];
|
764
|
+
break;
|
765
|
+
}
|
766
|
+
}
|
767
|
+
|
768
|
+
return replStr;
|
769
|
+
}
|
770
|
+
//--------------------------------------------------
|
771
|
+
function respondToSearchButton()
|
772
|
+
{
|
773
|
+
var myStr;
|
774
|
+
document.getElementById("results").innerHTML = ""; //We don't expect this to be slow enough to need a message.
|
775
|
+
srch_input_verbatim = document.forms[0].sh_term.value;
|
776
|
+
searchTerm = document.forms[0].sh_term.value;
|
777
|
+
|
778
|
+
if( document.isDblByte ) {
|
779
|
+
myStr = checkTheInputString2();
|
780
|
+
}
|
781
|
+
else {
|
782
|
+
myStr = checkTheInputString();
|
783
|
+
}
|
784
|
+
|
785
|
+
srch_message = myStr;
|
786
|
+
srch_1_shot = srch_message.length ? 0 : 1;
|
787
|
+
|
788
|
+
doIEsearch();
|
789
|
+
}
|
790
|
+
//--------------------------------------------------
|
791
|
+
function respondToSearchLoad()
|
792
|
+
{
|
793
|
+
var externalQuery = GetCookie("externalQuery");
|
794
|
+
if (externalQuery == null) {
|
795
|
+
externalQuery = GetCookie("sh_term");
|
796
|
+
}
|
797
|
+
|
798
|
+
if (externalQuery != null) {
|
799
|
+
var myStr;
|
800
|
+
srch_input_verbatim = externalQuery;
|
801
|
+
searchTerm = externalQuery;
|
802
|
+
|
803
|
+
if(document.isDblByte ) {
|
804
|
+
myStr = checkTheInputString2();
|
805
|
+
}
|
806
|
+
else {
|
807
|
+
myStr = checkTheInputString();
|
808
|
+
}
|
809
|
+
|
810
|
+
srch_message = myStr;
|
811
|
+
srch_1_shot = srch_message.length ? 0 : 1;
|
812
|
+
|
813
|
+
doIEsearch();
|
814
|
+
}
|
815
|
+
}
|
816
|
+
//---------------------------------------------------
|
817
|
+
function strReplace(orig,src,dest)
|
818
|
+
{
|
819
|
+
var startPos=0;
|
820
|
+
var matchPos = orig.indexOf(src,startPos);
|
821
|
+
var retLine="";
|
822
|
+
|
823
|
+
while(matchPos != -1) {
|
824
|
+
retLine = retLine + orig.substring(startPos,matchPos) + dest;
|
825
|
+
startPos = matchPos+1;
|
826
|
+
matchPos = orig.indexOf(src,startPos);
|
827
|
+
}
|
828
|
+
if(! retLine.length) {return orig;}
|
829
|
+
else {return retLine+orig.substring(startPos,orig.length);}
|
830
|
+
}
|
831
|
+
//--------------------------------------------------
|
832
|
+
function withinAcceptableRanges(chrNdx)
|
833
|
+
{
|
834
|
+
var acceptableRanges = new Array( "48-57","65-90","97-122","224-229","231-239","241-246","248-253","255-255");
|
835
|
+
|
836
|
+
for( var ndx = 0; ndx < acceptableRanges.length; ndx++ ) {
|
837
|
+
var start_finish = new Array();
|
838
|
+
|
839
|
+
start_finish = acceptableRanges[ndx].split("-");
|
840
|
+
|
841
|
+
if( (chrNdx >= start_finish[0]) && (chrNdx <= start_finish[1]) ) {
|
842
|
+
return true;
|
843
|
+
}
|
844
|
+
}
|
845
|
+
return false;
|
846
|
+
}
|
847
|
+
//--------------------------------------------------
|
848
|
+
function ASCII_to_char(num_in)
|
849
|
+
{
|
850
|
+
var str_out = "";
|
851
|
+
var num_out = parseInt(num_in);
|
852
|
+
|
853
|
+
num_out = unescape('%' + num_out.toString(16));
|
854
|
+
str_out += num_out;
|
855
|
+
|
856
|
+
return unescape(str_out);
|
857
|
+
}
|
858
|
+
//--------------------------------------------------
|
859
|
+
var agt=navigator.userAgent.toLowerCase();
|
860
|
+
var use_ie_behavior = false;
|
861
|
+
var use_ie_6_behavior = false;
|
862
|
+
if (agt.indexOf("msie") != -1) {
|
863
|
+
use_ie_behavior = true;
|
864
|
+
}
|
865
|
+
if ((agt.indexOf("msie 5") != -1) || (agt.indexOf("msie 6") != -1)) {
|
866
|
+
use_ie_6_behavior = true;
|
867
|
+
}
|
868
|
+
|
869
|
+
//--------------------------------------------------
|
870
|
+
|
871
|
+
var Url = {
|
872
|
+
|
873
|
+
// public method for url encoding
|
874
|
+
encode : function (string) {
|
875
|
+
return escape(this._utf8_encode(string));
|
876
|
+
},
|
877
|
+
|
878
|
+
// public method for url decoding
|
879
|
+
decode : function (string) {
|
880
|
+
return this._utf8_decode(unescape(string));
|
881
|
+
},
|
882
|
+
|
883
|
+
// private method for UTF-8 encoding
|
884
|
+
_utf8_encode : function (string) {
|
885
|
+
string = string.replace(/\r\n/g,"\n");
|
886
|
+
var utftext = "";
|
887
|
+
|
888
|
+
for (var n = 0; n < string.length; n++) {
|
889
|
+
|
890
|
+
var c = string.charCodeAt(n);
|
891
|
+
|
892
|
+
if (c < 128) {
|
893
|
+
utftext += String.fromCharCode(c);
|
894
|
+
}
|
895
|
+
else if((c > 127) && (c < 2048)) {
|
896
|
+
utftext += String.fromCharCode((c >> 6) | 192);
|
897
|
+
utftext += String.fromCharCode((c & 63) | 128);
|
898
|
+
}
|
899
|
+
else {
|
900
|
+
utftext += String.fromCharCode((c >> 12) | 224);
|
901
|
+
utftext += String.fromCharCode(((c >> 6) & 63) | 128);
|
902
|
+
utftext += String.fromCharCode((c & 63) | 128);
|
903
|
+
}
|
904
|
+
|
905
|
+
}
|
906
|
+
|
907
|
+
return utftext;
|
908
|
+
},
|
909
|
+
|
910
|
+
// private method for UTF-8 decoding
|
911
|
+
_utf8_decode : function (utftext) {
|
912
|
+
var string = "";
|
913
|
+
var i = 0;
|
914
|
+
var c = c1 = c2 = 0;
|
915
|
+
|
916
|
+
while ( i < utftext.length ) {
|
917
|
+
|
918
|
+
c = utftext.charCodeAt(i);
|
919
|
+
|
920
|
+
if (c < 128) {
|
921
|
+
string += String.fromCharCode(c);
|
922
|
+
i++;
|
923
|
+
}
|
924
|
+
else if((c > 191) && (c < 224)) {
|
925
|
+
c2 = utftext.charCodeAt(i+1);
|
926
|
+
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
|
927
|
+
i += 2;
|
928
|
+
}
|
929
|
+
else {
|
930
|
+
c2 = utftext.charCodeAt(i+1);
|
931
|
+
c3 = utftext.charCodeAt(i+2);
|
932
|
+
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
|
933
|
+
i += 3;
|
934
|
+
}
|
935
|
+
|
936
|
+
}
|
937
|
+
|
938
|
+
return string;
|
939
|
+
}
|
940
|
+
|
941
|
+
}
|