2 Replies Latest reply: Nov 9, 2010 9:32 PM by Petteri_Paananen RSS

    AIR app doesn´t recognize SWF files

    Petteri_Paananen Community Member

      Hi

       

      I have done an AIR app (in Flex). One of the features of it needs external SWF files to be browsed in a text field. Everything has worked very well for couple of years, but now I got a report from a client who uses that app. He says that AIR app doesn´t recognize SWF files anymore. When he clicks browse button, a normal file selection dialog opens but all the SWF files are greyed out.

       

      He send one SWF file to me and it worked well in my computer/AIR app. Anybody have any idea what may cause that? He has used my app a lot, and two weeks ago it worked normally. He uses mac, not sure whis version, quite new I suppose.

        • 1. Re: AIR app doesn´t recognize SWF files
          chris.campbell Employee Hosts

          Hi,

          That's odd that this just started occurring for the customer.  A couple of things come to mind, first, are you using FileFiters when you call browseForOpen()?  If you are, could you try a test where you remove them and then see if the swf's become enabled?  Do the swf files have extensions on the mac?  If not, try adding them and see if that makes a difference. 

           

          If you'd like, I can also give this a try since I have both platforms available to me.  Could you attach or email me (ccampbel@adobe.com) some sample code and a sample swf that would illustrate the problem?

           

          Thanks,

          Chris

          • 2. Re: AIR app doesn´t recognize SWF files
            Petteri_Paananen Community Member

            Thanks for your answer Chris. My problem is that I can´t reproduce that problem. Everything works fine here in my computer, even same SWF files that my client sent me for testing. We also have a lot´s of other users and none of them has complaint so I guess there has to be some problems with my client´s computer...

             

            FileFilters is in use, I´ll try to remove it, thanks for the tip.... If it manage to reproduce and isolate that problem, I might need some further help. I´ll get back to you then. Thanks....=)