MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 85

Extending flash
Table of Contents

Advertisement

Returns
A Boolean value:
true
otherwise.
false
Description
Method; determines whether you can use the
Example
The following example first tests whether
successfully. If so, it calls the method.
if(fl.getDocumentDOM().canTestScene()){
fl.getDocumentDOM().testScene();
}
See also
document.canTestMovie()
document.changeFilterOrder()
Availability
Flash 8.
Usage
document.changeFilterOrder( oldIndex, newIndex )
Parameters
An integer that represents the current zero-based index position of the filter you
oldIndex
want to reposition in the Filters list.
An integer that represents the new index position of the filter in the list.
newIndex
Returns
Nothing.
Description
Method; changes the index of the filter in the Filter list. Any filters above or below
are shifted up or down accordingly. For example, using the filters shown below, if you issue
the command
fl.getDocumentDOM().changeFilterOrder(3, 0)
as follows:
Before: blurFilter, dropShadowFilter, glowFilter, gradientBevelFilter
After: gradientBevelFilter, blurFilter, dropShadowFilter, glowFilter
if you can use the
document.testScene()
fl.getDocumentDOM().testScene()
,
document.testMovie()
document.testScene()
method successfully;
method successfully.
can be used
newIndex
, the filters are rearranged
Document object
85

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents