Apollo isn't just Flash/Flex

Want to play with Apollo but don’t want to use/learn Flash or Flex? Check out the demo, Fresh on the Apollo samples page. This thing is amazing. It is a 100% HTML/JS/AJAX Apollo application with not a lick of Flash in it. A very good example of what can be done with the platform. I must find more time to play with Apollo.

One thing I was curious about was how HTML apps in Apollo get access to all the nice things the framework gives us - like file system access. Turns out you can access the API via JavaScript like it was part of the browser itself. As an example (and I’m ripping this right from the pocket guide), this is how you can play an MP3:

urlReq = new runtime.flash.net.URLRequest("test.mp3"); sound = new runtime.flash.media.Sound(urlReq); sound.play();

I think next week I’ll whip up a pure HTML demo. I’ve been thinking of building an application just to interface with CFLib.<p>Download attached file.</p>

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for Extend by Auth0. He focuses on serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA https://www.raymondcamden.com