Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesflorentino/Flip-Planes-AS3
photo slideshow effect
https://github.com/jamesflorentino/Flip-Planes-AS3
Last synced: 3 months ago
JSON representation
photo slideshow effect
- Host: GitHub
- URL: https://github.com/jamesflorentino/Flip-Planes-AS3
- Owner: jamesflorentino
- Created: 2011-08-18T00:30:54.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-19T01:28:10.000Z (about 13 years ago)
- Last Synced: 2024-05-03T06:22:50.262Z (6 months ago)
- Language: ActionScript
- Homepage:
- Size: 2.6 MB
- Stars: 15
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - Flip-Planes-AS3 - photo slideshow effect (Multimedia / Image)
README
# FlipPlane.as
An Actionscript3 class that converts a bitmap image into multiple planes### Dependencies
- [TweenMax](http://www.greensock.com/tweenmax/)### Example
- http://flipplanes.jamesflorentino.com/## Sample Code
var flipPlane : FlipPlane;
function createFlipCanvas () : void
{
flipPlane = new FlipPlane ( 10 , 10 );
flipPlane.addPattern ( new lib_bmp_intro as Bitmap );
flipPlane.addPattern ( new lib_bmp as Bitmap );
flipPlane.addPattern ( new lib_bmp2 as Bitmap );
flipPlane.addPattern ( new lib_bmp3 as Bitmap );
flipPlane.finished.add ( onPlaneTransition );
flipPlane.doNextTransition ();
addChild ( flipPlane );
}
function onPlaneTransition () : void
{
flipPlane.setNextPattern ();
flipPlane.doNextTransition ();
}