Permalink
Browse files

various fixes

  • Loading branch information...
1 parent 029a12d commit a9e4bd702ec839ffa1a156c3fab00553d56aa2a3 @mstandio committed Jun 9, 2013
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -51,7 +51,7 @@ package com.panosalado.model {
public var maxPixelZoom:Number = 1;
- public function Params( path:String, pan:Number = 0, tilt:Number = 0, fov:Number = 90) {
+ public function Params( path:String, pan:Number = 0, tilt:Number = 0, fov:Number = 100) {
this.path = path;
this.pan = pan;
this.tilt = tilt;
@@ -24,6 +24,8 @@ package com.panozona.modules.infobubble.model.structure {
public var enabled:Boolean = true;
+ public var alpha:Number = 1.0;
+
public var onEnable:String; // ids of actions executed
public var onDisable:String; // on enabled state change
}
@@ -42,6 +42,8 @@ package com.panozona.modules.infobubble.view{
mouseEnabled = false;
mouseChildren = false;
+ alpha = _infoBubbleData.settings.alpha;
+
textField.defaultTextFormat = textFormat;
textField.multiline = true;
textField.selectable = false;
@@ -156,7 +156,7 @@ package com.panozona.modules.menuscroller.controller{
private function onElementActive(e:Event = null):void {
recalulateTotalSize();
- onEnterFrame();
+ _module.stage.addEventListener(Event.ENTER_FRAME, onEnterFrame, false, 0, true);
}
private function recalulateTotalSize():void {

0 comments on commit a9e4bd7

Please sign in to comment.