Index: lams_flex/LamsAuthor/src/LamsAuthor.mxml =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/LamsAuthor.mxml,v diff -u -r1.5 -r1.6 --- lams_flex/LamsAuthor/src/LamsAuthor.mxml 19 Jan 2010 05:29:25 -0000 1.5 +++ lams_flex/LamsAuthor/src/LamsAuthor.mxml 20 Jan 2010 00:16:04 -0000 1.6 @@ -10,6 +10,9 @@ @@ -86,7 +101,7 @@ + > Index: lams_flex/LamsAuthor/src/assets/icons/cursor.png =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/assets/icons/cursor.png,v diff -u Binary files differ Index: lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml,v diff -u -r1.4 -r1.5 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml 19 Jan 2010 03:15:33 -0000 1.4 +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasArea.mxml 20 Jan 2010 00:16:04 -0000 1.5 @@ -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 =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml,v diff -u -r1.4 -r1.5 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml 19 Jan 2010 03:15:33 -0000 1.4 +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/CanvasBox.mxml 20 Jan 2010 00:16:04 -0000 1.5 @@ -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 =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/Attic/ToolBar.mxml,v diff -u -r1.2 -r1.3 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/ToolBar.mxml 19 Jan 2010 05:29:25 -0000 1.2 +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/components/ToolBar.mxml 20 Jan 2010 00:16:04 -0000 1.3 @@ -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 =================================================================== RCS file: /usr/local/cvsroot/lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/util/Constants.as,v diff -u -r1.3 -r1.4 --- lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/util/Constants.as 15 Jan 2010 03:41:18 -0000 1.3 +++ lams_flex/LamsAuthor/src/org/lamsfoundation/lams/author/util/Constants.as 20 Jan 2010 00:16:04 -0000 1.4 @@ -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;