Archive for January, 2008

Remoting through Flex with Coldfusion

Tuesday, January 8th, 2008

I’m used to setting the ObjectEncoding to AMF0 when working with Flash Media Server 2, but haven’t realized till now that I also am required to do this when communicating with Coldfusion 8 through remoting:

1
2
3
import flash.net.NetConnection;
import flash.net.ObjectEncoding;
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;

The error “Unknown object type tag (17)” was being generated by CF8 as I attempted to pass an Object in AS3 over remoting to CF8 interpreted as a Structure. Apparently, there is also the need to wrap any such Object within a container Object for it to be properly read by the CFC:

1
2
3
4
var wrapper:Object = new Object();
wrapper.submissionObject = submissionObject;
submissionResponder = new Responder(onSubmissionResult, onSubmissionError);
testConnection.call("some.cfc.Test", submissionResponder, wrapper);

The CFC function expects a Structure named “submissionObject” in this case.

I hope this is helpful for someone- I had a hell of a time digging up this information.

A Prison of Oneself - Now Available!

Monday, January 7th, 2008

Fractured Vision Media is pleased to present A Prison of Oneself, the new collection of recordings from studio recording artist An early morning letter, displaced. The recordings on ‘Prison’ span almost four years of wavering activity and countless personal setbacks.

“A Prison of Oneself” is a dense collection of work recorded over the course of four years. Dark and crushing. Ambient textures interlaced with swelling, almost violent extremes. Edgy soundscapes filled with hope, despair, and a persistent, uneasy current reflective of the mind’s inner hell.

Vacation Tips

Wednesday, January 2nd, 2008

This is probably very obvious to a lot of people… but really the best way to take vacation is to refrain from any work. Just recently getting back from 12 days of Christmas vacation has made me realize this oh-so-startling fact.

It’s very difficult for me to actually put everything down for an extended period of time. Sometimes this is my own fault and other times out of necessity. Unfortunately, I know that 9 times out of 10- the fault lies squarely with me and my work-habits.

Last year while on parental leave, I spent a good amount of time each day working. I would say that, in that instance, necessity did play a role. We were swamped and had a number of looming deadlines. I will state now though, that I fully intend to cut myself off from work, if possible, during all future “vacations” :)