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

0 TrackBacks

Listed below are links to blogs that reference this entry: AIR Beta 2 browseForOpen not firing Event.SELECT.

TrackBack URL for this entry: http://www.wezside.co.za/cgi-bin/mt/mt-tb.cgi/15

Leave a comment


Type the characters you see in the picture above.