Does anyone have any knowledge of how to detect whether or not a simple REST 
call to a server (java/php/etc.) is from the Flash Player (flex app)?

It would appear that "application/x-shockwave-flash" can be detected by the 
server in the HTTP_ACCEPT header as long as the type is defined in the html 
wrapper like this...

<embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
                                width="${width}" height="${height}" 
name="${application}" align="middle"
                                play="true"
                                loop="false"
                                quality="high"
                                allowScriptAccess="sameDomain"
                                type="application/x-shockwave-flash"
                                
pluginspage="http://www.adobe.com/go/getflashplayer";>
                        </embed>



Outside of this methodology, is there another approach or perhaps something the 
flash player sends along with each request?


I saw this reference as well so any additional comments are welcome.

The "HTTP_X_FLASH_VERSION" HTTP field, which returns the players
FLASH version in a server side script, only appears to be available when 
opening a .swf in Internet Explorer.

Nothing is returned for HTTP_X_FLASH_VERSION
when opening the same .swf in Google Chrome
or Firefox 3+. 







Reply via email to