Index: lams_flex/LamsAuthor/src/LamsAuthor.mxml =================================================================== diff -u -rbd2bc54a1b78829ff02a8355a86be5a7a44978ec -r09139a18612e0af686ddc05190832a1e05d67398 --- lams_flex/LamsAuthor/src/LamsAuthor.mxml (.../LamsAuthor.mxml) (revision bd2bc54a1b78829ff02a8355a86be5a7a44978ec) +++ lams_flex/LamsAuthor/src/LamsAuthor.mxml (.../LamsAuthor.mxml) (revision 09139a18612e0af686ddc05190832a1e05d67398) @@ -10,6 +10,9 @@ @@ -86,7 +101,7 @@ + > Index: lams_flex/LamsAuthor/src/assets/icons/cursor.png =================================================================== diff -u Binary files differ Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml =================================================================== diff -u -raf5f3cc7b21dbdc9b69d6df126409c75f4e64633 -r09139a18612e0af686ddc05190832a1e05d67398 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml (.../CanvasArea.mxml) (revision af5f3cc7b21dbdc9b69d6df126409c75f4e64633) +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml (.../CanvasArea.mxml) (revision 09139a18612e0af686ddc05190832a1e05d67398) @@ -2,10 +2,12 @@ + horizontalGap="0" + > "; } - } - - // The dragEnter event handler for the Canvas container + } */ + + /* + // The dragEnter event handler for the Canvas container // enables dropping. private function dragEnterHandler(event:DragEvent):void { if (event.dragSource.hasFormat("img")) @@ -105,16 +79,16 @@ } - } + }*/ /* private function maximizeLearningLibrary():void { var effResize:Resize = new Resize(); effResize.stop(); effResize.heightFrom = 0; - effResize.heightTo = 120; + effResize.heightTo = 12yy0; effResize.duration = 100; effResize.play([compLearningLibrary2]); - } */ + } */ ]]> @@ -123,22 +97,21 @@ - + - - - + + - - - + + + + + Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml =================================================================== diff -u -raf5f3cc7b21dbdc9b69d6df126409c75f4e64633 -r09139a18612e0af686ddc05190832a1e05d67398 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml (.../CanvasBox.mxml) (revision af5f3cc7b21dbdc9b69d6df126409c75f4e64633) +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml (.../CanvasBox.mxml) (revision 09139a18612e0af686ddc05190832a1e05d67398) @@ -4,10 +4,15 @@ dragEnter="dragEnterHandler(event);" dragDrop="dragDropHandler(event);" xmlns:mate="http://mate.asfusion.com/" + click="doZoom(event)" + borderStyle="solid" + width="4000" height="3000" + x="0" y="0" > MIN_ZOOM) { + zoom.zoomHeightTo = currentZoom - ZOOM_LEVEL; + zoom.zoomWidthTo = currentZoom - ZOOM_LEVEL; + currentZoom -= 0.2; + currentZoom = Math.round(currentZoom * 10)/10; + + zoom.play([this], false); + } + + + } + ]]> Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/ToolBar.mxml =================================================================== diff -u -rbd2bc54a1b78829ff02a8355a86be5a7a44978ec -r09139a18612e0af686ddc05190832a1e05d67398 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/ToolBar.mxml (.../ToolBar.mxml) (revision bd2bc54a1b78829ff02a8355a86be5a7a44978ec) +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/ToolBar.mxml (.../ToolBar.mxml) (revision 09139a18612e0af686ddc05190832a1e05d67398) @@ -1,7 +1,9 @@ + xmlns:components="org.lamsfoundation.lams.author.components.*" + horizontalScrollPolicy="off" + > @@ -34,7 +36,7 @@ ]]> - + @@ -62,8 +64,9 @@ - - + + + Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/util/Constants.as =================================================================== diff -u -r3fb93ca162c53177b3ddfdf836c47bf868e144ff -r09139a18612e0af686ddc05190832a1e05d67398 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/util/Constants.as (.../Constants.as) (revision 3fb93ca162c53177b3ddfdf836c47bf868e144ff) +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/util/Constants.as (.../Constants.as) (revision 09139a18612e0af686ddc05190832a1e05d67398) @@ -17,8 +17,9 @@ public static const CURSOR_STATE_TRANSITION:int = 2; public static const CURSOR_STATE_DATAFLOW:int = 3; public static const CURSOR_STATE_HELP:int = 4; + public static const CURSOR_STATE_ZOOM_IN:int = 5; + public static const CURSOR_STATE_ZOOM_OUT:int = 6; - public static const UI_STATE_NORMAL:int = 1; public static const UI_STATE_DRAWING:int = 2;