2 Replies Latest reply on Apr 27, 2012 1:23 PM by lvfisher

    Need HTTPService and play video in flex 4.6 Air Mobile App

    lvfisher

      We are porting a flex 3.2 app to mobile app. The 3.2 app uses mx.rpc.http.HTTPService to send XML requests for data and launch video web pages. Will a flex 4.6 Air Mobile app be able to do the same? If so, what replaces mx.rpc.http.HTTPService? I read that mx components will not work in Flex mobile apps.

        • 1. Re: Need HTTPService and play video in flex 4.6 Air Mobile App
          ShardulSingh Level 3

          HI,

           

          Its working fine.And the mxml components which are displayobject should not be used in the mobile application except the chart.

           

          So nothing wrong with using "mx.rpc.http.HTTPService",you can also use  <s:HTTPService/>

           

          Also there is a nice way to see which components should be used or which not for the mobile application.

           

          Simply mouse over on the component when you have used it.You can see a message on that if that is not optimized for the mobile application like for the combobox you can see this message:-

           

          "Adobe discourages using ComboBox when targeting profiles: mobileDevice."

           

          While this is not the case with <s:HTTPService/>.

           

           

           

           

          with Regards,

          Shardul

          1 person found this helpful
          • 2. Re: Need HTTPService and play video in flex 4.6 Air Mobile App
            lvfisher Level 1

            Hi Shardul,

             

            Thank you very much. Got the first draft done, and yes, it seems your advice is correct.

             

            Thank you again.

            lar