org. helvector. weather. WeatherControl

Variables

places

public var places: Array

mc

public var mc: MovieClip

weatherOb

public var weatherOb: Forecast

menuStyle

private var menuStyle: TextField.StyleSheet

me

private var me: String

tf

public var tf: TextField

Functions

WeatherControl

public function WeatherControl(target_mc: MovieClip,
myName: String,
targetObj: Forecast,
x: Number,
y: Number)

Constructor

Parameters

target_mcMovieClip to host the WeatherControl MovieClips
myNamea string to hold the name of this instance.  This should be identical to the var declared when instantiating.
TargetObja reference to the object to control.
xx location of instance.
yu location of this instance.

createList

private function createList(mc: MovieClip,
x, 
y ):Void

Creates the list of clickable places on screen.

Parameters

mcMovieClip to attach the list TextField to.
xx location of the created TextField.
yy location of the created TextField.

loadWeatherData

public function loadWeatherData(n: Number):Void

loadRandomWeatherData

public function loadRandomWeatherData():Boolean
public var places: Array
public var mc: MovieClip
public var weatherOb: Forecast
private var menuStyle: TextField.StyleSheet
private var me: String
public var tf: TextField
public function WeatherControl(target_mc: MovieClip,
myName: String,
targetObj: Forecast,
x: Number,
y: Number)
Constructor
private function createList(mc: MovieClip,
x, 
y ):Void
Creates the list of clickable places on screen.
public function loadWeatherData(n: Number):Void
public function loadRandomWeatherData():Boolean