ActionScript / Flex / AIR sample
|
|
Hey guys, Seeing as there’s no Flex, Flash or AIR examples around that I can see, I thought I’d post some sample code that I’ve whipped up. This connects to, and traces out the name of your project. Just replace username, password and subdomain (obviously). In an AIR application there is no security sandbox, so it works fine – in a Flex application, with Flash Player 9 and above there is a sandbox that prevents the Flash Player from passing header variables without a crossdomain.xml file, so you will be prompted for a username/password login before the results are retrieved. (http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403184&sliceId=2) <?xml version=“1.0” encoding=“utf-8”??> |
