Tag Archive for 'bytearray'

16
Nov

Taking screenshots in Flex 3 using the ImageSnapshot.captureImage() method

The following example shows how you can use the static captureImage() method in the mx.graphics.ImageSnapshot class to take a screenshot of an item on the display list, convert it into a ByteArray, and display the ByteArray using a SWFLoader control.

Full code after the jump.

Continue reading ‘Taking screenshots in Flex 3 using the ImageSnapshot.captureImage() method’

16
Aug

Displaying sound data using the SoundMixer.computeSpectrum() method

The following example looks at making a simple spectrum analyzer app using the drawing API and the SoundMixer.computeSpectrum() method. This is basically a revised version of the example I did on my other blog last year, the poorly named “SoundMixer.computeSpectrum()” entry.

I’ve updated the code somewhat to make it a bit prettier. You can find more information on the SoundMixer class and the computeSpectrum() method in the Adobe Flash CS3 documentation “Accessing raw sound data” in the Programming ActionScript 3.0 book.

Continue reading ‘Displaying sound data using the SoundMixer.computeSpectrum() method’




December 2008
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
293031  

Badge Farm

  • Firefox 2
  • Powered by Redoable 1.2
  • Feeds burnt by Feedburner
  • Feed