If you are interested in learning about the Drawing API with the goal of creating something using it, this is the right read for you. Read Tutorial
I recently had the pleasure of spending a full day at a client’s site along with some representatives from Adobe. It was great day for networking, introductions and demonstrations. A number of technologies were shown, from Acrobat 3D to LifeCycle, to InDesign/InCopy and finally Flex with Data Services. This client is already using Flash on [...]
I post a peek review on how coming ESRI ArcGIS Flex API helps on China Earthquake Relief with a demo map application. When I said “peek”, I meant it literally. If you missed it then you have to wait. Before that I gave the new kid on block, Google Map API for Flash, a try. [...]
If you see at that title and know what I am talking about, then you know my pain. Almost 2 days of work down the drain trying to figure out why the project I was working on worked fine in 9.0.115, but not any version earlier than that in Firefox and Safari. Long story short, [...]
This update of the Away3d engine has one overriding purpose - to make things easier to use! The updated livedocs section of the site has been completed for all classes, with a new version available in the trunk of the svn repository, accompanying the source. There is also a new folder for demos that exists as [...]
Today i got an e-mail from Chris Benjaminsen, advising about their Nonoba Multiplayer API. I hadn’t time to deeply research the site nor their API, but from what i’ve read and seen, i think that is the 1st company offering this service for free and it will save lot’s of time to people who wants [...]
I've decided to start a little series of articles on the blog called Core AS3 that will deal with small, simple snippets of code that are very useful but not particularly self-evident. The first article in this series is about modulus... This is handy for a lot of different things, but I'm going to focus on four of them: alternation, frequency, wrapping, and two dimensional data sets.
Hi, Yesterday we have published the 1st of many tutorials on Flash Platform. The first tutorials are being submitted by some people i’ve invited to. Although, as it seems this initiative had a good acceptance, we will be opening the acceptance of tutorials to everyone. Therefore, if you enjoy to write tutorials and help the others [...]
In this tutorial you will go to create an image similar to the final result (above)This process took 3 hours to paint with alot of fine detail work, you will still get the idea. Read Tutorial
In this tutorial you will be creating a smokey night effect on text to give it an eerie supernatural sort of feel. It’s a good exercise in using the Wave distortion filter… Read Tutorial
Here’s and example of our Library & LibraryManager classes that we use in some of our Flex and AS 3.0 projects to manage our external assets stored in SWF’s. The classes enabled you to create multiple libraries of embedded (retaining and giving access to code) or loaded SWF’s. You can create instance of Library wherever you [...]
[10.32] Aral is about to start. My laptop is running out of juice, so we’ll see how far we get.
I’m sitting at the keynote of Multi-Mania. Serge and Jason are talking about the history of Flash. Actually, Serge is talking to the crowd and Jason is adding some sound effects. They are quite a funny duo Serge is talking about The Open Screen Project. Flash Player 10 now. Let’s talk new features: - custom filters [...]
Flexcover 0.50 is now available on Google Code. This version is a lot better than the previous release, which we called “experimental” for a reason! There are two really enormous improvements in Flexcover 0.50: Branch (or path) coverage: the new Flexcover compiler tracks all the conditions in your code that affect control flow, and counts how [...]
Hello from Dreaming in flash’s team We’ve been invited by Carlos to make some tutorials on what we know best, Flash and Flex. This will be the first part of our first tutorial: How to build a contact manager in AIR using XML. For the first part of this tutorial we’ll be reading, parsing and searching an XML [...]
Inspired by Grant Skinners really nice SparkTable tool, i explored the Easing Equations a bit more today and tried to understand what the graphic actually showed. I created a SparkTable-Class based...

Labs is the Big Spaceship dev team's playground, where we share ideas and discuss code. Check out labs.bigspaceship.com for more discussion, as well as some of the tools we've built!
Another cool tutorial, on hon how to create a full moon wallpaper. Read Tutorial
Everything is ready for the kickoff of Multi-Mania 2008. And Koen wrote that the conference is fully booked with more than 1000 regitered users ! This year we have over 30 speakers in 4 simultaneous tracks on topics like design, development, video, audio, 3D and game development and also have 3 workshops on Adobe AIR, Flex, Flash Media Server and Microsoft Silverlight.
A lot of folks ask me how to create a simple preloader using ActionScript 3.0 in Flash CS3, so I thought I'd share the information with everyone all at once. Here's the idea behind creating the simple preloader shown here:
  1. Create necessary variables. You'll need the path to the file you want to load, in the form of a string. You need a URL request to represent the URL of the file, and you'll need an instance of the Loader class to load the file.
  2. Add event listeners to your Loader object's contentLoaderInfo property to listen for the Event.COMPLETE event (for when the file is done loading) and the ProgressEvent.PROGRESS event (to do stuff while the file is loading, or to show a preloader). You can learn more about the contentLoaderInfo property in Flash Help. Basically, it's the property that holds all of the information about the file that's loading, so you need to use it to register event listeners.
  3. Create event listener functions to respond to the events. Don't forget to put the loader on the stage using addChild() once it's loaded.
  4. In the ProgressEvent listener, you can access the loading info via the ProgressEvent's bytesLoaded and bytesTotal properties. Divide bytesLoaded by bytesTotal to calculate the percent that is loaded. The value will be between 0 and 1. Hold it in a variable for easy reference later on.
  5. To get a number that represents the percent loaded that is between 1 and 100, multiply the percent loaded variable by 100 and round the number using Math.ceil (so you don't get zero as a result).
  6. Use your rounded percent to refer to a movie clip frame to show when the file is at a particular percent. For example, once your file is 50% loaded, the preloader movie clip will display frame 50.
That's it! If you're not sure what these steps look like together in a completed file, you can download the source code here. Enjoy!

Note: I do not make any guarantee for these files regarding bugs or implementation in your applications. If you want to contact me to fix bugs or solve problems for your application, have your credit card number ready. =)

Subscribe to Planet Flash

Search

Tags

3d 3d Flash Actionscript actionscript 3 ActionScript 3.0 Adobe Adobe Air Adobe AIR (Apollo) Adobe Flash Adobe Flex AdobeMAX08 AIR AIR Adobe Integrated Runtime Announcements apollo as3 Asides awards BEA Beautiful Web Business Cairngorm ColdFusion Community Components Conferences design dev Development Events Examples Featured Flash Flash CS3 Flash experiments flash player Flex Flex 3 Flex Example FMS Fun Gallery General Google Jobs linux Marketing MAX MAX 2007 Misc News Open Source Other Papervision3D Personal photos Photoshop Process Processing RIA Singularity Stuff techmology Technology Thinking Loud Uncategorized Whatever

Blogs

Buttons

Planetarium