The component API is pretty straight forward and works much like the properties in the Component Inspector, but you can set them at runtime. They are:
setEffectSpeed(n:Number):Void - This method is used to set the speed at which a tile is removed from the stage during the transition. It takes in any number greater than 1 and returns nothing.
setEffectType(s:String):Void - This method sets the type of transition effect that you want. Valid types are "pourTiles", "erodeTiles", "shatterTiles", "zoomTopToBottom", "zoomBottomToTop", "zoomRandom", "fadeTopToBottom", "fadeBottomToTop", "fadeRandom", "blurTopToBottom", "blurBottomToTop", "blurRandom", and "random"
setImageArray(a:Array):Void - This method takes in an array of strings identifying a list of images that exist in the library. This list will be used (in order) to display transitions between images.
setNumberAffected(n:Number):Void - This method sets the number of tiles that will be triggered to be removed during any given frame. It takes in any whole number greater than 0.
setTileWidth(n:Number):Void -This method takes in any number to set the tile width.
setTileHeight(n:Number):Void - This method takes in any number to set the tile height.
getNextImage():Void - This method will trigger the component to load the next image in the image array and transition the old image off the stage with the chosen effect. If the image currently displayed is the last image in the array, then the component will start back at the beginning of the array.
getPreviousImage():Void - This method will trigger the component to load the previous image in the image array and transition the old image off the stage with the chosen effect. If the image currently displayed is the first image in the array, then the component will draw from the end of the array.