diff --git a/.actionScriptProperties b/.actionScriptProperties
index 29554353..17808eb1 100644
--- a/.actionScriptProperties
+++ b/.actionScriptProperties
@@ -1,15 +1,32 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/.gems b/.gems
new file mode 100644
index 00000000..baf508aa
--- /dev/null
+++ b/.gems
@@ -0,0 +1 @@
+captproton-restfulx --version=1.2.3 --source=gems.github.com
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index f53dcdb1..aff05aae 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -7,6 +7,12 @@ class UsersController < ApplicationController
def index
@users = User.paginate(:page => params[:page], :order => 'profile_updated_at desc')
@users_count = User.count
+
+ respond_to do |format|
+ format.html # index.html.erb
+ format.xml { render :xml => @users }
+ format.fxml { render :fxml => @users }
+ end
end
def show
diff --git a/app/flex/Scratch.mxml b/app/flex/Scratch.mxml
new file mode 100644
index 00000000..bb101fdd
--- /dev/null
+++ b/app/flex/Scratch.mxml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/a.mxml b/app/flex/a.mxml
new file mode 100755
index 00000000..5c8c42cf
--- /dev/null
+++ b/app/flex/a.mxml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
diff --git a/app/flex/air.png b/app/flex/air.png
new file mode 100755
index 00000000..51bea1a4
Binary files /dev/null and b/app/flex/air.png differ
diff --git a/app/flex/assets/add.png b/app/flex/assets/add.png
new file mode 100644
index 00000000..36e8a08b
Binary files /dev/null and b/app/flex/assets/add.png differ
diff --git a/app/flex/assets/background.png b/app/flex/assets/background.png
new file mode 100644
index 00000000..37ea39a6
Binary files /dev/null and b/app/flex/assets/background.png differ
diff --git a/app/flex/assets/fonts/MyriadWebPro-Bold.ttf b/app/flex/assets/fonts/MyriadWebPro-Bold.ttf
new file mode 100644
index 00000000..3b54f90d
Binary files /dev/null and b/app/flex/assets/fonts/MyriadWebPro-Bold.ttf differ
diff --git a/app/flex/assets/fonts/MyriadWebPro-Condensed.ttf b/app/flex/assets/fonts/MyriadWebPro-Condensed.ttf
new file mode 100644
index 00000000..03f73614
Binary files /dev/null and b/app/flex/assets/fonts/MyriadWebPro-Condensed.ttf differ
diff --git a/app/flex/assets/fonts/MyriadWebPro-CondensedIt.ttf b/app/flex/assets/fonts/MyriadWebPro-CondensedIt.ttf
new file mode 100644
index 00000000..920cd92e
Binary files /dev/null and b/app/flex/assets/fonts/MyriadWebPro-CondensedIt.ttf differ
diff --git a/app/flex/assets/fonts/MyriadWebPro-Italic.ttf b/app/flex/assets/fonts/MyriadWebPro-Italic.ttf
new file mode 100644
index 00000000..2dc49bc3
Binary files /dev/null and b/app/flex/assets/fonts/MyriadWebPro-Italic.ttf differ
diff --git a/app/flex/assets/fonts/MyriadWebPro.ttf b/app/flex/assets/fonts/MyriadWebPro.ttf
new file mode 100644
index 00000000..4bddde53
Binary files /dev/null and b/app/flex/assets/fonts/MyriadWebPro.ttf differ
diff --git a/app/flex/assets/pause.png b/app/flex/assets/pause.png
new file mode 100644
index 00000000..76ba4226
Binary files /dev/null and b/app/flex/assets/pause.png differ
diff --git a/app/flex/assets/play_green.png b/app/flex/assets/play_green.png
new file mode 100644
index 00000000..8d36e63f
Binary files /dev/null and b/app/flex/assets/play_green.png differ
diff --git a/app/flex/assets/remove.png b/app/flex/assets/remove.png
new file mode 100644
index 00000000..3819d7a0
Binary files /dev/null and b/app/flex/assets/remove.png differ
diff --git a/app/flex/assets/sync_light.swf b/app/flex/assets/sync_light.swf
new file mode 100644
index 00000000..20043ba8
Binary files /dev/null and b/app/flex/assets/sync_light.swf differ
diff --git a/app/flex/assets/task_complete.png b/app/flex/assets/task_complete.png
new file mode 100644
index 00000000..dc507c25
Binary files /dev/null and b/app/flex/assets/task_complete.png differ
diff --git a/app/flex/assets/trash.png b/app/flex/assets/trash.png
new file mode 100644
index 00000000..1f80ab74
Binary files /dev/null and b/app/flex/assets/trash.png differ
diff --git a/app/flex/assets/valid_blue.png b/app/flex/assets/valid_blue.png
new file mode 100644
index 00000000..4fe7bf2d
Binary files /dev/null and b/app/flex/assets/valid_blue.png differ
diff --git a/app/flex/assets/valid_green.png b/app/flex/assets/valid_green.png
new file mode 100644
index 00000000..743ef89c
Binary files /dev/null and b/app/flex/assets/valid_green.png differ
diff --git a/app/flex/eldorado/components/extras/DataSetOption.as b/app/flex/eldorado/components/extras/DataSetOption.as
new file mode 100644
index 00000000..08a4e608
--- /dev/null
+++ b/app/flex/eldorado/components/extras/DataSetOption.as
@@ -0,0 +1,14 @@
+package pomodo.components.extras {
+ [Bindable]
+ public class DataSetOption {
+
+ public var label:String;
+
+ public var clazz:Class;
+
+ public function DataSetOption(label:String, clazz:Class) {
+ this.label = label;
+ this.clazz = clazz;
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/flex/eldorado/components/extras/DoubleClickDataGrid.as b/app/flex/eldorado/components/extras/DoubleClickDataGrid.as
new file mode 100644
index 00000000..1958a595
--- /dev/null
+++ b/app/flex/eldorado/components/extras/DoubleClickDataGrid.as
@@ -0,0 +1,59 @@
+package pomodo.components.extras {
+ import flash.events.MouseEvent;
+
+ import mx.controls.DataGrid;
+ import mx.controls.dataGridClasses.DataGridColumn;
+ import mx.controls.listClasses.IDropInListItemRenderer;
+ import mx.controls.listClasses.IListItemRenderer;
+ import mx.events.DataGridEvent;
+
+ public class DoubleClickDataGrid extends DataGrid {
+ private var triggeredEditable:Boolean = false;
+
+ public function DoubleClickDataGrid() {
+ super();
+ doubleClickEnabled = true;
+ }
+
+ override protected function mouseDoubleClickHandler(event:MouseEvent):void {
+ var currentRenderer:IListItemRenderer = mouseEventToItemRenderer(event);
+
+ if (itemRenderer && itemRenderer != itemEditorInstance) {
+ var dropInItemRenderer:IDropInListItemRenderer = IDropInListItemRenderer(currentRenderer);
+ if (columns[dropInItemRenderer.listData.columnIndex].editable) {
+ var currentColumn:DataGridColumn = columns[dropInItemRenderer.listData.columnIndex];
+ var dataGridEvent:DataGridEvent = new DataGridEvent(DataGridEvent.ITEM_EDIT_BEGINNING, false, true);
+ dataGridEvent.columnIndex = dropInItemRenderer.listData.columnIndex;
+ dataGridEvent.dataField = currentColumn.dataField;
+ dataGridEvent.rowIndex = dropInItemRenderer.listData.rowIndex + verticalScrollPosition;
+ dataGridEvent.itemRenderer = currentRenderer;
+ dispatchEvent(dataGridEvent);
+ }
+ }
+
+ super.mouseDoubleClickHandler(event);
+ }
+
+ override protected function mouseUpHandler(event:MouseEvent):void {
+ var currentRenderer:IListItemRenderer = mouseEventToItemRenderer(event);
+ var currentColumn:DataGridColumn;
+ if (currentRenderer) {
+ try {
+ var dropInItemRenderer:IDropInListItemRenderer = IDropInListItemRenderer(currentRenderer);
+ if (columns[dropInItemRenderer.listData.columnIndex].editable) {
+ currentColumn = DataGridColumn(columns[dropInItemRenderer.listData.columnIndex]);
+ currentColumn.editable = false;
+ }
+ } catch (e:Error) {
+ // nothing to do here
+ }
+
+ }
+
+ super.mouseUpHandler(event);
+ if (currentColumn) {
+ currentColumn.editable = true;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/flex/eldorado/components/login/LoginScreen.mxml b/app/flex/eldorado/components/login/LoginScreen.mxml
new file mode 100644
index 00000000..c422681f
--- /dev/null
+++ b/app/flex/eldorado/components/login/LoginScreen.mxml
@@ -0,0 +1,168 @@
+
+
+
+ [Event(name="login", type="flash.events.Event")]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/components/main/App.mxml b/app/flex/eldorado/components/main/App.mxml
new file mode 100644
index 00000000..fa252526
--- /dev/null
+++ b/app/flex/eldorado/components/main/App.mxml
@@ -0,0 +1,110 @@
+
+
+
+ [Event(name="logout", type="flash.events.Event")]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/CrudNavigator.mxml b/app/flex/eldorado/components/main/CrudNavigator.mxml
new file mode 100644
index 00000000..f671ee64
--- /dev/null
+++ b/app/flex/eldorado/components/main/CrudNavigator.mxml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/Footer.mxml b/app/flex/eldorado/components/main/Footer.mxml
new file mode 100644
index 00000000..d0533add
--- /dev/null
+++ b/app/flex/eldorado/components/main/Footer.mxml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/Header.mxml b/app/flex/eldorado/components/main/Header.mxml
new file mode 100644
index 00000000..2e2c10b5
--- /dev/null
+++ b/app/flex/eldorado/components/main/Header.mxml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/TextualWorkSummary.mxml b/app/flex/eldorado/components/main/TextualWorkSummary.mxml
new file mode 100644
index 00000000..a435abde
--- /dev/null
+++ b/app/flex/eldorado/components/main/TextualWorkSummary.mxml
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/VisualWorkSummary.mxml b/app/flex/eldorado/components/main/VisualWorkSummary.mxml
new file mode 100644
index 00000000..70f21364
--- /dev/null
+++ b/app/flex/eldorado/components/main/VisualWorkSummary.mxml
@@ -0,0 +1,70 @@
+
+
+
+ " + ps.item.name + " " + PomodoUtils.getFormattedTime(ps.item[selectedTimeOption]) +
+ "[" + PomodoUtils.getCostFormatter().format(ps.item[selectedCostOption]) +
+ "] (" + ps.percentValue.toFixed(2) + "%)";
+ }
+
+ private function selectOption(event:ListEvent):void {
+ selectedTimeOption = ComboBox(event.currentTarget).selectedItem.timeField;
+ selectedCostOption = ComboBox(event.currentTarget).selectedItem.costField;
+ }
+
+ private function selectDataSet(event:ListEvent):void {
+ selectedDataSet = ComboBox(event.currentTarget).selectedItem as DataSetOption;
+ }
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/crud/Info.mxml b/app/flex/eldorado/components/main/crud/Info.mxml
new file mode 100644
index 00000000..981c7ffe
--- /dev/null
+++ b/app/flex/eldorado/components/main/crud/Info.mxml
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/crud/Projects.mxml b/app/flex/eldorado/components/main/crud/Projects.mxml
new file mode 100644
index 00000000..ff7bba07
--- /dev/null
+++ b/app/flex/eldorado/components/main/crud/Projects.mxml
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/crud/Sprints.mxml b/app/flex/eldorado/components/main/crud/Sprints.mxml
new file mode 100644
index 00000000..f2d0bb62
--- /dev/null
+++ b/app/flex/eldorado/components/main/crud/Sprints.mxml
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/crud/Tasks.mxml b/app/flex/eldorado/components/main/crud/Tasks.mxml
new file mode 100644
index 00000000..a396c634
--- /dev/null
+++ b/app/flex/eldorado/components/main/crud/Tasks.mxml
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/renderers/CalculatedTimeRenderer.mxml b/app/flex/eldorado/components/main/renderers/CalculatedTimeRenderer.mxml
new file mode 100644
index 00000000..49a0c4d5
--- /dev/null
+++ b/app/flex/eldorado/components/main/renderers/CalculatedTimeRenderer.mxml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
diff --git a/app/flex/eldorado/components/main/renderers/SummaryCostRenderer.mxml b/app/flex/eldorado/components/main/renderers/SummaryCostRenderer.mxml
new file mode 100644
index 00000000..58adcde2
--- /dev/null
+++ b/app/flex/eldorado/components/main/renderers/SummaryCostRenderer.mxml
@@ -0,0 +1,56 @@
+
+
+
+ 0) {
+ var ref:Object = dataProvider.getItemAt(dataValue.rowIndex);
+ if (ref.hasOwnProperty(dataValue.dataField)) {
+ var milliseconds:Number = ref[dataValue.dataField];
+ totalCost = milliseconds;
+ }
+ }
+ }
+ }
+ ]]>
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/components/main/renderers/SummaryTimeRenderer.mxml b/app/flex/eldorado/components/main/renderers/SummaryTimeRenderer.mxml
new file mode 100644
index 00000000..9bcb3500
--- /dev/null
+++ b/app/flex/eldorado/components/main/renderers/SummaryTimeRenderer.mxml
@@ -0,0 +1,59 @@
+
+
+
+ 0) {
+ var ref:Object = dataProvider.getItemAt(dataValue.rowIndex);
+ if (ref.hasOwnProperty(dataValue.dataField)) {
+ var milliseconds:Number = ref[dataValue.dataField];
+ totalTime = milliseconds;
+ }
+ }
+ }
+ }
+ ]]>
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/utils/DateUtilities.as b/app/flex/eldorado/utils/DateUtilities.as
new file mode 100644
index 00000000..b9fadcdf
--- /dev/null
+++ b/app/flex/eldorado/utils/DateUtilities.as
@@ -0,0 +1,94 @@
+package pomodo.utils {
+ public class DateUtilities {
+ public static const MILLISECOND:Number = 1;
+ public static const SECOND:Number = MILLISECOND * 1000;
+ public static const MINUTE:Number = SECOND * 60;
+ public static const HOUR:Number = MINUTE * 60;
+ public static const DAY:Number = HOUR * 24;
+ public static const WEEK:Number = DAY * 7;
+
+ public static function addTo(dOriginal:Date, nYears:Number = 0, nMonths:Number = 0, nDays:Number = 0,
+ nHours:Number = 0, nMinutes:Number = 0, nSeconds:Number = 0, nMilliseconds:Number = 0):Date {
+ var dNew:Date = new Date(dOriginal.getTime());
+ dNew.setFullYear(dNew.getFullYear() + nYears);
+ dNew.setMonth(dNew.getMonth() + nMonths);
+ dNew.setDate(dNew.getDate() + nDays);
+ dNew.setHours(dNew.getHours() + nHours);
+ dNew.setMinutes(dNew.getMinutes() + nMinutes);
+ dNew.setSeconds(dNew.getSeconds() + nSeconds);
+ dNew.setMilliseconds(dNew.getMilliseconds() + nMilliseconds);
+ return dNew;
+ }
+
+ public static function elapsedDate(dOne:Date, dTwo:Date = null):Date {
+ if(dTwo == null) {
+ dTwo = new Date();
+ }
+ return new Date(dOne.getTime() - dTwo.getTime());
+ }
+
+ public static function elapsedMilliseconds(dOne:Date, dTwo:Date = null, bDisregard:Boolean = false):Number {
+ if(bDisregard) {
+ return elapsedDate(dOne, dTwo).getUTCMilliseconds();
+ } else {
+ return (dOne.getTime() - dTwo.getTime());
+ }
+ }
+
+ public static function elapsedSeconds(dOne:Date, dTwo:Date = null, bDisregard:Boolean = false):Number {
+ if(bDisregard) {
+ return (elapsedDate(dOne, dTwo).getUTCSeconds());
+ } else {
+ return Math.floor(elapsedMilliseconds(dOne, dTwo) / SECOND);
+ }
+ }
+
+ public static function elapsedMinutes(dOne:Date, dTwo:Date = null, bDisregard:Boolean = false):Number {
+ if(bDisregard) {
+ return (elapsedDate(dOne, dTwo).getUTCMinutes());
+ } else {
+ return Math.floor(elapsedMilliseconds(dOne, dTwo) / MINUTE);
+ }
+ }
+
+ public static function elapsedHours(dOne:Date, dTwo:Date = null, bDisregard:Boolean = false):Number {
+ if(bDisregard) {
+ return (elapsedDate(dOne, dTwo).getUTCHours());
+ } else {
+ return Math.floor(elapsedMilliseconds(dOne, dTwo) / HOUR);
+ }
+ }
+
+ public static function elapsedDays(dOne:Date, dTwo:Date = null, bDisregard:Boolean = false):Number {
+ if(bDisregard) {
+ return (elapsedDate(dOne, dTwo).getUTCDate());
+ } else {
+ return Math.floor(elapsedMilliseconds(dOne, dTwo) / DAY);
+ }
+ }
+
+ public static function elapsedMonths(dOne:Date, dTwo:Date = null, bDisregard:Boolean = false):Number {
+ if(bDisregard) {
+ return (elapsedDate(dOne, dTwo).getUTCMonth());
+ } else {
+ return (elapsedDate(dOne, dTwo).getUTCMonth() + elapsedYears(dOne, dTwo) * 12);
+ }
+ }
+
+ public static function elapsedYears(dOne:Date, dTwo:Date = null):Number {
+ return (elapsedDate(dOne, dTwo).getUTCFullYear() - 1970);
+ }
+
+ public static function elapsed(dOne:Date, dTwo:Date = null):Object {
+ var oElapsed:Object = new Object();
+ oElapsed.years = elapsedYears(dOne, dTwo);
+ oElapsed.months = elapsedMonths(dOne, dTwo, true);
+ oElapsed.days = elapsedDays(dOne, dTwo, true);
+ oElapsed.hours = elapsedHours(dOne, dTwo, true);
+ oElapsed.minutes = elapsedMinutes(dOne, dTwo, true);
+ oElapsed.seconds = elapsedSeconds(dOne, dTwo, true);
+ oElapsed.milliseconds = elapsedMilliseconds(dOne, dTwo, true);
+ return oElapsed;
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/flex/eldorado/utils/PomodoUtils.as b/app/flex/eldorado/utils/PomodoUtils.as
new file mode 100644
index 00000000..a0d7dc4c
--- /dev/null
+++ b/app/flex/eldorado/utils/PomodoUtils.as
@@ -0,0 +1,59 @@
+package pomodo.utils {
+ import mx.formatters.CurrencyFormatter;
+ import mx.formatters.DateFormatter;
+
+ public class PomodoUtils {
+ private static var dateFormatter:DateFormatter;
+ private static var costFormatter:CurrencyFormatter;
+
+ public static function getTimeFormatter():DateFormatter {
+ if (!dateFormatter) {
+ var dateFormatter:DateFormatter = new DateFormatter;
+ dateFormatter.formatString = "JJ hours NN minutes SS seconds";
+ }
+ return dateFormatter;
+ }
+
+ public static function getCostFormatter():CurrencyFormatter {
+ if (!costFormatter) {
+ var costFormatter:CurrencyFormatter = new CurrencyFormatter;
+ costFormatter.currencySymbol = "$";
+ costFormatter.precision = 2;
+ costFormatter.rounding = "up";
+ costFormatter.decimalSeparatorTo = ".";
+ costFormatter.thousandsSeparatorTo = ",";
+ costFormatter.useThousandsSeparator = true;
+ }
+ return costFormatter;
+ }
+
+ [Bindable(event="propertyChange")]
+ public static function getFormattedTime(milliseconds:Number):String {
+ if (isNaN(milliseconds)) return "";
+
+ var hours:int = Math.floor(milliseconds/3600000);
+ var minutes:int = Math.floor((milliseconds - hours*3600000)/60000);
+ var seconds:int = Math.floor((milliseconds - hours*3600000 - minutes*60000)/1000);
+ return formatTime(hours) + ":" + formatTime(minutes) + ":" + formatTime(seconds);
+ }
+
+ [Bindable(event="propertyChange")]
+ public static function getWordFormattedTime(milliseconds:Number):String {
+ var timeParts:Array = getFormattedTime(milliseconds).split(":");
+ return wordFormatTime(timeParts[0], "hours") + wordFormatTime(timeParts[1], "minutes") +
+ wordFormatTime(timeParts[2], "seconds");
+ }
+
+ private static function wordFormatTime(time:String, suffix:String):String {
+ if (time != "00") {
+ return parseInt(time) + " " + suffix;
+ } else {
+ return "";
+ }
+ }
+
+ private static function formatTime(time:int):String {
+ return (time < 10) ? "0" + time : String(time);
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/ArticleBox.mxml b/app/flex/eldorado/views/crafted/ArticleBox.mxml
new file mode 100644
index 00000000..9ee1ff42
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/ArticleBox.mxml
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/AvatarBox.mxml b/app/flex/eldorado/views/crafted/AvatarBox.mxml
new file mode 100644
index 00000000..826ef3ab
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/AvatarBox.mxml
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/CategoryBox.mxml b/app/flex/eldorado/views/crafted/CategoryBox.mxml
new file mode 100644
index 00000000..4f12a58e
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/CategoryBox.mxml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/CommentBox.mxml b/app/flex/eldorado/views/crafted/CommentBox.mxml
new file mode 100644
index 00000000..12ac4423
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/CommentBox.mxml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/ConfigBox.mxml b/app/flex/eldorado/views/crafted/ConfigBox.mxml
new file mode 100644
index 00000000..c53af202
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/ConfigBox.mxml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/ForumBox.mxml b/app/flex/eldorado/views/crafted/ForumBox.mxml
new file mode 100644
index 00000000..4df25c03
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/ForumBox.mxml
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/HappeningBox.mxml b/app/flex/eldorado/views/crafted/HappeningBox.mxml
new file mode 100644
index 00000000..81313068
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/HappeningBox.mxml
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/HeaderBox.mxml b/app/flex/eldorado/views/crafted/HeaderBox.mxml
new file mode 100644
index 00000000..2da34442
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/HeaderBox.mxml
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/Home.mxml b/app/flex/eldorado/views/crafted/Home.mxml
new file mode 100644
index 00000000..a64642b9
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/Home.mxml
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/MessageBox.mxml b/app/flex/eldorado/views/crafted/MessageBox.mxml
new file mode 100644
index 00000000..d837347d
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/MessageBox.mxml
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/PostBox.mxml b/app/flex/eldorado/views/crafted/PostBox.mxml
new file mode 100644
index 00000000..5b379842
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/PostBox.mxml
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/eldorado/views/crafted/TopicBox.mxml b/app/flex/eldorado/views/crafted/TopicBox.mxml
new file mode 100644
index 00000000..564eea8b
--- /dev/null
+++ b/app/flex/eldorado/views/crafted/TopicBox.mxml
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/flex/example_text_layout_famework.mxml b/app/flex/example_text_layout_famework.mxml
new file mode 100755
index 00000000..bb4efd61
--- /dev/null
+++ b/app/flex/example_text_layout_famework.mxml
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+ Flex is a highly productive, free open source framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops, and operating systems. While Flex applications can be built using only the free Flex SDK, developers can use Adobe® Flex® Builder™ 3 software to dramatically accelerate development. Try Flex Builder 3 free for 60 days. Try ILOG Elixir to enhance data display in your Flex applications.
+
+
+ المستندات المطلوبة:
+- نموذج طلب مستوفى الرسوم
+ - صورة عن جواز الكفيل
+- صورة عن جواز المكفول
+- صورة شخصية ملونة للشخص المكفول
+- عقد الزواج مصدقاً من وزارة الخارجية أو إحدى سفارات دولة الإمارات - إذا كان المكفول الزوجة / الزوج
+- شهادة الميلاد مصدقة من وزارة الخارجية أو إحدى سفارات دولة الإمارات - إذا كان المكفول أحد الأبناء
+- وثيقة إثبات صلة القرابة مصدقة من سفارة دولة الإمارات – إذا لم يكن اسم المكفول مدرجاً في جواز سفر الكفيل
+- عقد عمل الكفيل مصدقاً إذا كان يعمل في شركة خاصة أو شهادة بالراتب إذا كان يعمل في دائرة حكومية
+- التأمين الصحي
+
+
+
+ השרה ציפי לבני נולדה בישראל בשנת 1958, היא נשואה ואם לשני בנים.
+השרה שירתה כקצינה בצה"ל ומאוחר יותר עבדה ב"מוסד".
+השרה לבני למדה משפטים באוניברסיטת בר אילן והינה עורכת דין במקצועה. במשך עשר שנים עסקה השרה בעריכת דין במשרדה והתמחתה בין השאר, במשפט מסחרי, ציבורי ונדל"ן.
+מבין פעילותיה הציבוריות בין השנים 1996 – 1999, כיהנה השרה בתפקיד מנכ"לית רשות החברות הממשלתיות ובתפקיד זה הייתה אחראית על הפרטת החברות והמונופולים הממשלתיים.
+השרה לבני נבחרה לכנסת בשנת 1999, מטעם סיעת הליכוד. בכנסת ה-15 הייתה השרה חברה בוועדת חוקה, חוק ומשפט, במסגרת זו, הייתה אחראית על חקיקת החוק למניעת הלבנת הון. כמו כן הייתה השרה חברה בוועדה לקידום מעמד האישה.
+בשנת 2001 מונתה לשרה בממשלה ה- 29 וכיהנה בתפקידים הבאים: השרה לשיתוף פעולה אזורי, שרה ללא תיק ושרת החקלאות.
+בשנת 2003 מונתה לשרה בממשלה ה-30, וכיהנה בתפקידים הבאים: השרה לקליטת העלייה, שרת הבינוי והשיכון, שרת המשפטים ושרת החוץ.
+בממשלה הנוכחית מכהנת השרה לבני כממלאת מקום ראש הממשלה ושרת החוץ.
+השרה לבני היא יו"ר מפלגת "קדימה" ונמנית עם מקימי, הוגי ומיישמי מטרותיה ומדיניותה.
+
+
+
+;
+
+ private var _textFlow:TextFlow;
+
+ private function init():void {
+ _textContainer = new Sprite();
+ canvas.rawChildren.addChild(_textContainer);
+
+ _textFlow = TextFilter.importToFlow(textInput, TextFilter.TEXT_LAYOUT_FORMAT);
+ _textFlow.flowComposer.addController(new DisplayObjectContainerController(_textContainer, canvas.width-40, canvas.height));
+ _textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED, picLoaded);
+ //adding Select/Edit/Copy/Paste/Undo features
+ _textFlow.interactionManager = new EditManager(new UndoManager());
+ // initialize with a selection before the first character
+ _textFlow.interactionManager.setSelection(0,0);
+
+ _textFlow.flowComposer.updateAllContainers();
+ }
+
+ private function picLoaded(event:StatusChangeEvent):void {
+ var image:InlineGraphicElement = event.element as InlineGraphicElement;
+ _textFlow.flowComposer.updateAllContainers();
+ }
+
+ private function changeFontSize(event:SliderEvent):void {
+ var cf:CharacterFormat = new CharacterFormat(_textFlow.characterFormat);
+ cf.fontSize = event.value;
+ _textFlow.characterFormat = cf;
+ _textFlow.flowComposer.updateAllContainers();
+ }
+
+ private function changeNoColumns(event:SliderEvent):void {
+ var cf:ContainerFormat = new ContainerFormat(_textFlow.containerFormat);
+ cf.columnCount = event.value;
+ cf.columnGap = 15;
+ _textFlow.containerFormat = cf;
+ _textFlow.flowComposer.updateAllContainers();
+ }
+
+ private function changeTextDirection(event:Event):void {
+ _textFlow.direction = (event.target as ComboBox).selectedItem.data;
+ _textFlow.flowComposer.updateAllContainers();
+ }
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/html-template/AC_OETags.js b/html-template/AC_OETags.js
index e77e6fd8..6366467e 100644
--- a/html-template/AC_OETags.js
+++ b/html-template/AC_OETags.js
@@ -101,6 +101,8 @@ function GetSwfVer(){
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;
}
@@ -113,7 +115,7 @@ function GetSwfVer(){
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();
- }
+ }
return flashVer;
}
@@ -153,10 +155,24 @@ function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
function AC_AddExtension(src, ext)
{
- if (src.indexOf('?') != -1)
- return src.replace(/\?/, ext+'?');
+ var qIndex = src.indexOf('?');
+ if ( qIndex != -1)
+ {
+ // Add the extention (if needed) before the query params
+ var path = src.substring(0, qIndex);
+ if (path.length >= ext.length && path.lastIndexOf(ext) == (path.length - ext.length))
+ return src;
+ else
+ return src.replace(/\?/, ext+'?');
+ }
else
- return src + ext;
+ {
+ // Add the extension (if needed) to the end of the URL
+ if (src.length >= ext.length && src.lastIndexOf(ext) == (src.length - ext.length))
+ return src; // Already have extension
+ else
+ return src + ext;
+ }
}
function AC_Generateobj(objAttrs, params, embedAttrs)
diff --git a/html-template/history/history.js b/html-template/history/history.js
index c86514a9..3279a532 100644
--- a/html-template/history/history.js
+++ b/html-template/history/history.js
@@ -99,23 +99,40 @@ BrowserHistory = (function() {
return document.getElementById("safari_remember_field");
}
- /* Get the Flash player object for performing ExternalInterface callbacks. */
- function getPlayer(objectId) {
- var objectId = objectId || null;
- var player = null; /* AJH, needed? = document.getElementById(getPlayerId()); */
- if (browser.ie && objectId != null) {
- player = document.getElementById(objectId);
- }
- if (player == null) {
- player = document.getElementsByTagName('object')[0];
- }
-
- if (player == null || player.object == null) {
- player = document.getElementsByTagName('embed')[0];
- }
-
- return player;
- }
+ // Get the Flash player object for performing ExternalInterface callbacks.
+ // Updated for changes to SWFObject2.
+ function getPlayer(id) {
+ if (id && document.getElementById(id)) {
+ var r = document.getElementById(id);
+ if (typeof r.SetVariable != "undefined") {
+ return r;
+ }
+ else {
+ var o = r.getElementsByTagName("object");
+ var e = r.getElementsByTagName("embed");
+ if (o.length > 0 && typeof o[0].SetVariable != "undefined") {
+ return o[0];
+ }
+ else if (e.length > 0 && typeof e[0].SetVariable != "undefined") {
+ return e[0];
+ }
+ }
+ }
+ else {
+ var o = document.getElementsByTagName("object");
+ var e = document.getElementsByTagName("embed");
+ if (e.length > 0 && typeof e[0].SetVariable != "undefined") {
+ return e[0];
+ }
+ else if (o.length > 0 && typeof o[0].SetVariable != "undefined") {
+ return o[0];
+ }
+ else if (o.length > 1 && typeof o[1].SetVariable != "undefined") {
+ return o[1];
+ }
+ }
+ return undefined;
+ }
function getPlayers() {
var players = [];
diff --git a/html-template/history/historyFrame.html b/html-template/history/historyFrame.html
index e83255f1..07e3806f 100644
--- a/html-template/history/historyFrame.html
+++ b/html-template/history/historyFrame.html
@@ -22,7 +22,7 @@
var url = document.location.href;
processUrl();
- document.write(url);
+ document.write(encodeURIComponent(url));
Hidden frame for Browser History support.
+
+
+
diff --git a/lib/textLayout_conversion.swc b/lib/textLayout_conversion.swc
new file mode 100755
index 00000000..0d6301c8
Binary files /dev/null and b/lib/textLayout_conversion.swc differ
diff --git a/lib/textLayout_core.swc b/lib/textLayout_core.swc
new file mode 100755
index 00000000..14dbc028
Binary files /dev/null and b/lib/textLayout_core.swc differ
diff --git a/lib/textLayout_edit.swc b/lib/textLayout_edit.swc
new file mode 100755
index 00000000..0f0688b1
Binary files /dev/null and b/lib/textLayout_edit.swc differ
diff --git a/public/bin/AC_OETags.js b/public/bin/AC_OETags.js
new file mode 100644
index 00000000..6366467e
--- /dev/null
+++ b/public/bin/AC_OETags.js
@@ -0,0 +1,292 @@
+// 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)
+{
+ var qIndex = src.indexOf('?');
+ if ( qIndex != -1)
+ {
+ // Add the extention (if needed) before the query params
+ var path = src.substring(0, qIndex);
+ if (path.length >= ext.length && path.lastIndexOf(ext) == (path.length - ext.length))
+ return src;
+ else
+ return src.replace(/\?/, ext+'?');
+ }
+ else
+ {
+ // Add the extension (if needed) to the end of the URL
+ if (src.length >= ext.length && src.lastIndexOf(ext) == (src.length - ext.length))
+ return src; // Already have extension
+ else
+ return src + ext;
+ }
+}
+
+function AC_Generateobj(objAttrs, params, embedAttrs)
+{
+ var str = '';
+ if (isIE && isWin && !isOpera)
+ {
+ str += '';
+ } else {
+ str += '';
+ }
+
+ 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;
+}
+
+
diff --git a/public/bin/Eldorado.html b/public/bin/Eldorado.html
new file mode 100644
index 00000000..e7df6afe
--- /dev/null
+++ b/public/bin/Eldorado.html
@@ -0,0 +1,121 @@
+
+
+
+
+
+