| Package | Top Level |
| Class | public class PanoSalado |
| Inheritance | PanoSalado flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| autorotatorDelay : Number | PanoSalado | ||
| autorotatorOn : Boolean | PanoSalado | ||
| autorotatorRestartDelay : Number | PanoSalado | ||
| bulkLoader : BulkLoader
Bulkloader class that PanoSalado uses for loading assets (images)
| PanoSalado | ||
| currentSpace : String = ""
name of the currentSpace as specified in the XML.
| PanoSalado | ||
| currentVideo : VideoDisplaySprite
reference to the current VideoDisplaySprite.
| PanoSalado | ||
| friction : Number = 0.3
friction of camera after mouse is up
| PanoSalado | ||
| isAutorotating : Boolean = false
flag set if camera is autorotating
| PanoSalado | ||
| keyIncrement : Number = 75
delta pan / tilt value for key panning / tilting
| PanoSalado | ||
| lastSpace : String = ""
reference to the last space that was loaded.
| PanoSalado | ||
| loadingSpace : String = ""
name of the space that is currently loading if applicable.
| PanoSalado | ||
| resizeDict : Object
objects that need to have their placement changed on stage resize.
| PanoSalado | ||
| sensitivity : Number = 60
sensitivity of camera to mouse motion
| PanoSalado | ||
| settings : XML
reference to the XML object containing PanoSalado's XML layer node (layer id="PanoSalado")
| PanoSalado | ||
| spaces : Array
Array of objects containing the basic PV3D objects for creating a "space", Scene, Camera, Renderer, etc
| PanoSalado | ||
| threshold : Number = 0.0001
camera pan / tilt threshold at which motion jumps to 0
| PanoSalado | ||
| viewports : Sprite
primary container for the viewports so that they can be isolated from the rest of the display list for easier access.
| PanoSalado | ||
| zoomIncrement : Number = 0.2
delta zoom value that will be used for key zooming
| PanoSalado | ||
| Property | Defined by | ||
|---|---|---|---|
| aah : Boolean | PanoSalado | ||
| aaz : Boolean | PanoSalado | ||
| da : Number | PanoSalado | ||
| dp : Number | PanoSalado | ||
| dqa : Boolean | PanoSalado | ||
| Method | Defined by | ||
|---|---|---|---|
|
constructor
| PanoSalado | ||
|
bitmapHotspot(xml:XML):Hotspot
creates a bitmap hotspot.
| PanoSalado | ||
|
change(... args):void
changes a property immediately, unlike a tween, which changes it over time.
| PanoSalado | ||
|
creates a cube.
| PanoSalado | ||
|
creates a cylinder.
| PanoSalado | ||
|
dispatchBroadcast(type:String, ... args):void
dispatches a generic event on ModuleLoader for communication between moduleLoader's layers.
| PanoSalado | ||
|
execute(attr:String):void
generic function that executes a function either on this object or from the XML
| PanoSalado | ||
|
geodesicSphere(xml:XML):Object
creates a geosphere.
| PanoSalado | ||
|
getDisplayObject3dByName(name:String):DisplayObject3D
gets a PV3d DisplayObject3D by name
| PanoSalado | ||
|
getSpaceByName(name:String):Object
gets a loaded space by name
| PanoSalado | ||
|
getSpacesAndLabels():Array
Special purpose function for populating ComboBox's with space ids and labels.
| PanoSalado | ||
|
creates a hotspot.
| PanoSalado | ||
|
keyDown(direction:String):void
key down event handler
| PanoSalado | ||
|
keyUp(direction:String):void
key up event handler
| PanoSalado | ||
|
loadSpace(name:String):void
initiates the loading of a new space.
| PanoSalado | ||
|
movieHotspot(xml:XML):Hotspot
creates a movie hotsport.
| PanoSalado | ||
|
openURL(url:String, window:String = "_blank"):void
opens a URL in the browser
| PanoSalado | ||
|
creates a plane.
| PanoSalado | ||
|
creates a qtvr.
| PanoSalado | ||
|
removeLastSpace():void
removes the last loaded space, if applicable
| PanoSalado | ||
|
restartAutorotatorTimer(delay:Number = 15000):void
handles restarting the autorotator timer
| PanoSalado | ||
|
sphere(xml:XML):Object
creates a sphere.
| PanoSalado | ||
|
stageReady(e:Event):void
stage ready is called when ModuleLoader has added PanoSalado to the stage.
| PanoSalado | ||
|
startAutorotatorNow(e:TimerEvent = null):void
immediately starts camera autorotation
| PanoSalado | ||
|
stopAutorotatorNow():void
immediately stops camera autorotation
| PanoSalado | ||
|
toggleAutorotator():void
toggles autorotator.
| PanoSalado | ||
|
toggleFullscreen():void
fullscreen toggle function.
| PanoSalado | ||
|
tween(str:String):void
parsers a String tween from the XML, deprecated, and SpinControl will only use XML tweens
| PanoSalado | ||
|
tweenXML(str:String):void
parses an XML tween from the XML
| PanoSalado | ||
| Method | Defined by | ||
|---|---|---|---|
|
keyDownEvent(event:KeyboardEvent):void
key handler for camera interaction
| PanoSalado | ||
|
keyUpEvent(event:KeyboardEvent):void
key up camera interaction handler.
| PanoSalado | ||
|
mouseDownEvent(event:MouseEvent):void
mouse down handler for camera interaction
| PanoSalado | ||
|
mouseUpEvent(event:Event):void
mouse up camera interaction handler
| PanoSalado | ||
|
mouseWheelEvent(event:MouseEvent):void
mouse wheel handler for camera interaction
| PanoSalado | ||
| aah | property |
protected var aah:Boolean
| aaz | property |
protected var aaz:Boolean
| autorotatorDelay | property |
autorotatorDelay:Number [read-write]Implementation
public function get autorotatorDelay():Number
public function set autorotatorDelay(value:Number):void
| autorotatorOn | property |
autorotatorOn:Boolean [read-write]Implementation
public function get autorotatorOn():Boolean
public function set autorotatorOn(value:Boolean):void
| autorotatorRestartDelay | property |
autorotatorRestartDelay:Number [read-write]Implementation
public function get autorotatorRestartDelay():Number
public function set autorotatorRestartDelay(value:Number):void
| bulkLoader | property |
public var bulkLoader:BulkLoaderBulkloader class that PanoSalado uses for loading assets (images)
| currentSpace | property |
public var currentSpace:String = ""name of the currentSpace as specified in the XML.
| currentVideo | property |
public var currentVideo:VideoDisplaySpritereference to the current VideoDisplaySprite.
| da | property |
protected var da:Number
| dp | property |
protected var dp:Number
| dqa | property |
protected var dqa:Boolean
| friction | property |
public var friction:Number = 0.3friction of camera after mouse is up
| isAutorotating | property |
public var isAutorotating:Boolean = falseflag set if camera is autorotating
| keyIncrement | property |
public var keyIncrement:Number = 75delta pan / tilt value for key panning / tilting
| lastSpace | property |
public var lastSpace:String = ""reference to the last space that was loaded.
| loadingSpace | property |
public var loadingSpace:String = ""name of the space that is currently loading if applicable.
| resizeDict | property |
public var resizeDict:Objectobjects that need to have their placement changed on stage resize.
| sensitivity | property |
public var sensitivity:Number = 60sensitivity of camera to mouse motion
| settings | property |
public var settings:XMLreference to the XML object containing PanoSalado's XML layer node (layer id="PanoSalado")
| spaces | property |
public var spaces:ArrayArray of objects containing the basic PV3D objects for creating a "space", Scene, Camera, Renderer, etc
| threshold | property |
public var threshold:Number = 0.0001camera pan / tilt threshold at which motion jumps to 0
| viewports | property |
public var viewports:Spriteprimary container for the viewports so that they can be isolated from the rest of the display list for easier access.
| zoomIncrement | property |
public var zoomIncrement:Number = 0.2delta zoom value that will be used for key zooming
| PanoSalado | () | constructor |
public function PanoSalado()constructor
| bitmapHotspot | () | method |
public function bitmapHotspot(xml:XML):Hotspotcreates a bitmap hotspot. Will be called by hotspot if the asset url does not end with '.swf'. it can be used directly with a bitmapHotspot node in the XML
Parametersxml:XML |
Hotspot |
| change | () | method |
public function change(... args):voidchanges a property immediately, unlike a tween, which changes it over time.
Parameters... args |
See also
| cube | () | method |
public function cube(xml:XML):Cubecreates a cube. not to be called directly. in the descriptor XML, a 'cube' node will cause this to be called.
Parametersxml:XML |
Cube |
| cylinder | () | method |
public function cylinder(xml:XML):Cylindercreates a cylinder. not to be called directly. in the descriptor XML, a 'cylinder' node will cause this to be called.
Parametersxml:XML |
Cylinder |
| dispatchBroadcast | () | method |
public function dispatchBroadcast(type:String, ... args):voiddispatches a generic event on ModuleLoader for communication between moduleLoader's layers.
Parameterstype:String — event type that is being listened for.
|
|
... args — arguments are stored in the 'info' object to allow sending information along with the event e.g. tooltip text.
|
| execute | () | method |
public function execute(attr:String):voidgeneric function that executes a function either on this object or from the XML
Parametersattr:String — A String with the name of the function to execute
|
| geodesicSphere | () | method |
public function geodesicSphere(xml:XML):Objectcreates a geosphere. not to be called directly. in the descriptor XML, a 'geodesicSphere' node will cause this to be called.
Parametersxml:XML |
Object |
| getDisplayObject3dByName | () | method |
public function getDisplayObject3dByName(name:String):DisplayObject3Dgets a PV3d DisplayObject3D by name
Parametersname:String — A String with the name
|
DisplayObject3D —
DisplayObject3D
|
| getSpaceByName | () | method |
public function getSpaceByName(name:String):Objectgets a loaded space by name
Parametersname:String — A String value with the name of the space to retrieve.
|
Object — Object
|
| getSpacesAndLabels | () | method |
public function getSpacesAndLabels():ArraySpecial purpose function for populating ComboBox's with space ids and labels.
ReturnsArray |
| hotspot | () | method |
public function hotspot(xml:XML):Hotspotcreates a hotspot. not to be called directly. in the descriptor XML, a 'hotspot' node will cause this to be called. note that a hotspot is only a special Plane which points toward the origin (where the camera is unless you move it).
Parametersxml:XML |
Hotspot |
| keyDown | () | method |
public function keyDown(direction:String):voidkey down event handler
Parametersdirection:String |
| keyDownEvent | () | method |
protected function keyDownEvent(event:KeyboardEvent):voidkey handler for camera interaction
Parametersevent:KeyboardEvent |
| keyUp | () | method |
public function keyUp(direction:String):voidkey up event handler
Parametersdirection:String |
| keyUpEvent | () | method |
protected function keyUpEvent(event:KeyboardEvent):voidkey up camera interaction handler.
Parametersevent:KeyboardEvent |
| loadSpace | () | method |
public function loadSpace(name:String):voidinitiates the loading of a new space.
Parametersname:String — A String with the name of the space in the descriptor XML to load.
|
| mouseDownEvent | () | method |
protected function mouseDownEvent(event:MouseEvent):voidmouse down handler for camera interaction
Parametersevent:MouseEvent |
| mouseUpEvent | () | method |
protected function mouseUpEvent(event:Event):voidmouse up camera interaction handler
Parametersevent:Event |
| mouseWheelEvent | () | method |
protected function mouseWheelEvent(event:MouseEvent):voidmouse wheel handler for camera interaction
Parametersevent:MouseEvent |
| movieHotspot | () | method |
public function movieHotspot(xml:XML):Hotspotcreates a movie hotsport. Will be called automatically by hotspot if the asset url ends in '.swf'. It can be called directly with a movieHotspot node in the XML.
Parametersxml:XML |
Hotspot |
| openURL | () | method |
public function openURL(url:String, window:String = "_blank"):voidopens a URL in the browser
Parametersurl:String — String value of the absolute URL to open
|
|
window:String (default = "_blank") — String value of browser window name to open, defaults to '_blank'
|
| plane | () | method |
public function plane(xml:XML):Planecreates a plane. not to be called directly. in the descriptor XML, a 'plane' node will cause this to be called.
Parametersxml:XML |
Plane |
| qtvr | () | method |
public function qtvr(xml:XML):Cubecreates a qtvr. not to be called directly. in the descriptor XML, a 'qtvr' node will cause this to be called.
Parametersxml:XML |
Cube |
| removeLastSpace | () | method |
public function removeLastSpace():voidremoves the last loaded space, if applicable
| restartAutorotatorTimer | () | method |
public function restartAutorotatorTimer(delay:Number = 15000):voidhandles restarting the autorotator timer
Parametersdelay:Number (default = 15000) |
| sphere | () | method |
public function sphere(xml:XML):Objectcreates a sphere. not to be called directly. in the descriptor XML, a 'sphere' node will cause this to be called.
Parametersxml:XML |
Object |
| stageReady | () | method |
public function stageReady(e:Event):voidstage ready is called when ModuleLoader has added PanoSalado to the stage. This is where PanoSalado sets stage properties: framerate quality and a resize event.
Parameterse:Event |
| startAutorotatorNow | () | method |
public function startAutorotatorNow(e:TimerEvent = null):voidimmediately starts camera autorotation
Parameterse:TimerEvent (default = null) |
| stopAutorotatorNow | () | method |
public function stopAutorotatorNow():voidimmediately stops camera autorotation
| toggleAutorotator | () | method |
public function toggleAutorotator():voidtoggles autorotator. if toggled on, it will start autorotation immediately.
| toggleFullscreen | () | method |
public function toggleFullscreen():voidfullscreen toggle function. dispatches BroadcastEvent.ENTER_FULLSCREEN and EXIT_FULLSCREEN
| tween | () | method |
public function tween(str:String):voidparsers a String tween from the XML, deprecated, and SpinControl will only use XML tweens
Parametersstr:String |
See also
| tweenXML | () | method |
public function tweenXML(str:String):voidparses an XML tween from the XML
Parametersstr:String |