« Why AIR? | Main | Mashup = Yahoo! Live + Yahoo! Maps + Yahoo! Pipes »

February 20, 2008

Flashlite: you can't set standard HTTP headers?

It seems you can't set most of the standard http headers in Adobe Flashlite, you can set some custom headers. Ok, it's just like Adobe Flash player security sandbox, but why?

Most of the flashlite applications run in standalone player, not in browser on devices. How I am going to take care of http authentication or similar things. There is no support for more http methods, like head or conditional get requests which make more sense in case of mobile application which run under limited data plan or there is no broadband like stuff for most of users.

I wrote a proof of concept twitter application that runs on flashlite. I want to update it to be like other available apps. I am stuck because Flashlite 3.0 doesn't let you set Authorization header, whereas, Flashlite 2.0 allows that. There are more issues, like you can't set http headers in GET request.

Most of these issues also exist in Adobe Flash player, some are security restrictions which make sense for web applications but don't make sense for mobile applications, as mentioned earlier.

It seems Adobe doesn't get enough feedback in pre-release cycles or doesn't consider for various reasons. Get me on pre-release cycle :-)

Adobe Flashlite rocks, but it has to go a long way, in order to compete with other technologies. It's not always about video, vector drawing, eye candies, standalone games, great visual design, xml parsing or sockets; application development requires more.

---posted via mobile---

Posted by Abdul Qabiz at February 20, 2008 03:36 AM

Comments

I have come across this exact same issue.

Working with Flash Lite 3 Standalone and a RoR backend, authentication was pretty much impossible because I could not reliably set authentication headers on a get request(but I could on a POST),very strange. The backend is dependent on set a cookie, and because of this problem, it never gets submitted back on subsequent requests. This has been a huge headache for me, and I have already mentioned it to the Flash Lite team.

Posted by: Tony MacDonell at February 20, 2008 04:31 AM

@Tony i know what you mean. It's frustrating. I faced it with Flash player, thats wher as3httpclient was born.
But its same with flashlite.
Twitter app, i wrote for flashlite 2.0, crashes in flashlite 3.0. I just run the same swf :-)

-abdul

Posted by: Abdul Qabiz at February 20, 2008 04:54 AM

Hi Abdul,

I am Akbar from Adobe Chennai ColdFusion User Group. We are launching the FLEX 3/ AIR Event at Chennai on 1st March and we are looking for Speaker to give Presentation on Flex and AIR. I am looking forward for your help on this to present about Flex and AIR in the meeting.Kindly let me know about your availability on March 1. We are looking forward for your positive response.

Thanks,
Akbar

Posted by: Akbar at February 21, 2008 01:56 PM

Post a comment




Remember Me?


Please enter the security code you see here

(you may use HTML tags for style)