Permalink
Browse files

modules url rewire

  • Loading branch information...
1 parent 663b5e3 commit 502e1f75313222e0c59a0411dc2225c898396314 @mstandio committed Apr 1, 2013
@@ -30,7 +30,7 @@ package com.panozona.modules.actionlogic {
private var scriptController:ScriptController;
public function ActionLogic() {
- super("ActionLogic", "1.1", "http://panozona.com/wiki/Module:ActionLogic");
+ super("ActionLogic", "1.1", "http://openpano.org/links/saladoplayer/modules/actionlogic/");
moduleDescription.addFunctionDescription("runScript", String);
}
@@ -43,7 +43,7 @@ package com.panozona.modules.backgroundmusic{
private var singleSoundSound:flash.media.Sound;
public function BackgroundMusic() {
- super("BackgroundMusic", "1.2", "http://panozona.com/wiki/Module:BackgroundMusic");
+ super("BackgroundMusic", "1.2", "http://openpano.org/links/saladoplayer/modules/backgroundmusic/");
moduleDescription.addFunctionDescription("setTrack", String);
moduleDescription.addFunctionDescription("setPlay", Boolean);
@@ -33,7 +33,7 @@ package com.panozona.modules.buttonbar {
private var windowController:WindowController;
public function ButtonBar(){
- super("ButtonBar", "1.3", "http://panozona.com/wiki/Module:ButtonBar");
+ super("ButtonBar", "1.3", "http://openpano.org/links/saladoplayer/modules/buttonbar/");
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("setActive", String, Boolean);
@@ -32,7 +32,7 @@ package com.panozona.modules.compass {
private var windowController:WindowController;
public function Compass() {
- super("Compass", "1.2", "http://panozona.com/wiki/Module:Compass");
+ super("Compass", "1.2", "http://openpano.org/links/saladoplayer/modules/compass/");
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setOpen", Boolean);
}
@@ -34,7 +34,7 @@ package com.panozona.modules.dropdown{
private var windowController:WindowController;
public function DropDown(){
- super("DropDown", "1.3", "http://panozona.com/wiki/Module:DropDown");
+ super("DropDown", "1.3", "http://openpano.org/links/saladoplayer/modules/dropdown/");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setGroup", String);
@@ -94,7 +94,7 @@ package com.panozona.modules.examplemodule {
* </actions>
*/
public function ExampleModule() {
- super("ExampleModule", "1.0", "http://panozona.com/wiki/Module:ExampleModule");
+ super("ExampleModule", "1.0", "http://openpano.org/links/saladoplayer/modules/examplemodule/");
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setOpen", Boolean);
@@ -51,7 +51,7 @@ package com.panozona.modules.fullscreener{
private var fullScreenerData:FullScreenerData;
public function FullScreener():void{
- super("FullScreener", "1.1", "http://panozona.com/wiki/Module:FullScreener");
+ super("FullScreener", "1.1", "http://openpano.org/links/saladoplayer/modules/fullscreener/");
moduleDescription.addFunctionDescription("setFullScreen", Boolean);
moduleDescription.addFunctionDescription("toggleFullScreen");
}
@@ -32,7 +32,7 @@ package com.panozona.modules.imagebutton{
private var windowControllers:Vector.<WindowController>;
public function ImageButton(){
- super("ImageButton", "1.3", "http://panozona.com/wiki/Module:ImageButton");
+ super("ImageButton", "1.3", "http://openpano.org/links/saladoplayer/modules/imagebutton/");
moduleDescription.addFunctionDescription("setOpen", String, Boolean);
moduleDescription.addFunctionDescription("toggleOpen", String);
moduleDescription.addFunctionDescription("setActive", String, Boolean);
@@ -33,7 +33,7 @@ package com.panozona.modules.imagegallery {
private var windowController:WindowController;
public function ImageGallery() {
- super("ImageGallery", "1.0", "http://panozona.com/wiki/Module:ImageGallery");
+ super("ImageGallery", "1.0", "http://openpano.org/links/saladoplayer/modules/imagegallery/");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setGroup", String);
@@ -32,7 +32,7 @@ package com.panozona.modules.imagemap{
private var windowController:WindowController;
public function ImageMap() {
- super("ImageMap", "1.4.2", "http://panozona.com/wiki/Module:ImageMap");
+ super("ImageMap", "1.4.2", "http://openpano.org/links/saladoplayer/modules/imagemap/");
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("setMap", String);
@@ -32,7 +32,7 @@ package com.panozona.modules.infobox{
private var windowController:WindowController;
public function InfoBox() {
- super("InfoBox", "1.0", "http://panozona.com/wiki/Module:InfoBox");
+ super("InfoBox", "1.0", "http://openpano.org/links/saladoplayer/modules/infobox/");
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("setArticle", String);
@@ -33,7 +33,7 @@ package com.panozona.modules.infobubble{
private var bubbleController:BubbleController;
public function InfoBubble(){
- super("InfoBubble", "1.3.3", "http://panozona.com/wiki/Module:InfoBubble");
+ super("InfoBubble", "1.3.3", "http://openpano.org/links/saladoplayer/modules/infobubble/");
moduleDescription.addFunctionDescription("show", String);
moduleDescription.addFunctionDescription("hide");
@@ -32,7 +32,7 @@ package com.panozona.modules.jsgateway {
private var jsgatewayData:JSGatewayData;
public function JSGateway(){
- super("JSGateway", "1.3.2", "http://panozona.com/wiki/Module:JSGateway");
+ super("JSGateway", "1.3.2", "http://openpano.org/links/saladoplayer/modules/jsgateway/");
moduleDescription.addFunctionDescription("run", String);
}
@@ -37,7 +37,7 @@ package com.panozona.modules.jsgooglemap {
private var jsGooglemapData:JSGoogleMapData;
public function JSGoogleMap() {
- super("JSGoogleMap", "1.0", "http://panozona.com/wiki/Module:JSGoogleMap");
+ super("JSGoogleMap", "1.0", "http://openpano.org/links/saladoplayer/modules/jsgooglemap/");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("toggleOpen");
@@ -37,7 +37,7 @@ package com.panozona.modules.lensflare{
private var flareControllers:Vector.<FlareController>;
public function LensFlare():void {
- super("LensFlare", "1.1", "http://panozona.com/wiki/Module:LensFlare");
+ super("LensFlare", "1.1", "http://openpano.org/links/saladoplayer/modules/lensflare/");
}
override protected function moduleReady(moduleData:ModuleData):void {
@@ -30,7 +30,7 @@ package com.panozona.modules.linkopener {
private var linkOpenerData:LinkOpenerData;
public function LinkOpener(){
- super("LinkOpener", "1.1", "http://panozona.com/wiki/Module:LinkOpener");
+ super("LinkOpener", "1.1", "http://openpano.org/links/saladoplayer/modules/linkopener/");
moduleDescription.addFunctionDescription("open", String);
}
@@ -34,7 +34,7 @@ package com.panozona.modules.menuscroller {
private var windowController:WindowController;
public function MenuScroller(){
- super("MenuScroller", "1.3.2", "http://panozona.com/wiki/Module:MenuScroller");
+ super("MenuScroller", "1.3.2", "http://openpano.org/links/saladoplayer/modules/menuscroller/");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("toggleOpen");
moduleDescription.addFunctionDescription("setGroup", String);
@@ -62,7 +62,7 @@ package com.panozona.modules.mousecursor {
private var startY:Number = 0;
public function MouseCursor(){
- super("MouseCursor", "1.2", "http://panozona.com/wiki/Module:MouseCursor");
+ super("MouseCursor", "1.2", "http://openpano.org/links/saladoplayer/modules/mousecursor/");
}
override protected function moduleReady(moduleData:ModuleData):void {
@@ -1,63 +1,63 @@
-/*
-Copyright 2012 Marek Standio.
-
-This file is part of SaladoPlayer.
-
-SaladoPlayer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published
-by the Free Software Foundation, either version 3 of the License,
-or (at your option) any later version.
-
-SaladoPlayer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty
-of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with SaladoPlayer. If not, see <http://www.gnu.org/licenses/>.
-*/
-package com.panozona.modules.panolink{
-
- import com.panozona.modules.panolink.controller.WindowController;
- import com.panozona.modules.panolink.model.PanoLinkData;
- import com.panozona.modules.panolink.view.WindowView;
- import com.panozona.player.module.data.ModuleData;
- import com.panozona.player.module.Module;
-
- public class PanoLink extends Module{
-
- private var windowView:WindowView;
- private var windowController:WindowController;
-
- private var panoLinkData:PanoLinkData;
-
- public function PanoLink(){
- super("PanoLink", "1.1", "http://panozona.com/wiki/Module:PanoLink");
-
- moduleDescription.addFunctionDescription("setOpen", Boolean);
- moduleDescription.addFunctionDescription("toggleOpen");
- }
-
- override protected function moduleReady(moduleData:ModuleData):void {
-
- panoLinkData = new PanoLinkData(moduleData, saladoPlayer);
-
- windowView = new WindowView(panoLinkData);
- windowController = new WindowController(windowView, this);
- addChild(windowView);
- }
-
-///////////////////////////////////////////////////////////////////////////////
-// Exposed functions
-///////////////////////////////////////////////////////////////////////////////
-
- public function setOpen(value:Boolean):void {
- if (value == panoLinkData.windowData.open) return;
- panoLinkData.windowData.open = value;
- }
-
- public function toggleOpen():void {
- panoLinkData.windowData.open = !panoLinkData.windowData.open;
- }
- }
+/*
+Copyright 2012 Marek Standio.
+
+This file is part of SaladoPlayer.
+
+SaladoPlayer is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published
+by the Free Software Foundation, either version 3 of the License,
+or (at your option) any later version.
+
+SaladoPlayer is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty
+of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with SaladoPlayer. If not, see <http://www.gnu.org/licenses/>.
+*/
+package com.panozona.modules.panolink{
+
+ import com.panozona.modules.panolink.controller.WindowController;
+ import com.panozona.modules.panolink.model.PanoLinkData;
+ import com.panozona.modules.panolink.view.WindowView;
+ import com.panozona.player.module.data.ModuleData;
+ import com.panozona.player.module.Module;
+
+ public class PanoLink extends Module{
+
+ private var windowView:WindowView;
+ private var windowController:WindowController;
+
+ private var panoLinkData:PanoLinkData;
+
+ public function PanoLink(){
+ super("PanoLink", "1.1", "http://openpano.org/links/saladoplayer/modules/panolink/");
+
+ moduleDescription.addFunctionDescription("setOpen", Boolean);
+ moduleDescription.addFunctionDescription("toggleOpen");
+ }
+
+ override protected function moduleReady(moduleData:ModuleData):void {
+
+ panoLinkData = new PanoLinkData(moduleData, saladoPlayer);
+
+ windowView = new WindowView(panoLinkData);
+ windowController = new WindowController(windowView, this);
+ addChild(windowView);
+ }
+
+///////////////////////////////////////////////////////////////////////////////
+// Exposed functions
+///////////////////////////////////////////////////////////////////////////////
+
+ public function setOpen(value:Boolean):void {
+ if (value == panoLinkData.windowData.open) return;
+ panoLinkData.windowData.open = value;
+ }
+
+ public function toggleOpen():void {
+ panoLinkData.windowData.open = !panoLinkData.windowData.open;
+ }
+ }
}
@@ -1,43 +0,0 @@
-package com.panozona.modules.poligonmodule{
-
- import com.panozona.modules.viewfinder.data.*;
- import com.panozona.player.module.*;
- import com.panozona.player.module.data.*;
- import com.panozona.player.module.data.property.*;
- import flash.display.*;
- import flash.events.*;
- import flash.text.*;
-
- public class PoligonModule extends Module{
-
- private var btn:Sprite;
-
- public function PoligonModule(){
- super("PoligonModule", "0.0", "http://panozona.com/");
- }
-
- override protected function moduleReady(moduleData:ModuleData):void {
- buildModule();
- }
-
- private function buildModule():void {
- btn = new Sprite();
- btn.graphics.beginFill(0xff0000);
- btn.graphics.drawRect(0, 0, 20, 20);
- btn.graphics.endFill();
- btn.buttonMode = true;
- btn.x = 200;
- btn.addEventListener(MouseEvent.CLICK, btnClick, false, 0 , true);
- addChild(btn);
- }
-
- private var counter:int = 0;
-
- private function btnClick(e:Event):void {
- for (var i:int = 0; i < 25; i++) {
- counter++;
- printInfo(""+counter);
- }
- }
- }
-}
@@ -36,7 +36,7 @@ package com.panozona.modules.viewfinder{
private var currentDirection:Number = 0;
public function ViewFinder():void{
- super("ViewFinder", "1.3", "http://panozona.com/wiki/Module:ViewFinder");
+ super("ViewFinder", "1.3", "http://openpano.org/links/saladoplayer/modules/viewfinder/");
}
override protected function moduleReady(moduleData:ModuleData):void {
@@ -32,7 +32,7 @@ package com.panozona.modules.zoomslider{
private var zoomSliderData:ZoomSliderData;
public function ZoomSlider():void{
- super("ZoomSlider", "1.2", "http://panozona.com/wiki/Module:ZoomSlider");
+ super("ZoomSlider", "1.2", "http://openpano.org/links/saladoplayer/modules/zoomslider/");
moduleDescription.addFunctionDescription("setOpen", Boolean);
moduleDescription.addFunctionDescription("toggleOpen");

0 comments on commit 502e1f7

Please sign in to comment.