cleanup

Just walked through all the plugin and theme scripts and cleaned up a lot of duplicate scripts.
I had 2 Jquery scripts , (that killed lightbox).
and 3! swfobject scripts (including a v1)
Rewrote flvembed plugin to use v2.1 instead.
Maybe I’ll start looking for one plugin that can embed all media.

Still working on a spam-problem (eventhough I’m using captcha)

Thoughts about my next experiment, ukulele arduino and merapi

I’m thinking about a new experiment.
Here’s the thing, I love playing Ukulele. Once a Month we organize a playalong.
There are people who never played an instrument before and others that are regulars.
Together with my Friend Marcel, creator of ukulele.nl has made a really nice chordfinder
I will be making a version 2.

Here’s the though: what if ?:
I could build a Ukulele that shows the fingering of the chords ON THE UKULELE!
And even have it sync to the chords shown on screen?

What do you think, wouldn’t this be a cool Merpai/Arduino/Ukulele project?

Merapi now open source, converted arduino experiment

At Flex360 The Merapi-project went open-source.
So I decided to convert the LivingColors Experiment back from a server client model (Wowza + flash client) back to a single machine setup.

So I got an arduino-board and custom shield, a java-application that connects to the serial port on one side and to an Air-app on the other via the Merapi Bridge. The Air app gets an average color from the center of a webcam image and sends it to the java, which in turn sends the number (color) to the serial port. That’s all.

I do need to tweak some stuff, so that there’s less jitter.

[update]
More on the Arduino – Livingcolors shield can be found here : http://static.knutsel.org/kits/CC2500_Arduino_Shield_v03/ (in Dutch).

merapi_webcam_livingcolors

[Javascript required to view Flash movie, please turn it on and refresh this page]

The new arduino Experiment update

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.

Working on new Arduino Experiment

I’m working on a new Arduino experiment.
My friend Ivo Noorhof made a new arduino shield.
I’m hacking together some Flash-Arduino interaction for this shield.
I will “Shed More Light” (wink wink) on the subject soon.

arduino funnel cmp03 Compass FirmataI2C & Google streetview

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.

[Javascript required to view Flash movie, please turn it on and refresh this page]

Useful? not really
Fun? YEP!

Flashpolicyd for Centos

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

http://www.devco.net/pubwiki/FlashPolicyd

Context Menu doesn’t fire events when clicked on Video Object

Try this…

Create a context menu, for instance to go fullscreen.
Make sure it works.

Now add a Video Object, attach a cam (or play  an flv– more work ;-)
and right click on the video object to show the contextmenu…
now select fulscreen…. and nothing happens

I can’t get this to work. It only fails if I rightclick on a videoobject..

Any thoughts?

Flex builder 3 And Path to Main Class

A lot of you may know that it’s nearly impossible to create an Actionscript Project in fexbuilder 3 Where the Main Class is in a subdir of the project dir (so that you can keep the Main Class in the same package as the rest of your files).
Today, at Colin Moock’s AS3fromthegroundup session in Amsterdam, I confirmed that it is in fact possible in 2 ways.

When you start a new project you can do the following:
Before you do “New ActionScript Project” create a folder structure where you will put your project somewhere in your workspace dir create a folder for your project.
I like to add a “src” subdir as a sourcefolder so I can put this folder into subversion.
next create a subdir for your package. So it might look something like this:flexb3_classpaht_1.jpg
Then go to flexbuilder a create a New ActionScript Project:
using the folder we’ve created as the location and click Nextflexb3_classpath_2.jpg
On the next screen make sure you’re pointing to the right source dir (src in my case)
Now comes the tricky part If you try to locate the Main Application file using the Browse button,
you won’t succeed. Just type in the correct path.. so:
mypackage/TestMainclassPath.asflexb3_classpath_3.jpg

The Second way is to create your Project as normal.
Move your Main Class File to the correct (package) dir.
Close Flexbuilder.
Edit the .actionScriptProperties file in the ProjectDir
and set the

tag to the correct location.

Happy Coding,

Ow and Colin.. (and OReilly) thnx for the Prize.

I’m a Doctor Jim, Not an Actionscript3 Programmer..

ComputerVision and Flash10

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 :-)

« Previous Entries Next Entries »