| 
|  | exoplanetOrbitDiagram007 | view, link (10 KB, 300×300) |  | source (50.5 KB) | Thu, 5 Oct 06, 10:50pm UTC |  |  |  | New flashvars:
 
animate- boolean to control whether the diagram is animated; default is falseperiod- the period of the animation in seconds; default is 5showStarDirectionArrow, showPlanetDirectionArrow- these booleans can be used to toggle the visibility of the direction arrows individually (they are parsed aftershowDirectionArrows, so thier value(s) dominate); the default is to show the arrowsshowEarthArrow- boolean to show/hide the earth direction arrow; the default is trueperimeterLabels- this comma/semicolon delimited list adds labels around the perimeter; the format is the same as forstarLabelsandplanetLabelsbelow, except that the angle is measured ccw from left (like the earth arrow angle); these labels will rotate with theearthArrowAngle(so 0° always corresponds with the view from earth arrow) 
Note that earthArrowAnglestill is meaningful (everything will be rotated) even ifshowEarthArrowis false. 
The flashvars line for the example above is showEarthArrow=f&perimeterLabels=A,0;B,90;C,180;D,270 |  |  |  | exoplanetOrbitDiagram006 |  |  |  | Wed, 4 Oct 06, 8:23pm UTC |  |  |  | Now labels can be added to positions on the star and planet orbits. This is done using the starLabelsor theplanetLabelsflashvars. If either of these variables is used it should consist of a semicolon delimited list of label items, where each label item is a comma delimited list of (1) the label text and (2) the angle (where the angle is in degrees counter-clockwise from right if the earth is at left -- the same definition as forplanetAngleandstarAngle). For example, the demonstration page above uses the following flashvars line: 
starLabels=A,0;B,90;C,180;D,240;E,320&showStar=f |  |  |  | exoplanetOrbitDiagram005 |  |  |  | Wed, 4 Oct 06, 5:10pm UTC |  |  |  | The native size of the swf is 300×300. The following flashvars are accepted:
 
starOrbitRadius- in pixels, default is 18; the planet's orbital radius is fixed at 94showPlanet- can be 'T' or 'F' (or '1' or '0'), default is 'T'showStar- can be 'T' or 'F' (or '1' or '0'), default is 'T'planetAngle- in degrees counterclockwise from right (assuming that the view from earth is from the left), default is 180, but see note belowstarAngle- in degrees counterclockwise from right (assuming that the view from earth is from the left), default is 0, but see note belowearthArrowAngle- in degrees counterclockwise from left, default is 0, changing this value causes the planetAngle and starAngle to change correspondingly (so they are effectively independent of this setting)showDirectionArrows- can be 'T' or 'F' (or '1' or '0'), default is 'T'orbitDirection- can be 'cw' or 'ccw', default is 'cw'starOrbitDirection, planetOrbitDirection- both of these must be set for either to have an effect; these properties override the orbitDirection property 
Note regarding the planet and star angles: if only one of these properties is defined the other will be assigned so that the bodies are on the opposite sides of the center of mass (the physically correct situation). The only reason for defining both properties is if you want to model a physically incorrect situation.
 |  |  |