Director Behaviors
Adobe Director behaviors as plain text, so they can be easily copied. Examples of Adobe Director movies that incorporate these behaviors can be found in the Director Movies category.
Documents
Flipbook Animation
| Date added: | 05/02/2013 |
| Date modified: | 05/02/2013 |
| Filesize: | 2.4 kB |
| Downloads: | 29 |
This behavior makes it easy to create a basic flipbook animation using a series of contiguous cast members. Features of the behavior include: paused or unpaused playback, variable playback speed, looped playback, palindrome playback, and a toggle for remote animation playback.
Sprite Follows Rectangle Path
| Date added: | 05/03/2012 |
| Date modified: | 05/03/2012 |
| Filesize: | 1.56 kB |
| Downloads: | 445 |
This behavior makes a sprite move clockwise around the perimeter of a rectangle. If you use a vector shape as the rectangle it's easy to change its dimensions and color.
Get Stage Width and Height
| Date added: | 04/26/2012 |
| Date modified: | 04/26/2012 |
| Filesize: | 218 Bytes |
| Downloads: | 204 |
These functions return the width or height of the stage. To get the width of the stage, for example, you would call getStageWidth() and use the value returned. These functions can be used in a behavior or movie script.
Absolute Distance Between Two Points
| Date added: | 04/17/2012 |
| Date modified: | 04/17/2012 |
| Filesize: | 180 Bytes |
| Downloads: | 250 |
This is a function that calculates the absolute distance between any two points on the screen. By calling this function with sprite locations, for example, this can be very useful for a variety of games and effects.
Simple Projectile with Gravity
| Date added: | 04/12/2012 |
| Date modified: | 04/12/2012 |
| Filesize: | 2.06 kB |
| Downloads: | 335 |
This behavior can be dropped onto a sprite to give it simple projectile movement based on a firing angle, direction, speed, and gravity factor.