Archive for September, 2008

Red5 and Flex Basics Part 1 – Keep Track Of Users

In this video I am going to show you the basics of starting your first Red5 java application and we will use Flex to talk to the server and the server will keep track of a list of users that are logged in to the application. As soon as a user closes there browser or leaves the applications page the user will be removed from the applications list of users. This is really helpful for building applications where users are interacting with other users. This could be a Chat or Video application or even an online game where users can play against each other.

Before you can start you will need a couple of things installed. Eclipse with Flex Builder plugin, The Java EE development environment, and finally the Red5 Server Plugin for Eclipse. In the video I will explain a little bit about why you need this setup and where to go to get it but I will not cover installation at all.

I hope you guys enjoy and let me know if you have any questions.

Also included is the source files. Red5Tut.zip Red5TutClient.zip

Compiled Red5 App from Tutorial.

Click here to lend your support to: Flash, Flex, and More - Tutorials by Matthew Sloan Wallace and make a donation at www.pledgie.com !

, , ,

26 Comments

Using Flex to call CFC functions and Railo Part2

In this video I will set up a Flex project that will use the Railo 3.0 server and a coldfusion CFC to query a MySQL Database. The result that we get back will be displayed into a Flex List component.
Download my source files here HelloFromRailoQuery.zip

Click here to lend your support to: Flash, Flex, and More - Tutorials by Matthew Sloan Wallace and make a donation at www.pledgie.com !

, , , , , ,

6 Comments

Using Actionscript 3 and Flex Builder to make AMF Remoting calls to Railo CFC’s

I know the ColdFusion community has been paying attention to the open source CFML servers that are either already out in the wild or are going to be released soon. One of the coolest ones that have have gotten to play with is Rail 3.0 Beta, soon to be Rail 3.1 by the end of the year.

Now just for the record I am a very new CFML coder. I mainly work in Flash or Flex all day and don’t really care to much for the backend development at all. One of the best things I learned with in the past 6 months or so was how to use AMF and Remoting with ColdFusion8. The down side to the other CFML server where at the time AMF was an Adobe thing and none of the open source server where able to put it in.

Once Open BlueDragon came out I was excited but the did not have AMF and they are still working on getting it in there in the form of BlazeDS.

Here was my experience with Railo. I went to the site, http://railo.ch/, downloaded 3.0, put it in my home directory, launched the server, created a Flex hello world project, created a CFC, set up the NetConnection to the gateway and “HELLO WORLD” it worked. This was Freaking awesome!

Right now Railo 3.0 is using OpenAMF witch is AMF0. Before the end of the year Railo 3.1 will be out and the team has said that they will be replacing OpenAMF with Adobe’s BlazeDS witch will be AMF3.

In the following video I will show you how simple it is to get set up and running.

Click here to lend your support to: Flash, Flex, and More - Tutorials by Matthew Sloan Wallace and make a donation at www.pledgie.com !

, ,

1 Comment