October 2007 Archives

AIR Beta 2 browseForOpen not firing Event.SELECT

| | Comments (0) | TrackBacks (0)
I was struggling with this for a bit. But luckily there is a quick work around. It seems the scope is lost for the event listener when using flash.system.File browseForOpen(), i.e. your handler will never know when a file is selected. The solution is to move the variable outside of the function - create an instance variable of File.

Read this thread for more info:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=641&threadid=1275

Adobe AIR Beta 2 FLV Player v0.4

| | Comments (0) | TrackBacks (0)
I always thought that the best way to learn is through an actual project. My computer is full of unfinished projects although now and again some evolve into something more meaningful. Now it's time to start filling up that hardrive full of AIR goodness. Enter FLVPlayer.

FP8 Cross-scripting issues

| | Comments (0) | TrackBacks (0)
I never really thought much of cross-scripting. I always knew there were some security involved when loading files from different domains but never really gave it much thought. Until recently when I was stuck between a rock and a hard place, deploying a site and nothing worked. In my own dev environment everything worked fine yet deploying it to the hosting server has the exact opposite effect.

In this article I will try and capture some of my thoughts and experience as I went through the process of getting various sites to work with files hosted on different domains. This article is for Flash Player 8 (FP8) only.