Posted in | Posted on 03-23-2007 | 3,296 views
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:
1urlReq = new runtime.flash.net.URLRequest("test.mp3");
2sound = new runtime.flash.media.Sound(urlReq);
3sound.play();
2sound = new runtime.flash.media.Sound(urlReq);
3sound.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.


Lo and behold, now I have another way to aggregate you and ben forta's blogs =)
Pretty amazing that it's all HTML and AJAX!