Is Flash and Math your favorite writer? Why not get everything Flash and Math publishes, all the tutorials, components, news, and inspiration, across all sites, delivered directly to you? Choose your method of delivery on the Gurus page.
Below are the latest articles from Flash and Math. The results are culled from all sources Workflow: Flash follows.
Thousands of particles which appear to be made of light form beautiful revolving surfaces in 3D space. We use an additive luminescent effect which creates brighter spots where particles are more concentrated. We present four examples with variations in color and filter effects. Complete source code available for download.
One way is to use fl.motion.Color class and its setTint method. Another way is to assign a proper ColorTransform to object’s transform.colorTransform property. In this How-To, we show and explain both ways.
We present a new 3D particle effect, Astronaut, in which We animate 15,000 particles. The principles that govern motion of particles are different from those in Kepler’s Supernova and our other popular examples. In Astronaut, the particles fly upwards at a height based on their luminance. As always, we provide easily customizable source code.
A simple tutorial on creating magnifying glass effect for vector graphics and MovieClips. The technique is quite different from zooming on bitmap images presented in our earlier tutorial.
We present a 3D photo gallery in which rings of two-sided thumbnails revolve in 3D. The gallery is easily customizable via an XML file. We included several custom AS3 classes that make bulding XML-driven 3D galleries easy. Complete source code available for download.
We build in this tutorial a nice custom color picker but our real goal is to present formulas for extracting RGB components from a color value, for combining RGB componets into a color value, and for rewriting a color in HEX. We give detailed explanations of binary and hexadecimal representations and discuss the bitwise operators involved.
Each instance of the DisplayCube class accepts any DisplayObjects as sides, it revolves in 3D, its sides respond to clicks. Moreover, the cube drops shadow in 3D! We show an application with three Bitmap cube menus that drop dynamic shadows on the floor beneath as they rotate. Correct depth-sorting regardless of position and projection settings. We use simple FP10 3D methods. Source code ready to download.
Check out our new 3D particle effect: the spectacular Kepler’s Supernova. We animate 17,000 pixel particles put into motion based on the difference between their red and blue color components. Thus, every time you change the underlying bitmap image, you will obtain a different effect. Source code ready to download.
Text is loaded dynamically at runtime. Thanks to the new TLF methods, the body of the text is divided between two 3D boards and split into separate lines. Each line flips in 3D with a tween. Super cool! Code ready to download.
We present a math function grapher which has a drag and drop panning and mouse click zooming functionality. Panning has a cool easing effect, too. All the source code including parsing and graphing custom AS3 classes are available for download.
The easiest way to create a dynamic text field in which all individual characters are outlined is to apply an instance of the GlowFilter to the text field. Simply choose low blur parameters and large strength parameter for the GlowFilter and a color you want for your outline. In this tip we show how to do it.
Check out this cool little game. You can use it as a tutorial about blend modes and sound in AS3, or you can simply enjoy catching chameleon fish. Complete source code ready to download.
In this How-To we show how to accomplish a common but not entirely straightforward task of zooming in on a specific point of an image (or any other DisplayObject) and how to pan an image. We use the AS3 MatrixTransformer class from fl.motion package. We also show how to coordinate simultaneous mouse and keyboard interactions.
We load TLF markup text at runtime, use a custom TextSlicer AS3 class to split the text into lines, and then tween, slide, zoom, fade in, and color. We show how to use the new AS3 classes available in Flash CS5 to accomplish a variety of interesting text effects. Complete source code available for download.
The new TLF text AS3 classes are extremely useful for creating cool text effects, particularly if you can import your text on the fly, at runtime. TLF formatting and layout can be saved in a text file or in an XML file. But what is the correct TLF markup? In this tutorial, we show how to create a text file or an XML file containing TLF markup, load the file at runtime, and display the dynamically loaded text.
Enjoy a spectacular particle storm! In this experiment we use a bitmap filled with Perlin noise to create an acceleration field. The field controls the motion of thousands of particles creating a turbulent, dramatic effect. We use filters and color transforms to obtain the effect of fading trails behind the churning particles. Complete source code available for download.
We show how to use the new AS3 text layout classes: TextFlow, ContainerController, TextLayoutFormat, and properties like TextFlow.flowComposer to lay out and format text programmatically. In our example, the number of columns in the layout can be changed on the fly by dragging a slider. We discuss the Runtime Shared Library necessary for TLF text. Also, did you know that an animated preloader is a part of default publish settings in Flash CS5? It’s great!
When you interrupt a tweened motion, preventing erratic and undesirable behavior of subsequent tweens can be a little tricky. In this example we show how to get smooth and predictable response of multiple tweens that may be interrupted by user’s actions. The technique is useful for building a flipping menu, including a 3D menu.
In this video tutorial we present an overview of the new text-related AS3 classes available in Flash CS5, and give an example of an accordion-pleated text effect built using these classes. The new AS3 classes include TextFlow, TextConverter, ContainerController, and StarndardFlowComposer. They allow for creating linked text fields programmatically and give precise control over text layout.
In this video and written tutorial, we show how to create a custom snippet and add it to the Flash CS5 Code Snippets panel. The snippet spins an object in 3D and at the same time brings the object forward in a Star Wars kind of effect. We discuss the important point of custom snippets not being transferable via fla files.
In this video tutorial, we present a real life application – a showcase consisting of opening and closing folders that contain clickable thumbnails. The application is built from Code Snippets – a new feature of Flash CS5. Not one line of AS3 code is entered by hand. Really cool!
The focalLength is not always what you might think it is. You create a PerspectiveProjection object: pp=new PerspectiveProjection(), and set pp’s properties. When you assign: obj.transform.perspectiveProjection=pp to a DisplayObject, the focalLength changes. Why? How does it change? We explain this in our new tutorial. The value of focalLength is crucial for effective 3D depth-sorting.
We present a drawing application which allows you to create smooth and dynamic lines with a very responsive feel. The lines change thickness and color depending on how fast you move your mouse. The overall effect is somewhat like drawing with thick markers or paint. Full source code is available for download.
Just watched the Adobe Creative Suite 5 Launch Event and read Richard Galvan’s article. Amazing new features in all products, including Flash CS5. The Suite ships mid May! Your Flash and Math team cannot wait to get our hands on Flash CS5 and bring you a new series of tutorials and effects.
If a card rotating in 3D is not located near the projection center, determining which side should be visible by looking at the angle of rotation may not work. We show a depth-sorting method that works in every case by using a normal vector to a card and a vector toward the observer. We present a versatile CardRotator class. Flip, tween, and rotate any 3D card!
We present a custom AS3 class that folds and unfolds an image in 3D in accordion-pleated fashion. We use the native Flash Player 10 3D methods and achieve a remarkably realistic effect. On click, an image folds or unfolds in a tweened motion. This effect helps save real estate in your Flash movie. And it is just plain cool!
The easiest solution is to use the MatrixTransformer class. However, there are pitfalls one needs to be aware of when working with MatrixTransformer. We show how to apply successfully the methods rotateAroundInternalPoint and rotateAroundExternalPoint, and how to avoid the accumulation of error that might otherwise shift your object while rotating.
We present a simple way to create a super smooth response to mouse-controlled input by user, without using the Tween class. We use the dragging of MovieClips with the mouse and motion in response to sliding a slider as examples, but our technique can be applied to any type of mouse interaction. Easing creates an effect of smooth dragging and gives the dragged object ‘weight’.
We present a custom AS3 class, RetroTV, that easily converts any DisplayObject, (possibly combined of Sprites, Video, Shapes, TextFields), to a retro television display. The display is complete with lines, noise, and distortion. The television image is updated continuously in real time to reflect changes of the object on the TV display.
It is as easy as typing Color.interpolateColor(color1,color2,progress). The Color class does all the work of linearly interpolating between the red, green and blue components for any two colors. The effect is a smooth, gradual transition.
8,013
Subscribe to RSS headline updates from:
GurusUnleashed
Powered by FeedBurner
Curious what others are searching for? Below are the most popular search terms over the last 30 days.

