Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ImageMap-1.4.3

fixed window size events sequence bug
fixed repainting radar on regaining focus
  • Loading branch information...
commit 87ed3e2dc923649bc1c88a8c79a06d8e0fcc89f0 1 parent 467b2eb
Marek Standio authored
Showing with 19 additions and 18 deletions.
  1. +1 −1  ant/config/compiled_files.txt
  2. +1 −1  bin/_examples/settings/00_demo/02_imagemap_infobubble.xml
  3. +1 −1  bin/_examples/settings/00_demo/03_imagemap_dropdown.xml
  4. +1 −1  bin/_examples/settings/00_demo/04_imagebutton_imagemap.xml
  5. +1 −1  bin/_examples/settings/05_modules/imagemap/01_basic.xml
  6. +1 −1  bin/_examples/settings/05_modules/imagemap/02_open.xml
  7. +1 −1  bin/_examples/settings/05_modules/imagemap/03_position.xml
  8. +1 −1  bin/_examples/settings/05_modules/imagemap/04_transition.xml
  9. +1 −1  bin/_examples/settings/05_modules/imagemap/05_waypoints.xml
  10. +1 −1  bin/_examples/settings/05_modules/imagemap/06_mouse.xml
  11. +1 −1  bin/_examples/settings/05_modules/imagemap/07_navigation.xml
  12. +1 −1  bin/_examples/settings/05_modules/imagemap/08_manymaps.xml
  13. +1 −1  bin/_examples/settings/05_modules/imagemap/09_setmap.xml
  14. +1 −1  bin/_examples/settings/05_modules/imagemap/10_extrawaypoint.xml
  15. +1 −1  bin/_examples/settings/05_modules/imagemap/11_setactive.xml
  16. BIN  bin/media/images/maps/map.jpg
  17. +1 −1  src/com/panozona/modules/imagemap/ImageMap.as
  18. +2 −1  src/com/panozona/modules/imagemap/controller/ViewerController.as
  19. +1 −1  src/com/panozona/modules/imagemap/model/RawWaypointData.as
2  ant/config/compiled_files.txt
View
@@ -32,7 +32,7 @@ ImageGallery.as = src/com/panozona/modules/imagegallery/ImageGallery.as
ImageGallery.swf = bin/modules/imagegallery/ImageGallery-1.0.swf
ImageMap.as = src/com/panozona/modules/imagemap/ImageMap.as
-ImageMap.swf = bin/modules/imagemap/ImageMap-1.4.2.swf
+ImageMap.swf = bin/modules/imagemap/ImageMap-1.4.3.swf
InfoBox.as = src/com/panozona/modules/infobox/InfoBox.as
InfoBox.swf = bin/modules/infobox/InfoBox-1.0.swf
2  bin/_examples/settings/00_demo/02_imagemap_infobubble.xml
View
@@ -16,7 +16,7 @@
<image id="redBubble" path="~media/images/thumbs/checker_red.jpg"/>
</bubbles>
</InfoBubble>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<window open="true" alpha="0.8"/>
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
2  bin/_examples/settings/00_demo/03_imagemap_dropdown.xml
View
@@ -18,7 +18,7 @@
</group>
</groups>
</DropDown>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<window onOpen="onMapOpen" onClose="onMapClose"/>
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
2  bin/_examples/settings/00_demo/04_imagebutton_imagemap.xml
View
@@ -9,7 +9,7 @@
<panorama id="checkerRed" path="~panos/checker/dz_red/red_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<window open="false" onOpen="mapOpened" onClose="mapClosed" openTween="time:0.5" closeTween="time:0.5"/>
<close path="~media/images/buttons/dark_right_close.png" align="vertical:middle,horizontal:left" move="horizontal:-60"/>
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
2  bin/_examples/settings/05_modules/imagemap/01_basic.xml
View
@@ -15,7 +15,7 @@
<panorama id="checkerRed" path="~panos/checker/dz_red/red_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg" panShift="90">
2  bin/_examples/settings/05_modules/imagemap/02_open.xml
View
@@ -14,7 +14,7 @@
<panorama id="checkerBlue" path="~panos/checker/dz_blue/blue_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<window open="false" onOpen="onOpenMap" onClose="onCloseMap"/>
<close path="~media/images/misc/close.png" move="vertical:-10,horizontal:10"/>
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
2  bin/_examples/settings/05_modules/imagemap/03_position.xml
View
@@ -13,7 +13,7 @@
<panorama id="checkerBlue" path="~panos/checker/dz_blue/blue_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<window align="horizontal:center,vertical:middle" maxSize="width:800,height:600" margin="top:10,bottom:10,left:10,right:10"/>
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
2  bin/_examples/settings/05_modules/imagemap/04_transition.xml
View
@@ -12,7 +12,7 @@
<panorama id="checkerBlue" path="~panos/checker/dz_blue/blue_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<window transition="type:slideUp" openTween="transition:Bounce.easeOut,time:0.75" closeTween="transition:Expo.easeIn,time:0.75"/>
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
2  bin/_examples/settings/05_modules/imagemap/05_waypoints.xml
View
@@ -14,7 +14,7 @@
<panorama id="checkerRed" path="~panos/checker/dz_red/red_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg">
2  bin/_examples/settings/05_modules/imagemap/06_mouse.xml
View
@@ -17,7 +17,7 @@
<image id="bubbleW1" path="~media/images/thumbs/checker_red.jpg"/>
</bubbles>
</InfoBubble>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map2" path="~media/images/maps/map2.jpg">
2  bin/_examples/settings/05_modules/imagemap/07_navigation.xml
View
@@ -12,7 +12,7 @@
<panorama id="checkerBlue" path="~panos/checker/dz_blue/blue_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_fire_20x20.png" navMove="enabled:false" navZoom="speed:0.05"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg">
2  bin/_examples/settings/05_modules/imagemap/08_manymaps.xml
View
@@ -14,7 +14,7 @@
<panorama id="checkerRed" path="~panos/checker/dz_red/red_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg">
2  bin/_examples/settings/05_modules/imagemap/09_setmap.xml
View
@@ -15,7 +15,7 @@
<panorama id="checkerRed" path="~panos/checker/dz_red/red_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png" autoSwitch="false"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg" onSet="onSetMap1" onUnset="onUnsetMap1">
2  bin/_examples/settings/05_modules/imagemap/10_extrawaypoint.xml
View
@@ -15,7 +15,7 @@
<panorama id="checkerBlue" path="~panos/checker/dz_blue/blue_f.xml"/>
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg" panShift="90">
2  bin/_examples/settings/05_modules/imagemap/11_setactive.xml
View
@@ -13,7 +13,7 @@
<panorama id="checkerRed" path="~panos/checker/dz_red/red_f.xml" onEnter="setActiveW2" />
</panoramas>
<modules>
- <ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
+ <ImageMap path="~modules/imagemap/ImageMap-1.4.3.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map1" path="~media/images/maps/map1.jpg" panShift="90">
BIN  bin/media/images/maps/map.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2  src/com/panozona/modules/imagemap/ImageMap.as
View
@@ -32,7 +32,7 @@ package com.panozona.modules.imagemap{
private var windowController:WindowController;
public function ImageMap() {
- super("ImageMap", "1.4.2", "http://openpano.org/links/saladoplayer/modules/imagemap/");
+ super("ImageMap", "1.4.3", "http://openpano.org/links/saladoplayer/modules/imagemap/");
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("setMap", String);
3  src/com/panozona/modules/imagemap/controller/ViewerController.as
View
@@ -72,6 +72,7 @@ package com.panozona.modules.imagemap.controller{
viewerView.imageMapData.mapData.addEventListener(MapEvent.CHANGED_SIZE, handleMapSizeChange, false, 0, true);
viewerView.windowData.addEventListener(WindowEvent.CHANGED_CURRENT_SIZE, handleCurrentSizeChange, false, 0, true);
+ handleCurrentSizeChange();
if (_viewerView.viewerData.viewer.navMove.enabled){
viewerView.viewerData.addEventListener(ViewerEvent.CHANGED_MOVE, handleMoveChange, false, 0, true);
@@ -159,7 +160,7 @@ package com.panozona.modules.imagemap.controller{
_viewerView.placeNavigation();
}
- private function handleCurrentSizeChange(e:Event):void {
+ private function handleCurrentSizeChange(e:Event = null):void {
_viewerView.redrawWindow();
focusActive = false;
if (_viewerView.containerWidth == 0 || _viewerView.containerHeight == 0) {
2  src/com/panozona/modules/imagemap/model/RawWaypointData.as
View
@@ -65,7 +65,7 @@ package com.panozona.modules.imagemap.model {
if (value == _hasFocus) return;
_hasFocus = value;
if (_hasFocus) {
- dispatchEvent(new WaypointEvent(WaypointEvent.CHANGED_IS_ACTIVE));
+ dispatchEvent(new WaypointEvent(WaypointEvent.FOCUS_GAINED));
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.