Package | com.dwuser.ss4.managers |
Class | public class EffectLibrary |
FlashSlideshow_instance.effectLibrary
property.
The effects stored in this class are defined in the <effects>
section of the XML configuration file. Within the main <effects>
node, individual effects are defined by <effect id="uniqueEffectID" type="sequence|parallel">
nodes. Within these <effect>
nodes,
the one or more constituent subeffect nodes are defined. Here is an example of four effects which have been defined in the XML configuration file:
<effects> ... <effect id="blurFade" type="parallel"> <Dissolve alphaFrom="1" alphaTo="0" duration="1000" /> <Blur duration="1000" /> </effect> <effect id="popIn" type="parallel"> <Popper displayOffsetX="0" smoothing="true" blur="BlurFilter(1,1,1)" waitToHideTarget="false" isShowEffect="true" duration="400" strength="1.2" transparent="true" easingFunction="Easing(Exponential.easeIn)" /> </effect> <effect id="move6000" type="sequence"> <Move duration="3000" /> </effect> <effect id="resize1000" type="sequence"> <Resize duration="700" easingFunction="Easing(Exponential.easeInOut)" /> </effect> ... </effects>
As mentioned above, there are two supported type
attribute values for each <effect>
node. Using a type
of parallel
creates an effect in which all subeffects play simultaneously. Using a type
of sequence
creates an effect in which all subeffects play
sequentially.
The following different types of subeffects are supported:
AnimateProperty
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.AnimateProperty
pseudo-class documentationBlinds
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Blinds
pseudo-class documentationBlur
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Blur
pseudo-class documentationBlurFade
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.BlurFade
pseudo-class documentationBlurFadeFly
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.BlurFadeFly
pseudo-class documentationFade
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Fade
pseudo-class documentationGlow
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Glow
pseudo-class documentationIris
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Iris
pseudo-class documentationIsolatedCube
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.IsolatedCube
pseudo-class documentationMove
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Move
pseudo-class documentationPause
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Pause
pseudo-class documentationPixelate
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Pixelate
pseudo-class documentationPixelDissolve
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.PixelDissolve
pseudo-class documentationPopper
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Popper
pseudo-class documentationResize
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Resize
pseudo-class documentationRotate
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Rotate
pseudo-class documentationSlide
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Slide
pseudo-class documentationSoftIris
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.SoftIris
pseudo-class documentationSoftWipe
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.SoftWipe
pseudo-class documentationSoundEffect
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.SoundEffect
pseudo-class documentationSuperBlinds
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.SuperBlinds
pseudo-class documentationWipeDown
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.WipeDown
pseudo-class documentationWipeLeft
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.WipeLeft
pseudo-class documentationWipeRight
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.WipeRight
pseudo-class documentationWipeUp
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.WipeUp
pseudo-class documentationZoom
- For supported attributes, see the com.dwuser.ss4.pseudoStyleClasses.subEffectReferenceClasses.Zoom
pseudo-class documentationSee also
Method | Defined by | ||
---|---|---|---|
EffectLibrary | |||
applyXML(node:XML):void
This is the method which applies the effects defined in XML through the
<effects>...</effects> subnode of the main <slideshow> node in the XML configuration file. | EffectLibrary | ||
The main effect access function; returns the effect associated with the passed
id value from the repository. | EffectLibrary |
EffectLibrary | () | constructor |
public function EffectLibrary()
applyXML | () | method |
public function applyXML(node:XML):void
This is the method which applies the effects defined in XML through the <effects>...</effects>
subnode of the main <slideshow>
node in the XML configuration file.
For more information about the correct format for the effect-definition XML, see the class description above.
There is generally no reason for this method to be called manually; it is used automatically internally.
Parametersnode:XML |
getEffect | () | method |
public function getEffect(id:String):Effect
The main effect access function; returns the effect associated with the passed id
value from the repository.
If no effect is found for the requested id
value, an empty effect is returned.
There is generally no reason for this method to be called manually; it is used automatically internally.
Parametersid:String |
Effect |