DisplacementMapFilter (flash.filters.DisplacementMapFilter)
505
Returns
Number
- An integer.
Example
The following example creates a new
maryBirthday_date
Date object defined in universal
time. This is the universal time variation of the example used for the
new Date
constructor
method. The output is in local time and varies accordingly. For Pacific Daylight Time the
output is seven hours earlier than UTC: Sun Aug 11 17:00:00 GMT-0700 1974.
var maryBirthday_date:Date = new Date(Date.UTC(1974, 7, 12));
trace(maryBirthday_date);
valueOf (Date.valueOf method)
public valueOf() : Number
Returns the number of milliseconds since midnight January 1, 1970, universal time, for this
Date
.
Availability:
ActionScript 1.0; Flash Player 5
Returns
Number
- The number of milliseconds.
DisplacementMapFilter
(flash.filters.DisplacementMapFilter)
Object
|
+-flash.filters.BitmapFilter
|
+-flash.filters.DisplacementMapFilter
public class
DisplacementMapFilter
extends BitmapFilter
The DisplacementMapFilter class uses the pixel values from the specified BitmapData object
(called the
displacement map image
) to perform a displacement of an object on the Stage, such
as a MovieClip instance. You can use this filter to achieve a warped or mottled effect on a
BitmapData or MovieClip instance.
The use of filters depends on the object to which you apply the filter.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...