background preloader

ActionScript Tutorials

Facebook Twitter

Create a Retro CRT Distortion Effect Using RGB Shifting. In this tutorial you'll learn how to separate an image's three different color channels to create an RGB shift effect.

Create a Retro CRT Distortion Effect Using RGB Shifting

I'll also show you some graphics tricks to mimic an old CRT display. Final Result Preview Here's an example of the effect we'll be creating: The main takeaway in this tutorial is going to be the RGB shifting effect, but I'll also demonstrate how to create the CRT scan lines, noise, and roll bar graphics. Step 1: About RGB Images Every image on your computer screen is displayed using the colors red, blue and green. If the three color channels don't align properly the image won't be composited correctly, and you'll start to see the edges of the individual channels 'bleeding' out of the sides of the image. Complex AS3 Button Tutorial by Tsafi. Public class Button extends MovieClip{ private var _BMatrix :Matrix = new Matrix(); private var _Sp :Sprite = new Sprite(); private var _Bhit :Sprite = new Sprite(); private var _Base :Shape = new Shape();

Complex AS3 Button Tutorial by Tsafi

Tutorial: Understanding Classes in AS3 Part 1. AS3 Tutorials - A compilation of the best ActionScript 3.0 Tutorials available online. Org: AS3 Tutorials Part I (Understanding Sprites) - free Flash CS3 tutorial. Planetarium. In this experiment, we examine the ActionScript 3 method 'drawTriangles' which is new to Flash Player 10 and Flash CS4. This method is particularly useful for 3D texture mapping and we use it to create a collection of planets displayed below. Click on the image to open the applet in a new window. Download Download all files corresponding to the applet above: All the source files in the package are exhaustively commented. Flash MX, MX2004, Flash 8, Flash 9, Flash 10, CS3, CS4, CS5, AS3 tutorials. Flash Fluid Layouts and Stage Resize in AS3.

By Rimp | Flash CS3 | Actionscript 3.0 | Intermediate This tutorial will teach you the very basic concepts for creating fluid layouts in Flash AS3.

Flash Fluid Layouts and Stage Resize in AS3

This sort of layout expands and repositions its contents automatically according to the window size. You can see an example of this effect on my personal portfolio. Once the main preloader completes try resizing the window to see the content flow into new positions automatically. Creating objects in ActionScript. The Object class is the root of all the classes in ActionScript, all are an extension of the Object Class.Object is a dynamic class, meaning it permits adding new properties and methods, it enables you to create your own properties and methods.

Creating objects in ActionScript

Creating objects There are two ways to create objects in ActionScript 3. The most common form is with the syntax: var objectName:Object = new Object(); Free Adobe Photoshop, Flash, Dreamweaver, Illustrator, Fireworks, Bridge, and Golive Video Tutorials. Creating a Drop Down Menu for your website is perhaps the most requested and hotly searched item for designers across the web.

Free Adobe Photoshop, Flash, Dreamweaver, Illustrator, Fireworks, Bridge, and Golive Video Tutorials

In this tutorial we will take a look at how to build a Flash Actionscript 3.0 Drop Down Menu which is easy to add drop down sections to, and pretty simple to setup. The beauty of this technique is that once you have built on Menu you can simply take it and do a few color changes, or Menu/ Text changes and you have a brand new Drop Down Menu. No video appearing? Full Flash As3 + Css Website Template Editable Flash Cs3 + Cs4 Actionscript 30. Implement AS3 Library into Flash.

Organize Flash Projects Activetuts+ Flash Dynamic Content. Will easily show you how to make your work vivid and interesting as if being able for communication and full of wish to react to every your motion. FlashDevelop Activetuts+ Two common misconceptions about Flash Professional: first, you have to buy it in order to make Flash apps and games; second, it's a decent tool for writing code.

FlashDevelop Activetuts+

Totally untrue. FlashDevelop an introduction. Who cares if you can shave a few milliseconds off the time it takes you to write a line of code?

FlashDevelop an introduction

How hard is it to add an import statement yourself? What’s wrong with writing an event handler function on your own? This is missing the point. See, all of these tasks are tedious; they’re gruntwork, not programming. Automating and streamlining them frees you up to just code, without having to think about writing code. From a tutorial I wrote for Activetuts+: Beginner’s Guide to FlashDevelop. I’ve been meaning to write this tutorial for a long time. When people decide to get into Flash development, they’re often put off by Flash CS-whatever’s price tag. But even if you do own Flash Professional — even if you’ve been using it for months — I wouldn’t recommend using it for coding. The trouble is, it’s a little daunting. How to use a Document Class in Flash with AS3. We're making some changes at Activetuts+.

How to use a Document Class in Flash with AS3

From now on, our tutorials will be using class-based code, instead of timeline code, wherever possible. This Quick Tip explains what you'll need to know. Why Use Class Files? I'll admit it - sometimes, coding entirely on the timeline is useful. It's a quick way to test out an effect, and the easiest way to sync actions to specific frames of an animation. But for any project that relies more on code than on animation, there are serious disadvantages. Using class files sets your code free. AS3 External Classes. Include and Use External Actionscript File Code in Your Flash Timeline. Flash and ActionScript 3. You can embed this video on your blog or web page by copying the video embed code above and pasting it into the source code of your page.

Flash ActionScript 3.0 Video Tutorial Index. Menu and Navigation Tutorials. Flash design is being used less and less within web design nowadays, ads and games aside.

Menu and Navigation Tutorials

We all know how about its down sides, and everyone certainly hates the “Click here to open in Full Screen” links that are, fortunately, not being used as much as in years gone by. There is no denying it though, visually Flash is beautiful. Is it time for a revival? Below we have 22 Flash Menu and Navigation Tutorials, they can all be used for all website designs, whether it be CSS or Flash. Versatile ActionScript 3.0 Menu with Masking Link : View Tutorial » Description : You will learn in this tut a quick and solid way of using basic ActionScript skills, blended with a bit of your own creativity, to construct an intuitive and user friendly navigation system.

Tutorials. Advertise About us Site map Syndicate Search site Mailing list View Authors Become an Author Tutorials The tutorials section hosts detailed articles about Flash, Flex and ActionScript.


(Page 1 of 15) « Prev 2 3 4 5 Next » ActionScript 3 Punctuation by ~MrBadger on deviantART. Adobe Flash help & tutorials - Process of Writing and Editing ActionScript 2.0 in Flash. You may attach scripts to keyframes and to object instances (movie clips, buttons, and other symbols). However, if your ActionScript code is scattered over many keyframes and object instances, debugging your application will be much more difficult. It will also be difficult to share your code between different Flash applications.

ActionScript 3.0 Cookbook excerpts: From custom classes to the rendering model. Well before Ajax and Microsoft Windows Presentation Foundation, Macromedia Flash provided the first method for building "rich" web pages. Now that Flash is a full-fledged development environment, learning ActionScript 3 is key—a challenge for even the most experienced Flash developer. The following book excerpts include Chapters 1, 2, 3, 5, and 6 from ActionScript 3 Cookbook by Joey Lott, Darron Schall, and Keith Peters, published by O'Reilly Media. This book offers more than 300 solutions to solve a wide range of coding dilemmas so you can learn to work with the new version right away.

This book is written with all levels of ActionScript developers in mind—people like you who want practical solutions to common problems. It contains many accessible and practical examples, solutions, and insights into the situations that Flash and ActionScript developers are sure to encounter. ActionScript 3 Cookbook © 2006 Joey Lott, Darron Schall, and Keith Peters. About ActionScript Classes. On the previous page , we looked at some examples of function call statements. gotoAndPlay is one such function, which we saw is always applied to an instance of a movieclip. To be more precise, we can say that gotoAndPlay is a method of the MovieClip class and thus is available to be called by any instance of that class.

Classes, Properties, and Methods The instance of the MovieClip class which called gotoAndPlay in our example statement was plane_mc. A movieclip instance is just one example of an instance of a class. Flash contains a wide variety of predefined classes, including MovieClip, Array, Date, and XML, to name a few. Below is a picture of 4 instances of the same movieclip, with some of the properties of each (except one) shown. Classes for storing and manipulating data The MovieClip class is a class whose instances are visible on stage. Var songtitles:Array = ["Times Have Changed", "Good To Me", "A Woman Will Do Wrong"]; Datatypes var xcar:Number; xcar = racecar_mc. Pages: 1 | 2 | 3 | 4 | 5 Note: Work in Progress As a work in progress, expect this content to change over time.

Top 8 Resources for Learning ActionScript 3. School of Flash. One of the many things that have changed in ActionScript 3 has been the way that Flash handles depths, or the stacking order of objects on the stage. In ActionScript 2, there was a practically unlimited number of depths into which you could place an object. These depths determine what objects appear in front of other objects.

An object with a depth of 100, for example, would cover up an object with a depth of 50. Flash & Math. Tweens in Flash CS3 + AS3. The ActionScript 3 Tween class can "tween" any numerical property of any object. "Tween" means change the value of the property over a specified time interval in a specific manner with, for example, one of many available AS3 easing functions applied.

Most often the property being "tweened" is the x or the y coordinate of a MovieClip, or its rotation, or its alpha property. Changes in these properties directly create motion or produce change in appearance. This is not how we use the Tween class in the example below: Learn ActionScript 3 by Following this Simple Avoider Game Tutorial — Michael James Williams. Table of contents for AS3 Avoider Game Tutorial. True-fit dynamic webite.