July 11th, 2008 ~ Trackback

How to build a shared fridge magnets application in red5 by Cary Dunn



Red5 New Application Structure Rundown

Creating a new Red5 application is simple. We just create a new folder in webapps/.

We will create an app called elcMagnets so we create a directory for it and now have webapps/elcMagnets. Red5 expects us to also have a directory inside our new application named WEB-INF/ so we create that as well, and now have webapps/elcMagnets/WEB-INF.

There are 4 default configuration files in doc/templates/myapp/WEB-INF that we will modify and use in our app, so we can copy those over to our elcMagnets directory. (log4j.properties, red5-web.properties, red5-web.xml, web.xml)

You can read up about all the properties and handlers specified in these files here.

For now, we only want to customize these files for our current app. We need to change the webapp.contextPath specified in red5-web.properties to reflect our newly created app. Take note of the virtualHosts parameter and remember to deal with it on deployment to a remote host.

You can download all the files here.

Categories: AS3, Red5, Tutorials ~

2 Responses to “Red5, AS3, FC4, Shared Fridge Magnets Tutorial”

  1. 1
    Kyle

    hahah, wow the fridge app is really funny,

    so simple but really cool,

    I love how you can launch another window and play with yourself!

  2. 2
    webmaster

    so much better than all the chat samples ;) shows real creativity! Hopefully it will inspire!

Leave a Reply