Permalink
Browse files

fwr: Pearson error handling stuff. v1.5.10

git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/front/workspaces/krecord/trunk@79116 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
  • Loading branch information...
0 parents commit f0cb2222fb86caff2eb164b9f1094e57978c3545 @naorbit naorbit committed Apr 29, 2012
Showing with 18,737 additions and 0 deletions.
  1. +29 −0 KRecordContainerFlash/.actionScriptProperties
  2. +24 −0 KRecordContainerFlash/.project
  3. +3 −0 KRecordContainerFlash/.settings/com.adobe.flexbuilder.project.prefs
  4. +278 −0 KRecordContainerFlash/html-template/AC_OETags.js
  5. BIN KRecordContainerFlash/html-template/KRecord.swf
  6. +6 −0 KRecordContainerFlash/html-template/history/history.css
  7. +662 −0 KRecordContainerFlash/html-template/history/history.js
  8. +29 −0 KRecordContainerFlash/html-template/history/historyFrame.html
  9. +139 −0 KRecordContainerFlash/html-template/index.template.html
  10. +43 −0 KRecordContainerFlash/html-template/locale.xml
  11. BIN KRecordContainerFlash/html-template/playerProductInstall.swf
  12. BIN KRecordContainerFlash/html-template/skin.swf
  13. +81 −0 KRecordContainerFlash/src/KRecordContainerFlash.as
  14. +16 −0 KRecordContainerFlex/.actionScriptProperties
  15. +2 −0 KRecordContainerFlex/.flexProperties
  16. +25 −0 KRecordContainerFlex/.project
  17. +3 −0 KRecordContainerFlex/.settings/com.adobe.flexbuilder.project.prefs
  18. +2 −0 KRecordContainerFlex/changelog.txt
  19. +292 −0 KRecordContainerFlex/html-template/AC_OETags.js
  20. BIN KRecordContainerFlex/html-template/KRecord.swf
  21. +6 −0 KRecordContainerFlex/html-template/history/history.css
  22. +666 −0 KRecordContainerFlex/html-template/history/history.js
  23. +29 −0 KRecordContainerFlex/html-template/history/historyFrame.html
  24. +121 −0 KRecordContainerFlex/html-template/index.template.html
  25. +43 −0 KRecordContainerFlex/html-template/locale.xml
  26. BIN KRecordContainerFlex/html-template/playerProductInstall.swf
  27. BIN KRecordContainerFlex/html-template/skin.swf
  28. +43 −0 KRecordContainerFlex/src/KRecordContainer.mxml
  29. +31 −0 KalturaRecord/.actionScriptProperties
  30. +17 −0 KalturaRecord/.project
  31. +3 −0 KalturaRecord/.settings/com.adobe.flexbuilder.project.prefs
  32. +3 −0 KalturaRecord/.settings/org.eclipse.ltk.core.refactoring.prefs
  33. BIN KalturaRecord/bin-debug/skin.swf
  34. +292 −0 KalturaRecord/deliver/AC_OETags.js
  35. +146 −0 KalturaRecord/deliver/KRecord.html
  36. BIN KalturaRecord/deliver/KRecord.swf
  37. BIN KalturaRecord/deliver/deliver.rar
  38. +1,113 −0 KalturaRecord/deliver/kaltura_client.php
  39. +230 −0 KalturaRecord/deliver/kaltura_client_base.php
  40. +330 −0 KalturaRecord/deliver/krecord.php
  41. +69 −0 KalturaRecord/deliver/locale.xml
  42. BIN KalturaRecord/deliver/playerProductInstall.swf
  43. BIN KalturaRecord/deliver/skin.fla
  44. BIN KalturaRecord/deliver/skin.swf
  45. +292 −0 KalturaRecord/demos/testing/AC_OETags.js
  46. +204 −0 KalturaRecord/demos/testing/KRecord.html
  47. BIN KalturaRecord/demos/testing/KRecord.swf
  48. +6 −0 KalturaRecord/demos/testing/history/history.css
  49. +662 −0 KalturaRecord/demos/testing/history/history.js
  50. +29 −0 KalturaRecord/demos/testing/history/historyFrame.html
  51. BIN KalturaRecord/demos/testing/playerProductInstall.swf
  52. BIN KalturaRecord/demos/testing/skin.swf
  53. +292 −0 KalturaRecord/html-template/AC_OETags.js
  54. +6 −0 KalturaRecord/html-template/history/history.css
  55. +662 −0 KalturaRecord/html-template/history/history.js
  56. +29 −0 KalturaRecord/html-template/history/historyFrame.html
  57. +223 −0 KalturaRecord/html-template/index.template.html
  58. BIN KalturaRecord/html-template/playerProductInstall.swf
  59. BIN KalturaRecord/library/KalturaBase.swc
  60. BIN KalturaRecord/library/KalturaLib.swc
  61. BIN KalturaRecord/library/KalturaNet.swc
  62. BIN KalturaRecord/library/Preloader.swf.fla
  63. BIN KalturaRecord/library/Preloader.swf.swc
  64. BIN KalturaRecord/library/Preloader.swf.swf
  65. BIN KalturaRecord/library/skin.fla
  66. BIN KalturaRecord/library/skin.swf
  67. +63 −0 KalturaRecord/src/ApplicationLoader.as
  68. +26 −0 KalturaRecord/src/Global.as
  69. +880 −0 KalturaRecord/src/KRecord.as
  70. +67 −0 KalturaRecord/src/KRecordLocaleDefault.as
  71. +59 −0 KalturaRecord/src/com/kaltura/devicedetection/DeviceDetectionEvent.as
  72. +462 −0 KalturaRecord/src/com/kaltura/devicedetection/DeviceDetector.as
  73. +153 −0 KalturaRecord/src/com/kaltura/recording/business/AddEntryDelegate.as
  74. +73 −0 KalturaRecord/src/com/kaltura/recording/business/BaseRecorderParams.as
  75. +37 −0 KalturaRecord/src/com/kaltura/recording/business/interfaces/IResponder.as
  76. +25 −0 KalturaRecord/src/com/kaltura/recording/controller/IRecordControl.as
  77. +809 −0 KalturaRecord/src/com/kaltura/recording/controller/KRecordControl.as
  78. +53 −0 KalturaRecord/src/com/kaltura/recording/controller/events/AddEntryEvent.as
  79. +66 −0 KalturaRecord/src/com/kaltura/recording/controller/events/RecorderEvent.as
  80. +81 −0 KalturaRecord/src/com/kaltura/recording/view/Button.as
  81. +17 −0 KalturaRecord/src/com/kaltura/recording/view/KRecordViewParams.as
  82. +51 −0 KalturaRecord/src/com/kaltura/recording/view/PopupDialog.as
  83. +42 −0 KalturaRecord/src/com/kaltura/recording/view/PopupMessage.as
  84. +263 −0 KalturaRecord/src/com/kaltura/recording/view/PreviewPlayer.as
  85. +20 −0 KalturaRecord/src/com/kaltura/recording/view/PreviewTimer.as
  86. +77 −0 KalturaRecord/src/com/kaltura/recording/view/ProgressBar.as
  87. +70 −0 KalturaRecord/src/com/kaltura/recording/view/ProgressBarRecording.as
  88. +29 −0 KalturaRecord/src/com/kaltura/recording/view/Theme.as
  89. +54 −0 KalturaRecord/src/com/kaltura/recording/view/UIComponent.as
  90. +172 −0 KalturaRecord/src/com/kaltura/recording/view/View.as
  91. +29 −0 KalturaRecord/src/com/kaltura/recording/view/ViewEvent.as
  92. +68 −0 KalturaRecord/src/com/kaltura/recording/view/ViewState.as
  93. +31 −0 KalturaRecord/src/com/kaltura/recording/view/ViewStateError.as
  94. +32 −0 KalturaRecord/src/com/kaltura/recording/view/ViewStateMessage.as
  95. +110 −0 KalturaRecord/src/com/kaltura/recording/view/ViewStatePreview.as
  96. +124 −0 KalturaRecord/src/com/kaltura/recording/view/ViewStateRecording.as
  97. +32 −0 KalturaRecord/src/com/kaltura/recording/view/ViewStateSaving.as
  98. +60 −0 KalturaRecord/src/com/kaltura/recording/view/ViewStateStart.as
  99. +135 −0 KalturaRecord/src/com/kaltura/utils/Config.as
  100. +20 −0 KalturaRecord/src/com/kaltura/utils/KMovieClipUtil.as
  101. +34 −0 KalturaRecord/src/com/kaltura/utils/Locale.as
  102. +3 −0 KalturaRecord/src/defaults.css
  103. +192 −0 KalturaRecord/src/gs/OverwriteManager.as
  104. +1,047 −0 KalturaRecord/src/gs/TweenGroup.as
  105. +552 −0 KalturaRecord/src/gs/TweenLite.as
  106. +1,015 −0 KalturaRecord/src/gs/TweenMax.as
  107. +14 −0 KalturaRecord/src/gs/easing/Back.as
  108. +22 −0 KalturaRecord/src/gs/easing/Bounce.as
  109. +14 −0 KalturaRecord/src/gs/easing/Circ.as
  110. +14 −0 KalturaRecord/src/gs/easing/Cubic.as
  111. +69 −0 KalturaRecord/src/gs/easing/EaseLookup.as
  112. +28 −0 KalturaRecord/src/gs/easing/Elastic.as
  113. +16 −0 KalturaRecord/src/gs/easing/Expo.as
  114. +16 −0 KalturaRecord/src/gs/easing/Linear.as
  115. +14 −0 KalturaRecord/src/gs/easing/Quad.as
  116. +14 −0 KalturaRecord/src/gs/easing/Quart.as
  117. +14 −0 KalturaRecord/src/gs/easing/Quint.as
  118. +15 −0 KalturaRecord/src/gs/easing/Sine.as
  119. +14 −0 KalturaRecord/src/gs/easing/Strong.as
  120. +21 −0 KalturaRecord/src/gs/easing/easing_readme.txt
  121. +35 −0 KalturaRecord/src/gs/events/TweenEvent.as
  122. +73 −0 KalturaRecord/src/gs/plugins/AutoAlphaPlugin.as
  123. +62 −0 KalturaRecord/src/gs/plugins/BevelFilterPlugin.as
  124. +211 −0 KalturaRecord/src/gs/plugins/BezierPlugin.as
  125. +68 −0 KalturaRecord/src/gs/plugins/BezierThroughPlugin.as
  126. +54 −0 KalturaRecord/src/gs/plugins/BlurFilterPlugin.as
  127. +218 −0 KalturaRecord/src/gs/plugins/ColorMatrixFilterPlugin.as
  128. +100 −0 KalturaRecord/src/gs/plugins/ColorTransformPlugin.as
  129. +63 −0 KalturaRecord/src/gs/plugins/DropShadowFilterPlugin.as
  130. +80 −0 KalturaRecord/src/gs/plugins/EndArrayPlugin.as
  131. +129 −0 KalturaRecord/src/gs/plugins/FastTransformPlugin.as
  132. +120 −0 KalturaRecord/src/gs/plugins/FilterPlugin.as
  133. +58 −0 KalturaRecord/src/gs/plugins/FrameLabelPlugin.as
  134. +58 −0 KalturaRecord/src/gs/plugins/FramePlugin.as
  135. +59 −0 KalturaRecord/src/gs/plugins/GlowFilterPlugin.as
  136. +104 −0 KalturaRecord/src/gs/plugins/HexColorsPlugin.as
  137. +135 −0 KalturaRecord/src/gs/plugins/QuaternionsPlugin.as
  138. +39 −0 KalturaRecord/src/gs/plugins/RemoveTintPlugin.as
  139. +52 −0 KalturaRecord/src/gs/plugins/RoundPropsPlugin.as
  140. +72 −0 KalturaRecord/src/gs/plugins/ScalePlugin.as
  141. +79 −0 KalturaRecord/src/gs/plugins/SetSizePlugin.as
  142. +66 −0 KalturaRecord/src/gs/plugins/ShortRotationPlugin.as
  143. +84 −0 KalturaRecord/src/gs/plugins/TintPlugin.as
  144. +213 −0 KalturaRecord/src/gs/plugins/TweenPlugin.as
  145. +65 −0 KalturaRecord/src/gs/plugins/VisiblePlugin.as
  146. +59 −0 KalturaRecord/src/gs/plugins/VolumePlugin.as
  147. +26 −0 KalturaRecord/src/gs/utils/tween/ArrayTweenInfo.as
  148. +144 −0 KalturaRecord/src/gs/utils/tween/BevelFilterVars.as
  149. +78 −0 KalturaRecord/src/gs/utils/tween/BlurFilterVars.as
  150. +109 −0 KalturaRecord/src/gs/utils/tween/ColorMatrixFilterVars.as
  151. +170 −0 KalturaRecord/src/gs/utils/tween/ColorTransformVars.as
  152. +153 −0 KalturaRecord/src/gs/utils/tween/DropShadowFilterVars.as
  153. +32 −0 KalturaRecord/src/gs/utils/tween/FilterVars.as
  154. +126 −0 KalturaRecord/src/gs/utils/tween/GlowFilterVars.as
  155. +26 −0 KalturaRecord/src/gs/utils/tween/SubVars.as
  156. +54 −0 KalturaRecord/src/gs/utils/tween/TransformAroundCenterVars.as
  157. +145 −0 KalturaRecord/src/gs/utils/tween/TransformAroundPointVars.as
  158. +32 −0 KalturaRecord/src/gs/utils/tween/TweenInfo.as
  159. +574 −0 KalturaRecord/src/gs/utils/tween/TweenLiteVars.as
  160. +113 −0 KalturaRecord/src/gs/utils/tween/TweenMaxVars.as
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<actionScriptProperties mainApplicationPath="KRecordContainerFlash.as" version="6">
+ <compiler additionalCompilerArguments="" autoRSLOrdering="false" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="C:/xampp/htdocs/KRecordContainerFlash" outputFolderPath="bin-debug" rootURL="http://localhost/KRecordContainerFlash/" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
+ <compilerSourcePath/>
+ <libraryPath defaultLinkType="1">
+ <libraryPathEntry kind="4" path="">
+ <excludedEntries>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="1" linkType="1" path="${PROJECT_FRAMEWORKS}/locale/{locale}"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/qtp.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/rpc.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/charts.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/datavisualization.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_dmv.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_flashflexkit.swc" useDefaultLinkType="false"/>
+ <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/automation_agent.swc" useDefaultLinkType="false"/>
+ </excludedEntries>
+ </libraryPathEntry>
+ </libraryPath>
+ <sourceAttachmentPath/>
+ </compiler>
+ <applications>
+ <application path="KRecordContainerFlash.as"/>
+ </applications>
+ <modules/>
+ <buildCSSFiles/>
+</actionScriptProperties>
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>KRecordContainerFlash</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>bin-debug</name>
+ <type>2</type>
+ <location>C:/xampp/htdocs/KRecordContainerFlash</location>
+ </link>
+ </linkedResources>
+</projectDescription>
@@ -0,0 +1,3 @@
+#Mon Aug 02 10:07:31 IDT 2010
+eclipse.preferences.version=1
+upgradeSDK/fb4=
@@ -0,0 +1,278 @@
+// Flash Player Version Detection - Rev 1.6
+// Detect Client Browser type
+// Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved.
+var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
+var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
+var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
+
+function ControlVersion()
+{
+ var version;
+ var axo;
+ var e;
+
+ // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
+
+ try {
+ // version will be set for 7.X or greater players
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
+ version = axo.GetVariable("$version");
+ } catch (e) {
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 6.X players only
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
+
+ // installed player is some revision of 6.0
+ // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
+ // so we have to be careful.
+
+ // default to the first public version
+ version = "WIN 6,0,21,0";
+
+ // throws if AllowScripAccess does not exist (introduced in 6.0r47)
+ axo.AllowScriptAccess = "always";
+
+ // safe to call for 6.0r47 or greater
+ version = axo.GetVariable("$version");
+
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 4.X or 5.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
+ version = axo.GetVariable("$version");
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 3.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
+ version = "WIN 3,0,18,0";
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 2.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
+ version = "WIN 2,0,0,11";
+ } catch (e) {
+ version = -1;
+ }
+ }
+
+ return version;
+}
+
+// JavaScript helper required to detect Flash Player PlugIn version information
+function GetSwfVer(){
+ // NS/Opera version >= 3 check for Flash plugin in plugin array
+ var flashVer = -1;
+
+ if (navigator.plugins != null && navigator.plugins.length > 0) {
+ if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
+ var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
+ var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
+ var descArray = flashDescription.split(" ");
+ var tempArrayMajor = descArray[2].split(".");
+ var versionMajor = tempArrayMajor[0];
+ var versionMinor = tempArrayMajor[1];
+ var versionRevision = descArray[3];
+ if (versionRevision == "") {
+ versionRevision = descArray[4];
+ }
+ if (versionRevision[0] == "d") {
+ versionRevision = versionRevision.substring(1);
+ } else if (versionRevision[0] == "r") {
+ versionRevision = versionRevision.substring(1);
+ if (versionRevision.indexOf("d") > 0) {
+ versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
+ }
+ } else if (versionRevision[0] == "b") {
+ versionRevision = versionRevision.substring(1);
+ }
+ var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
+ }
+ }
+ // MSN/WebTV 2.6 supports Flash 4
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
+ // WebTV 2.5 supports Flash 3
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
+ // older WebTV supports Flash 2
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
+ else if ( isIE && isWin && !isOpera ) {
+ flashVer = ControlVersion();
+ }
+ return flashVer;
+}
+
+// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
+function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
+{
+ versionStr = GetSwfVer();
+ if (versionStr == -1 ) {
+ return false;
+ } else if (versionStr != 0) {
+ if(isIE && isWin && !isOpera) {
+ // Given "WIN 2,0,0,11"
+ tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
+ tempString = tempArray[1]; // "2,0,0,11"
+ versionArray = tempString.split(","); // ['2', '0', '0', '11']
+ } else {
+ versionArray = versionStr.split(".");
+ }
+ var versionMajor = versionArray[0];
+ var versionMinor = versionArray[1];
+ var versionRevision = versionArray[2];
+
+ // is the major.revision >= requested major.revision AND the minor version >= requested minor
+ if (versionMajor > parseFloat(reqMajorVer)) {
+ return true;
+ } else if (versionMajor == parseFloat(reqMajorVer)) {
+ if (versionMinor > parseFloat(reqMinorVer))
+ return true;
+ else if (versionMinor == parseFloat(reqMinorVer)) {
+ if (versionRevision >= parseFloat(reqRevision))
+ return true;
+ }
+ }
+ return false;
+ }
+}
+
+function AC_AddExtension(src, ext)
+{
+ if (src.indexOf('?') != -1)
+ return src.replace(/\?/, ext+'?');
+ else
+ return src + ext;
+}
+
+function AC_Generateobj(objAttrs, params, embedAttrs)
+{
+ var str = '';
+ if (isIE && isWin && !isOpera)
+ {
+ str += '<object ';
+ for (var i in objAttrs)
+ str += i + '="' + objAttrs[i] + '" ';
+ str += '>';
+ for (var i in params)
+ str += '<param name="' + i + '" value="' + params[i] + '" /> ';
+ str += '</object>';
+ } else {
+ str += '<embed ';
+ for (var i in embedAttrs)
+ str += i + '="' + embedAttrs[i] + '" ';
+ str += '> </embed>';
+ }
+
+ document.write(str);
+}
+
+function AC_FL_RunContent(){
+ var ret =
+ AC_GetArgs
+ ( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
+ , "application/x-shockwave-flash"
+ );
+ AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
+}
+
+function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
+ var ret = new Object();
+ ret.embedAttrs = new Object();
+ ret.params = new Object();
+ ret.objAttrs = new Object();
+ for (var i=0; i < args.length; i=i+2){
+ var currArg = args[i].toLowerCase();
+
+ switch (currArg){
+ case "classid":
+ break;
+ case "pluginspage":
+ ret.embedAttrs[args[i]] = args[i+1];
+ break;
+ case "src":
+ case "movie":
+ args[i+1] = AC_AddExtension(args[i+1], ext);
+ ret.embedAttrs["src"] = args[i+1];
+ ret.params[srcParamName] = args[i+1];
+ break;
+ case "onafterupdate":
+ case "onbeforeupdate":
+ case "onblur":
+ case "oncellchange":
+ case "onclick":
+ case "ondblClick":
+ case "ondrag":
+ case "ondragend":
+ case "ondragenter":
+ case "ondragleave":
+ case "ondragover":
+ case "ondrop":
+ case "onfinish":
+ case "onfocus":
+ case "onhelp":
+ case "onmousedown":
+ case "onmouseup":
+ case "onmouseover":
+ case "onmousemove":
+ case "onmouseout":
+ case "onkeypress":
+ case "onkeydown":
+ case "onkeyup":
+ case "onload":
+ case "onlosecapture":
+ case "onpropertychange":
+ case "onreadystatechange":
+ case "onrowsdelete":
+ case "onrowenter":
+ case "onrowexit":
+ case "onrowsinserted":
+ case "onstart":
+ case "onscroll":
+ case "onbeforeeditfocus":
+ case "onactivate":
+ case "onbeforedeactivate":
+ case "ondeactivate":
+ case "type":
+ case "codebase":
+ ret.objAttrs[args[i]] = args[i+1];
+ break;
+ case "id":
+ case "width":
+ case "height":
+ case "align":
+ case "vspace":
+ case "hspace":
+ case "class":
+ case "title":
+ case "accesskey":
+ case "name":
+ case "tabindex":
+ ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
+ break;
+ default:
+ ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
+ }
+ }
+ ret.objAttrs["classid"] = classid;
+ if (mimeType) ret.embedAttrs["type"] = mimeType;
+ return ret;
+}
+
+
Binary file not shown.
@@ -0,0 +1,6 @@
+/* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */
+
+#ie_historyFrame { width: 0px; height: 0px; display:none }
+#firefox_anchorDiv { width: 0px; height: 0px; display:none }
+#safari_formDiv { width: 0px; height: 0px; display:none }
+#safari_rememberDiv { width: 0px; height: 0px; display:none }
Oops, something went wrong.

0 comments on commit f0cb222

Please sign in to comment.