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.
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 https://www.helpqlodhelp.com/stuff/loaderclass/loaderclass1.01.zip or at the left hand side of https://www.helpqlodhelp.com/blog
Please donate to this guys if you find useful their work.
[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!
+ 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 for using Macromedia Flash MX to build Rich Internet Applications by Jason Hatcher from Macromedia.
And please, don't _root anymore.
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!
* Read the Central documentation >> chapter 3: Building a Central Application >> page 51
[Update November 18, 2003]
Sephirot.it: SOLReader (a shared object reader)
"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."Mobile and Devices Developer Center article by Bill Perry
Table of Contents:
- How Central Uses Connection Awareness
- Caching Files and Data on the Client Machine
- Building a Central Application
- Implementing Network Status
- Adding Functionality with Application Controls
- Final Initiation
- Testing Your Central Application
"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
Nice article of Francis Bourre on ColorMatrixFilter . Sweet !
"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.