A new sample ColdFusion / Flex 2 application has been posted to the Macromedia Labs site. FlexMail is an e-mail client written in Flex 2. It displays messages in your POP mailbox, allows you to read them (as well as reply, forward, and delete), and compose new messages. The back-end is a ColdFusion CFC using and . This application demonstrates passing data to and from ColdFusion, the use of states, event dispatching and handling, using local shared objects, and more.
Note: To use this demo you will need to be running ColdFusion MX 7.0.1, have the Flex 2 ColdFusion Adapter installed, and be running Flex Builder 2.

12 thoughts

  1. Been there, discussed that.
    It is not built in PHP. The team needed to get a Wiki up quickly, and the best and most popular Wiki is one written on PHP. Simple as that.

  2. Hey Ben,
    Thanks for the example app. I’m running into an "error" in the alert box when connecting.
    My coldfusion backend is working (tested it using cfinvoke etc). I’m publishing, using the Flex 2 Builder, into a "bin" folder.
    I’ve added this to the coldfusionsamples.xml:
    …. <source>FlexMail.bin.FlexMail</source>
    Can you provide me any inside into my prob ?
    tnx !

  3. Are you sure that the path is correct? With bin in it? What is the exact error you are getting?
    Also, if you run ColdFusion from the command line (using cfstart) you’ll see the message sent back and forth, can be an invaluable debugging tool.

  4. tnx for the cfstart tip, I’ll try that out
    After a server restart, everything worked fine.
    I didn’t get an error, just a dialog with the
    message "error", no details were given.

  5. In case anyone else runs into the following error…
    Error: Couldn’t establish a connection to ‘FlexMail’.
    Don’t forget to add the argument –services=C:CFusionMX7wwwrootWEB-INFflexflex-services.xml to Project > Properties > Flex Compiler > Additional compiler arguments in Flex Builder before compiling the application.

  6. Well, I’m able to run the application, but all I get is a blank grey screen. I have the –services in the properties compiler box. My FlexMail is sitting in C:/CFusionMX7/wwwroot/FlexMail/FlexMail and my <source> in the coldfusionsamples.xml file is FlexMail.FlexMail
    Should I be following the Final steps in the CFAdapter install, because if I am, they’re confusing.

  7. Where I can find the FlexMail source for Flex 2, on Adobe labs, no source available.
    Many Thanks

  8. Hello Ben
    I was wondering if this application is updated yet,
    Many thanks for all your effort
    New Sample ColdFusion/Flex 2 Application – FlexMail

Leave a Reply