This post collects 7 tutorials about Flash Player 10 .
1.Cut and edit mp3 files with Flash Player 10
My first test with Flash Player 10 was to convert an AIR project to a browser only version. I choosed RichMP3 as it was the simplest one. I just replaced all File/FileStream instances to the new Filereference and it worked. Ah yeah sure I had to use the dirty hack to load the mp3 from the client (convert to swf > load bytes via loader). All pretty straight forward. Now you can cut the mp3 file see id3 tags and even change them including cover art. You can replace the cover art with a new image Jpeg,Png and save the edited file back to your harddisk. It`s really amazing that you can do this kind of stuff now without a server just on the client:-) The Mp3 reader should handle most of the mp3 files out there but i`ve not tested this a lot so use on your own risk
and let me know if you have problems.
2.Mix .wav files in the browser with FP10
Another old AIR project I`ve converted to FP10 beta. It`s actually quite crazy that these applications are now possible ![]()
You can import wave loops (only tested with 44.100kHz, 16Bit, Mono) - use small loops!. It will internally convert them to SWF files so they can be played. Then it will generate a wave form and you can add multiple tracks, drag`n drop and save the mix to your hard disk - all without server interaction - i love it!
3.Flash Player 10 : rotation (x,y,z) properties example
One of the new ActionScript APIs include in Flash Player 10 are the addition of z based proprties (joining the existing x and y). The DisplayObject.z and DisplayObject.rotationZ properties allow you to manipulate your display object on the z axis (relative to the 3D parent container).
Below is a simple example that shows how changing the rotationX, rotationY and rotationZ properties affect a DisplayObject instance.
The UI is in Flex, but of course, the APIs also work in Flash Authoring. The example requires the Flash Player 10 RC release from labs.
4.Flash Player 10 Dynamic Sound Slider
’ve been playing around lately with the new sound features in Flash Player 10. I decided to combine my throw slider with these features to create the Flash movie below. You can throw the slider to hear the frequencies change. These changes are also reflected in the graphical waveform. I’ve included the source below. You will need to have the Flash Player 10 RC installed to view this.
5.Previewing an image before uploading it using the FileReference class in Flash Player 10
The following example shows how you can browse for an image file from your local file system and preview the image before uploading it to a remote webserver by using the FileReference class’s new load() method in Flash Player 10. Once the user has browsed and selected an image from their local machine, you can call the load() method which dispatches a complete event when the image has successfully loaded, at which point you can display the image using a Flex Image control and setting the Image instance’s source property to the FileReference class’s data property (which is a ByteArray).
6.Saving files locally using the FileReference class’s save() method in Flash Player 10
The following example shows how you can use the FileReference class’s new save() method in Flash Player 10 to save text, XML, and image files to a user’s hard drive.
Full code after the jump.
7.Basic Computer Vision and Flash Player 10
After a bit of a delay, I’m finally beginning to play with Flash Player 10. It was a bit of a false start for me when the betas first hit the streets because tooling options weren’t particularly polished, and I still had Flash Player 9 projects on my to-do list. Another big question was where to start. Like most people I landed on the new 2.5D features, and then tried to add something new using a web camera to control the rotation of a display object.

Recent Comments