Multimania Speaker

mxna

Archive for the 'Fms' Category


Some AIR trouble

Last week we were building an AIR kiosk application. Everything went perfect until we installed the application at the client’s kiosk.

The basic idea of the kiosk is that you can record a video message. We used actionscript 3 connected to flash media server 2 to record the voice and audio. Around this we added some AIR to write the filename and some other details to a local sqllite database.

The problem occurred when we installed the AIR app on a windows computer (it was build on Mac). Sometimes the audio is recorded sometimes not. We weren’t able to figure out what was going wrong. After to much hours we removed the AIR wrapper and rewrote the app to use a local php, mysql server.

In the following week i will extract the problematic code and test it with the new fms3.

Flash Media Server 2 and Actionscript 3 connection problem

When i was using my trusted fms connection code in actionscript 3 a got a strange error: “objectEncoding error”.

After a few minutes of research on google i found the following solution: “NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;”

The reason of the problem is that as3 uses amf3 by default, but fms 2 is still using amf0.

I didn’t had the chance to test it with fms3 (because the download site is down for the moment), but after looking through some blogposts it seems that fms3 will use amf3.