ActionScript Reference - ImageSatellite

 

ImageSatellite.caption

Availability

Flash Player 7

Usage

myImageSatellite.caption : String

Description

Use this property to change image caption text in the runtime.

Examples

The following code will change image caption to "myImage"

ImageSatellite.caption = "myImage";

 

 

ImageSatellite.load

Availability

Flash Player 7

Usage

myImageSatellite.load(url:String)

Parameters

url - String. URL of the image to load into ImageSatellite component

Returns

Nothing.

Description

Method; loads the image inside ImageSatellite.

Example

The following code will load image inside ImageSatellite component:

myImageSatellite.load("http://flashloaded.com/myImage.jpg");

 

 

ImageSatellite.setCaptionFormat

Availability

Flash Player 7

Usage

myImageSatellite.setCaptionFormat(obj:Object)

Parameters

obj - Object containing standard TextFormat object properties

Returns

Nothing.

Description

Method; allows changing of caption format.

Example

The following code will make caption text red with size 12:

myImageSatellite.setCaptionFormat({
	  color:0xff0000,
	  size:12
});