Archive | Actionscript 3.0 Tutorial RSS feed for this section

Free Gauge Preloader

September 15, 2011

0 Comments

1. Open the FLA file ‘Tank Gauge_preloader_01_CS3.fla’ (or the FL8 ) 2. Copy & Paste the movieClip “preloader_mc” from my FLA stage into your FLA and place it in your FIRST frame of your main timeline. 3. NO STOP ACTION IS NEEDED. (The stop action is already inside the movieClip) 4. On the second frame [...]

Continue reading...

AS3: Packages

June 26, 2011

0 Comments

In ActionScript 3, you must use the package definition keyword when defining a class. Instead of adding the class path to the class definition, you now add it after the package definition keyword. Within the package definition, you identify the class keyword followed by the class name. package com.yourcompanyname.utilities { class StringUtils { } } [...]

Continue reading...

AS2: Packages

June 26, 2011

0 Comments

Packages are standard in object-oriented programming languages. A package acts as a sort of code filing system, where the package is a folder and the classes are the documents within. On your computer, a package is used to group similar classes. Packages organize your code into groups based on similarity and/or functionality. In ActionScript 2, [...]

Continue reading...

AS3: Event Dispatching

June 26, 2011

0 Comments

As mentioned earlier, there are a number of native event classes in ActionScript 3. Each native event class has its own set of constants that define the values of specific events that can occur within the specified event class. There is an actual native class by the name of Event, which contains basicevent types that [...]

Continue reading...

AS2: Event Dispatching

June 26, 2011

0 Comments

Event dispatching provides a way to separate your code, which allows your classes to not have to be completely aware of other classes in your project. For example, a class might react only to dispatched events to which it is listening or to which it is subscribed. Separating your code keeps packages and/or classes reusable, [...]

Continue reading...

AS2: UIEventDispatcher

June 25, 2011

0 Comments

The UIEventDispatcher class in ActionScript 2 is based on an incomplete implementation of the DOM event model, but is closely related to the new event model offered in ActionScript 3. The UIEventDispatcher class provides a means to register events on ActionScript 2 components. The UIEventDispatcher has numerous events to handle loading and unloading, and key [...]

Continue reading...

AS3: Callback Functions

June 25, 2011

0 Comments

ActionScript 3 uses event listeners to trigger callback functions, thus eliminating the need for callback-function properties. For example, in AS3 the XML object does not have an onLoad callback-function property to trigger an event when an XML file is loaded. Instead, AS3 uses the URLLoader and URLRequest classes to load the XML file and the [...]

Continue reading...

AS2: Callback Functions

June 25, 2011

0 Comments

In AS2, callback-function properties execute functions when particular events occur. Callback-function properties are simple to implement, but limited. Not all classes have callback-function properties, and the classes that do are not consistent, as the properties can be used in a number of ways. The XML class’s onLoad property lets you execute a custom callback function [...]

Continue reading...

DisplayObject Class

June 25, 2011

0 Comments

The display classes are the classes behind every visual item in Adobe Flash, and the DisplayObject is the superclass of all display classes. All display classes inherit the DisplayObject properties, methods, and events. As the superclass of the display architecture, the DisplayObject defines basic visual properties, methods, and events that all visual items have in [...]

Continue reading...

Flash AS3 image slider

June 13, 2011

0 Comments

Simple gallery, that uses mouse position to change image. It segments it automaticly, you can preview the lines, change their color Using GreenSock’s TweenLite for handling transitions. package { import flash.events.Event; import flash.events.EventDispatcher; public class StepsMeasure extends EventDispatcher{ public static const STEP_CHANGED:String = “stepChanged”; private var _stageWidth:Number; private var _numSteps:uint; private var _stepLength:uint; private var [...]

Continue reading...

Android Hardware Acceleration

May 15, 2011

4 Comments

Phones come loaded with technology in the hardware. This is awesome for you as a developer. Following are some key hardware technologies that you will want to keep in mind as you develop for the Android OS: Touch-sensitive screen Sound/microphone Vibration Camera GPS Accelerometer/compass The touch-sensitive screen seems like an obvious hardware feature, but it [...]

Continue reading...

Working with Android Hardware

May 15, 2011

1 Comment

The Android platform has been available for less than two years. In that time it has gone from being available on a few phones to being installed on dozens of different phones available on almost every mobile carrier. Today there are over 50 different mobile phones running Android OS 1.5 and greater. Flash is supported [...]

Continue reading...

Developing Solutions Built with the DOM3 Event Model

May 15, 2011

0 Comments

ActionScript 3.0 now supports the ECMAScript, DOM3, event model syntax. In layman’s terms, this means that you now use the Listener object to detect when you interact with your Flash movie using either a keyboard, mouse, or the new gesture interfaces used when touching the screen directly. This is a big move from AS2. As [...]

Continue reading...

Using Code Snippets to Get You Started

May 14, 2011

1 Comment

Transitioning to AS3 after your entire career has been spent working with AS2 does come with a learning curve. To help you through the transition, Adobe has included a great new tool in Flash CS5, the Code Snippets panel, which you can use to quickly add popular scripts to your movies. Here’s what you do: [...]

Continue reading...

What Is the Same between AS2 and AS3?

May 11, 2011

0 Comments

With all the changes between AS3 and AS2 it important to remember that there is a lot of functionality that is the same between them. This will help as you transition from traditional AS1/2 Flash development to mobile app development using AS3. For instance you still use the following in the same way:   Variables [...]

Continue reading...

The Main Features of AS3

May 11, 2011

0 Comments

ActionScript is object-oriented in design concept. But what the heck does that mean? If you have developed for other programming languages, such as Java, C++, or C#, then you have heard of this term. Object-oriented essentially means that you break code into objects that can be easily reused. The idea is this: It is easier [...]

Continue reading...

What You Can Expect When You Use AS3

May 11, 2011

0 Comments

ActionScript 3.0 is a rewrite of ActionScript that brings it completely up to date with current development best practices. There are number of big changes that will take a while to get used to. The main changes are: ActionScript is located in Class files or in the Timeline. Code design is truly object-oriented. You cannot [...]

Continue reading...

Actionscript Black Box Video Player

January 11, 2011

0 Comments

Download Source

This Flex component was totally built with Adobe Flash Builder 4 (previously known as Adobe Flex Builder), if you don’t have Flash Builder on your computer, you can go to Adobe site and download a free trial version and work with it for 60 days. It is very easy and quick to get your new [...]

Continue reading...

Flash AS3 XML Deeplink Template

January 8, 2011

3 Comments

Download Source

Logo can be jpg or png loaded via XML 2 level deeplink menu system All colors are changeable via XML and CSS Mp3 player with categories and songs playlists Slider with individual image time delay 10 different modules HTML formatted text fields CSS enabled Hyperlinks Social Network list in footer Copyright text is html formatted [...]

Continue reading...

Flash Calendar with Analog and Digital Clock

December 28, 2010

12 Comments

Download Source

Calendar with Analog/Digital Clock contain day, date and month. With fla source file included

Continue reading...
Page 1 of 6123456