Packagecoldfusion.service.mxml
Classpublic class Image
InheritanceImage Inheritance BasicService

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

The proxy class for image services exposed by ColdFusion.



Public Properties
 PropertyDefined By
  angle : String
Rotates the image; Angle in degrees.
Image
  attributes : Array
The attributes of the cfimage tag.
Image
  blurFactor : String
Image
  blurRadius : String
Uses the ImageBlur function to blur the image by a radius.
Image
  borderType : String
Image
  color : String
Border color; Hexadecimal value or supported named color.
Image
  direction : String
Image
  fitHeight : String
Image
  fitWidth : String
Image
  gain : int = 1
Image
  height : String
Height in pixels of the image.
Image
  interpolation : String
Image
  overlaySource : String
Image
  shear : String
Image
  source : String
Image source can be one of the following: URL of the source image. Absolute pathname or a pathname relative to the web root. ColdFusion image variable containing another image, BLOB, or byte array.
Image
  tagName : String
Image
  thickness : uint = 1
Border thickness in pixels; the value must be an integer.
Image
  transpose : String = "vertical"
Image
  width : String
Width in pixels of the image.
Image
  x : String
Image
  y : String
Image
Public Methods
 MethodDefined By
  
Image
  
Sends the information to the ColdFusion service based on the action and the attributes that the user sets.
Image
Protected Methods
 MethodDefined By
  
[override] This is the overriden function of the default implementation is BasicService.
Image
Property Detail
angleproperty
public var angle:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Rotates the image; Angle in degrees.

attributesproperty 
public var attributes:Array

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

The attributes of the cfimage tag. The cfimage tag lets you create images and perform common image manipulation operations.

blurFactorproperty 
public var blurFactor:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

blurRadiusproperty 
public var blurRadius:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Uses the ImageBlur function to blur the image by a radius. Radius is an integer value.

borderTypeproperty 
public var borderType:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

colorproperty 
public var color:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Border color; Hexadecimal value or supported named color.

The default value is black.

directionproperty 
public var direction:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

fitHeightproperty 
public var fitHeight:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

fitWidthproperty 
public var fitWidth:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

gainproperty 
public var gain:int = 1

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

heightproperty 
public var height:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Height in pixels of the image.

interpolationproperty 
public var interpolation:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

overlaySourceproperty 
public var overlaySource:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

shearproperty 
public var shear:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

sourceproperty 
public var source:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Image source can be one of the following:

tagNameproperty 
public var tagName:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

thicknessproperty 
public var thickness:uint = 1

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Border thickness in pixels; the value must be an integer.

The default value is 1.

transposeproperty 
public var transpose:String = "vertical"

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

widthproperty 
public var width:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Width in pixels of the image.

xproperty 
public var x:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

yproperty 
public var y:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Constructor Detail
Image()Constructor
public function Image()

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Method Detail
convertResultInEvent()method
override protected function convertResultInEvent(event:ResultEvent):ColdFusionServiceResultEvent

This is the overriden function of the default implementation is BasicService. This function checks if the result returned is an array of specific object instances. If it is, it converts it into an array of objects and creates an instance of ColdFusionServiceResultEvent and returns the event

Parameters

event:ResultEvent

Returns
ColdFusionServiceResultEvent
execute()method 
public function execute():void

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Sends the information to the ColdFusion service based on the action and the attributes that the user sets.