Class Archives

July 19, 2003

The quest for preloading powers

Following the tradition of the greatest actionScriptsHeroes...

Continue reading "The quest for preloading powers" »

August 1, 2003

LoaderClass by R. Bokel and C. Moock

Don't miss this excellent LoaderClass() by Ralf Bokelberg and Colin Moock.
As Colin Moock, the author of Actionscript - The Definitive Guide stated lately: Preloading still is a major problem for a lot of flashers. The different interfaces to the different filetypes (SWF, XML, Text, Sound), the asynchronous behaviour of the loading process and the uncomplete errorhandling alltogether make preloading really hard to handle. This is why Colin started a petition and proposed a new interface for preloading.
The LoaderClass is based on Colin's interface proposal. Some changes and additions had to be made, because of practical implications.
The loader class documentation is here:
Don't forget to donate if you fnd the class useful.

aSH loader class selection

Hopefuly I'll launch my site soon!!

For my flash console, I decided to work with the Loader built by Bokel who turned Moock's MovieClipLoader-Interface into an universal Loader interface.
In his words:
The new class is able to load and show the loading progress of Sound, XML, LoadVars and MovieClips.

It is true, this is the continuation of my last post. I recomended this class.
In helpQLODhelp you can download the class and one example, here the permalink. For the download, there is a problem with some html tags, so if you find a 404 error edit the link in your browser the current LoaderClass is available at or at the left hand side of
Please donate to this guys if you find useful their work.

August 3, 2003

LoadClass v1.01, dynColortween Mx v1.01 and bouncy menu system

For my fl_aSH console, I'm working with Bokel's LoadClass v1.01, Tatsuo Kato's dynColorTween Mx v1.01 and a bouncy menu system built by Peter Amisano from PB&J; Solutions, who got inspired by

Continue reading "LoadClass v1.01, dynColortween Mx v1.01 and bouncy menu system" »

August 8, 2003

Bokel released LoaderClass 1.02

[Update August 12, 2003]
Thread in Chattyfig on "Bokel's Preloader Class - Revisited"
Thread in Chattyfig on "Bokel's Preloader Class - Queue Management?"
Thread in Chattyfig on "Bokel's Preloader Class - "onLoadProgress" callback function"
Thread (december 2002) in Chattyfig on "Is Bokel's onLoad method applicable with onData?"

[update August 9, 2003]
More information :
Flashcoders: Thread in Chattyfig on "Bokel's Preloader Class".
There is also a good explanation about class creation by [email protected]
Joen Weidemann post in Chattyfig on "Yet Another Preloader Question":
I cannot imagine anything simpler and more effective than Bokel's preloaderClass. It really works. It's already written. You only
need to add [...]

As you can remember, the Bokel's LoaderClass was my final selection. Now, Bokel released LoaderClass 1.02. This guy is serious. Really. Please read the release and don't forget to donate if you find his work useful!

August 19, 2003

Don't _root me so much. I can beat you with this or call my _parents.

Portability! Scope your variables using relative addressing! Don't use _root! :sighs: ... On January 24, 2002, at 08:24:44, Williams, Michael wrote:

Hey FlashCoders, The team is working on a comprehensive list of "Best Practices" when developing applications and user interfaces using the Flash Player and we would like to get your comments on this document. We feel that the community has a lot of say in what defines a well written Flash application, and we value your input greatly. What follows is a first draft of this document which will eventually be published as part of a developer centric area of that we are working very hard on right now. Please send any comments to this list, as I am anxious to get any input and additions to this list. I look forward to the discussion. [/quote]

+ Read the 'living document that is driven by community input' : ActionScript Coding Standards by Michael Williams. March 2002. PDF - HTML (google) - Flashcoders Wiki Best Practices

+ Read the entire thread on Best Practices RFC at Flashcoders to really understand the meaning of this Best Practices (many flashcoders worked in this thinking on you, to help you!)

+ Read Best Practices Guidelines at What is Flash.

+ Read Best Practices for using Macromedia Flash MX to build Rich Internet Applications by Jason Hatcher from Macromedia.

+ And finally, read Application Developer's ActionScript Workshop by Colin Moock (source files for examples here).

And please, don't _root anymore.

September 22, 2003

10. POLL/SURVEY: Do you OOP-AS? by RuneImp (

1. Inheritance RULES!
2. Classes are nice but Private, Static?
3. I like functions...
4. Is a text field and object?

Have your say! Vote now!

About RuneImp:
[email protected]
"I'm a web hosting owner and web developer specializing in Flash and PHP scripting. I also dance with a group called Everything Celtic and enjoy the sport of whip cracking in affiliation with the Whip Enthusiasts".

I have to say, RuneImp is not only a well known moderator of FLASHmacromedia (yahoogroups), but one of the most important contributors in the Flash Community. He's doing a great job and we appreciate that. Thanks RuneImp!

October 13, 2003

Flash MX 2004 and ActionScript 2.0 Tutorials: The Definitive List (First Edition)

[RELEASE: The Second and definitive Edition is online!! Tons of tutorials, tips and articles!!! You can check it here. TIP: Use the search feature with keywords or authors to find your favorites topics. Note: this page will not longer be updated with tutorials, check the new version.]

[Announce: January 10, 2004: RSS and JavaScript Generator launched! Now you can create your own RSS Feeds and JavaScript! Display listings of tutorials in your blog or website and syndicate The Definitive List setting your preferences! Read announcement here.]

[Announce: January 9, 2004: Content Syndication is available (RSS 2.0 - RSS 0.91 and JavaScript)! Read announce here and visit The Definitive List: you'll find the RSS feeds and JavaScripts at the top of every page.]

[Announce: December 12, 2003: Flash MX 2004 and ActionScript 2.0 Tutorials: The Definitive List (Second Edition) will be released the next week. New environment with search feature, new and updated tutorials. Stay tunned!]
[Update: October 27, 2003: 152 links]
[Update: October 15, 2003: 131 links]
[Update: October 14, 2003: 127 links]
[October 13, 2003: 117 links]
Below there are list of tutorials, tips and articles (In English, French and Dutch) on Flash MX 2004 and ActionScript 2.0 that I have begun to put together. I figured that it might be useful for the Flash Community, so here it is, a centralized and selected source since the release of Flash MX 2004 a month ago. Enjoy the series.

Continue reading "Flash MX 2004 and ActionScript 2.0 Tutorials: The Definitive List (First Edition)" »

November 16, 2003

Matrix Revolutions: Why The Oracle should use Shared Objects instead of Cookies [Links on Shared Objects]

Super Cookies Oracle, Super Cookies!! I know that this post can be a heart-broken post for Neo and Morpheus, but someone must tell the truth: The Oracle risked too much with the grandma-hot-cookies style. Oracle: when you have objects that are persistent and you need real-time data sharing between them, you need Shared Objects. Here one of your BIG mistakes:

When the multiple Smiths entered in your kitchen, only one of them had a shadow!!!.

This little thing could have changed everything!! I mean, this was a very important information for Neo, Morpheus and company!! And Trinity...

My two cents: some links about shared objects:
Ultrashock Tutorial: Using SharedObjects by Gregory Burch
Vera Fleischer: Shared local objects
Macromedia: What is a local Shared Object? Forum: SharedObject -how do I access it from another movie? tutorial: SharedObjects
MM ActionScript Dictionary: SharedObject (object)
MM Flash Player >> Local info: Local Storage Settings
Jonas Galvez: Copying objects using local SharedObjects SharedObjects & FlashRemoting
MM FlashCom Technotes: Troubleshoting Communications Applications
FlashCoders thread On: sharedObject
Flashcoders thread On: Change shared object settings
FlashComm thread On: Passing XML data to SO's Delete a SharedObject tutorial: Shared Objects: Flash MX Cookies
Alexis Isaac on: .sol Editor (local shared object) editor
MM SharedObject class
Using local connection objects in Macromedia Flash MX

For people wotking with Macromedia Central this links could be useful because for Central we use normal coding techniques for creating local shared objects. Just one thing: "To ensure that your objects have unique names, it is recommended that you include your application's unique application ID in the name of the local shared object"*. Using the onActivate() handler a new local shared object in Central could be:

function onActivate(shell, id, shellID, baseTabIndex, initialData)
theName = "sharedObj"+=id
so = SharedObject.getLocal(theName)

* Read the Central documentation >> chapter 3: Building a Central Application >> page 51

[Update November 18, 2003] SOLReader (a shared object reader)

December 4, 2003

22 Macromedia Breeze presentations and interactive tours

[Note: For some of this links, high bandwidth connection is recommended]

Featuring: Flash MX 2004, Flash MX Professional 2004, Data Integration (Flash), ActionScript 2.0, Screens (Flash), Components (Flash), Video (Flash), Macromedia central, Macromedia Flex, Business Impact of RIA, Studio MX 2004, Dreamweaver MX 2004, Fireworks MX 2004, Macromedia Breeze, Director MX, Authorware 7, Freehand MX and Macromedia DevNet Professional.

Flash MX 2004:
What's new in Flash MX 2004? Take our in-depth feature tour (15 min)

How do I use Flash MX 2004? View a free online seminar (50 min)

How do I use Flash MX Professional 2004? View a free online seminar

Data Integration (10 minutes)
"Get started working with data in Flash MX 2004. Learn about using the new data components to connect to data sources. Use data binding between components to populate interface elements throughout your applications with appropriate data."

ActionScript 2.0 (10 minutes)
"ActionScript, the coding language for Flash, has become fully object-oriented in Flash MX 2004. Learn the structure of the language; you'll find it familiar if you have experience with other object-oriented coding languages, like JavaScript."

Screens (10 minutes)
"Use screens to plan, organize, and build applications visually. Screens give you a quick way to develop navigation, place application elements, and plan how the different parts of an application will work together. "

Components (10 minutes)
"With the addition of data and media components, you can build more in less time in Flash MX Professional 2004. Learn about using components, working with the new v2 component architecture, and building components."

Video (10 minutes)
"The new Flash video (FLV) format and Flash Player provide faster performance and better quality. Find out how to use FLV files and how to control their playback with the new media components in Flash MX Professional 2004. "

Macromedia Central:
Macromedia Central Features Overview by Kevin Lynch (Macromedia Chief Software Architect)
"A Renaissance in Application Design, Development and Delivery"

Macromedia Flex:
Macromedia Flex overview
"Presenting Flex. Join Libby Freligh, Flex Product Manager, for an overview and demo of Flex."

The Business Impact of Rich Applications

Studio MX 2004
What's new in Studio MX 2004? Take our in-depth feature tour (6 min)
How do I use Studio MX 2004? View a free online seminar (25 min)

Dreamweaver MX 2004:
What's new in Dreamweaver MX 2004?Take our in-depth feature tour (5 min)
How do I use Dreamweaver MX 2004? View a free online seminar (15 min)

Fireworks MX 2004:
What's new in Fireworks MX 2004? Take our in-depth feature tour (10 min)
How do I use Fireworks MX 2004? View a free online seminar (20 min)

Macromedia Breeze:
Macromedia Breeze Overview and Demo

Director MX
See interactive tour

Authorware 7:
See Aurhorware 7 in action
"Take a five minute tour to see how you can easily develop accessible rich-media e-learning applications with the new features in Authorware 7. "

Freehand MX
Five Minute Tour
"No other design tool has the unique features of FreeHand MX. Take this five-minute tour to see why."

Macromedia DevNet Professional:
Overview Presentation
"Want to learn more about DevNet Professional? Sit back and listen to our hosted overview presentation."

With this post I'm launching a new category in my blog called Macromedia Breeze Presentations. This new category list some Breeze presentations that I have begun to put together. I figured that it might be useful for the community. Like my Flash MX 2004 and ActionScript 2.0 Tutorials: The Definitive List, here it is another centralized and selected source for you.
In this listing, there are Macromedia Breeze presentations, interactive tours and Macromedia On Demand seminars.
Enjoy it!

January 8, 2004

Content syndication (RSS Feed and JavaScript) for: Flash MX 2004 and ActionScript 2.0 Tutorials: The Definitive List!!!

I'm very pleased to announce that content syndication (RSS 2.0, RSS 0.91 and JavaScript) for "Flash MX 2004 and ActionScript 2.0 Tutorials: The Definitive List" is available!

You can add these feeds to your aggregators or display the contents of The Definitive List in your blog, website or application. You can also customize your own feeds: just send me a private message via the board.
Select your favorites lists-forums! You can display the contents in your blog, website or application and offer to your readers your "Definitive RSS Feed List" and "Definitive JavaScript Content Display List". If you have a list-forum, customize your own RSS feed and JavaScript!

The links for the Full Blend (Full blend: last 99 topics. Important note: Currently there are at least 415 tutorials, tips and articles listed!! So you might to browse the Definitive List via the search feature, don't miss anything!):
RSS 2.0
RSS 0.91

Check The Hall of Justhese, category aggregators, to see the RSS feeds (2.0 - 0.91) in action.
For the JavaScript syndication, check it out here the JavaScript Full Blend (cool isn't? Imagine your blog or website displaying the full blend like that or just your forum-list favorite!!!):
JavaScript Display - Full Blend - Last 99

February 3, 2004

New DevNet articles and tutorials - Feb. 02 -

First in my listing, Central! The Central Developer Center is plenty of goodness! Geoffrey Williams strikes again. He's being bussy. Yesterday, Geoffrey released AS2 classes for Central (via Jesse Warden). Now a great article on Creating Offline Web Applications in Macromedia Central!
"This article explains how Central can help you create applications that work in both offline and online environments. I will discuss some of the key elements in creating Central applications. In the last half of the article, I will explain how you can build a simple Central application that uses its caching capabilities for offline environments."
Table of Contents:
  1. Introduction
  2. How Central Uses Connection Awareness
  3. Caching Files and Data on the Client Machine
  4. Building a Central Application
  5. Implementing Network Status
  6. Adding Functionality with Application Controls
  7. Final Initiation
  8. Testing Your Central Application
Mobile and Devices Developer Center article by Bill Perry
Creating Apps with Standalone Flash Player for Pocket PC

Director Article by Marty Plumbo
Using Multiple Cameras in Shockwave 3D Worlds

ColdFusion Article by Tyson Vanek
Caching ColdFusion Queries

Dreamweaver Article by Greg Rewis
Why Use CSS?

and... surprise, surprise... New Flash Player Developer Center!!! Read my next post.

February 12, 2004

The Data Connection Wizard and The Wonderful City of Oz

"Even with eyes protected by the green spectacles, Dorothy and her friends were at first dazzled by the brilliancy of the wonderful City. The streets were lined with beautiful houses all built of green marble and studded everywhere with sparkling emeralds. They walked over a pavement of the same green marble, and where the blocks were joined together were rows of emeralds, set closely, and glittering in the brightness of the sun. The window panes were of green glass; even the sky above the City had a green tint, and the rays of the sun were green."
L Frank Baum, The Wonderful Wizard of Oz, Chapter 11 - The Wonderful City of Oz

Continue reading "The Data Connection Wizard and The Wonderful City of Oz" »

August 24, 2004

Design patterns: Francis Bourre on 'Command pattern'

After Singleton, Abstract in AS2 and Abstract factory, Francis give us a nice explanation of Command pattern with examples and downloads. To come: an interesting trip trough the Observer model and AS2 events avoiding EventDispatcher. There is also an interesting discussion about MacroCommand in the comments section. Is in French, so hands to the translators but don't translate the code ;)

October 18, 2005

Francis Bourre on ColorMatrixFilter

Nice article of Francis Bourre on ColorMatrixFilter . Sweet !

October 2, 2006

Understanding Classpaths, Step beyond the built-in toolset:

"All objects in recent versions of ActionScript are defined by something called classes. Think of classes as blueprints that determine the unique combination of characteristics, actions, and reactions that comprises a particular object of a certain type. By "object," we are talking about the familiar things a Flash developer deals with every day: movie clips (the MovieClip class), text fields (the TextField class), buttons, sounds, math functions, components, you name it. They are all defined by classes."
Read more here.

About Class

This page contains an archive of all entries posted to Actionscript Hero in the Class category. They are listed from oldest to newest.

Best Practices is the previous category.

Components is the next category.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33