For the first installment in the series of lessons on deconstruction the oekaki/paint application, we're going to look at the basic setup, how to switch the skins out, how to change the canvas color, and how to create the help file.
Use setTransform to dynamically change the hue/tint of Flash symbols, as well as adjusting their brightness and opacity.
The gradient tool options are controlled by user-input values stored in variables and then passed to the transform matrices used by Flash to create a gradient fill.
This lesson on the Flash Oekaki/Paint application finally explains the mystery behind the oft-used currentcolor variable, how it's defined, and how it affects the various tools of the application.
The paint app has two options for setting the brush size for the Flash Oekaki/Paint application's brush tool and the opacity for the selected color: a text input box with an assigned variable, or draggable sliders.
You can use layers and createEmptyMovieClip to create user layers that duplicate all the functionality that we've covered in past lessons on multiple layers so that users have the option to paint above and below existing work without erasing/painting over.
The last drawing tool on the paint application is the text tool, which turns the entire application canvas into an input text field.
The gradient rectangle tool uses begingradientfill, matrices, and arrays to create a two-color gradient with user-specified colors and angle.
Use connecting lineTos to create closed rectangular shapes with solid fills defined by beginFill() and endFill().
Similar to the Magic 8-ball but building on the techniques used, you can create a random sentence generator that can take user-input words and string them together into funny sentences.
Using curveTo, beginFill, and endFill, add the functionality to draw solid-fill circles to the Flash paint application.
This lesson uses the previously explained functions of the Flash Drawing API along with another command called clear() to create a tool to draw straight lines with a custom crosshair cursor and line tracker.
The second tool that we're going to look at, the Brush Tool, will introduce you to the Flash Drawing API and a function called createEmptyMovieClip.
Will you have a merry Christmas? Will 2007 be a good year? Will you get that promotion? Ask the magic 8-ball....or use Flash and Actionscripting to make your own.
You can use the Flash drawing API to create dynamic animations controlled entirely by mathematical functions rather than user input.
This is a simple, animated Flash menu that drops down/expands when your mouse rolls over the menu header.
Ever wondered how they make those Flash ads that can be dynamically positioned anywhere on the screen, but that have a transparent background? In just four steps, I'll show you how.
Create a digital clock--twenty-four-hour time or twelve-hour time--in Flash, using dynamic text properties and the hour, minute, and second parameters of the basic Date functions.
Use if statements and variables to create a trivia quiz that calculates the score as you go based on right or wrong answers, and determines "pass" or "fail" based on meeting a minimum value.
Use setRGB to create a coloring-book application that allows users to select colors from a preset palette and fill pre-defined areas with the hue of their choice, with just a single click.
Learn layer masking to explore yet another way to create a spotlight that follows the mouse around the Flash stage to reveal your movie.
Use simple layers, transparency, and a few basic ActionScripts to make a spotlight follow your mouse cursor to reveal a hidden scene.
While you don't want to count on this for definite site or application security, you can use this basic password script as part of a game or any other fun animation.
You've been pranked by it, most likely--now learn how it was done, and turn the tables on your friends.
Complete your Halloween costume doll with the finishing touch: one of the most difficult "simple" tasks in Flash, making a movie clip play smoothly backwards so that your menu can be moved to both sides, rather than just one.
Take the next step to making the Halloween costume doll work by setting up the menu and learning how to hide and unhide the various parts when their menu elements are clicked.
Don't feel like getting dolled up for Halloween? Then create a virtual doll to do the trick-or-treating for you. This lesson starts off a two-part look at how to create a Flash version of a paper doll, by walking through creating the various layers of artwork required and arranging that artwork in Flash.
Your Flash popup tooltips don't have to just appear and disappear; you can also animate them entering the scene in any numbers of ways. This demonstration shows one expanding to full size.
Create your own customizable Flash rollover-style tooltip popups, using a simple two-frame movie clip and a little ActionScripting.
Whether it bounces, jiggles, squiggles, wiggles, glitters, or just sits there looking pretty, you can turn it into your own custom Flash mouse cursor to replace the default.
There's more than one way to skin a cat, more than one way to pluck a chicken, and more than one way to animate in Flash. Use ActionScripts to animate changes in size, color, position, and anything else that you can code.