I was just looking back on one of the projects I did last year.
Xite.nl is a music-website, full of streaming videoclips.
I was asked to build the videoplayer and videobrowser.
This was my first project that used Zend_AMF instead of AMFPHP,
and also the first time I worked with the Zend-framework.
Go take a look Here:
http://www.xite.nl/
Getting everything nicely readable in perspective view was the main problem.
It’s a dutch website built around a poetry art-project.
Here’s my latest Arduino Experiment.
It’s an arduino decimila board with a special shield designed by my friend Ivo Noorhoff.
The shield replaces the remote control for one or more Philips Living Color Lamps.
in this Example I’m taking the center 80×60 pixel of a webcam image an getting the average color.
I’m sending this color (if changed from the last sample) once every second to a wowza-media server app on my server that has the arduino board attached. (the server is close enough to a living colors lamp !!)
[ Now all it needs is some proper error handling.. ]
Et voila! Remote Controled Ambient lighting.
I’ll try to get a video up soon.
Had some fun with my arduino decimilia, a Devantech cmp03 compass Module and google streetview.
I used the FirmataI2C library from funnel and wrote a simple as3 class to get my cmp03 working.
Then hooked it up to the google streetview api example via ExternalInterface, and had the compass heading set the yaw of the streetview.
Useful? not really
Fun? YEP!
Running your own server and doing socket connections in flash?
Then you need a flash-policy server.
I tried the one on adobe devnet but it seems to require python 2.5
I found this one that runs fine on centos 5.2
Just a random thought
I wonder if Hydra (coming in Flash Player 10) could also enable us to do some computervision stuff.
For instance get multiple rectangles that enclose colored pixels, so we can isolate color regions.
I already have some nice experiments in mind
[UPDATE]
Ok, so it really is a bug, Thnx Matt for the comment with the link:
“you need to pass a value of “-1″ to the getMicrophone() call to get the one you’ve chosen”
—-
Seems like there’s a bug in the As3 (or flash player 9) in the Microphone class.
I’m not able to switch between Audio-input devices using the Settings panel.
And Microphone.getMicrophone() always seems to get the First Audio-device,
and not the device the user has selected in the settings panel.
Try this:
do a Microphone.getMicrophone();
bring up the settings panel (through rightclick or code: Security.showSettings(SecurityPanel.MICROPHONE); )
switch audio-device.
Now, for me it’s still using the firts audio device, and NOT the one I just selected.
Can anyone confirm?
I’m using the latest Player. 9,0,64,0
I wrote a piece of AS3 code that takes a base64 Encoded image from a piece of xml (jabber vcard stanza) and puts it on the stage.Because the mx.utils.Base64Encoder package is still undocumented (or not implemented yet ?) I used one I found at http://blog.jasonnussbaum.com/
I’m also still figuring out the whole E4X so I cheated a bit and removed the namespace xmlns=”vcard-temp” from the vCard tag.
[ Update: namespace� now works, so the cheat is gone.]
Basically you decode the Base64 Encoded String and copy it into a byteArray.
I use a loop to go through every char of the string en use writeByte to add it to the ByteArray, but maybe there’s a better/easier way.
You then use a Loader object to load in the byteArray you just created. Because the Loader object inherits from flash.display.DisplayObject you add it straight to the Stage using addChild.
Download example (includes Base64 class)