Easy Multipart file uploads / POSTs using URLStream or AS3HttpClientLib

When working on a cross runtime Zinc/AIR method method of posting files to a remote server, I came across Mike Stead's URLFileVariable and URLRequestBuilder classes which makes the process of uploading multiple files (or ByteArray's of data) via an HTTP POST much easier. Click here get his code The basic concept is this: assuming you … Continue reading Easy Multipart file uploads / POSTs using URLStream or AS3HttpClientLib

Advanced HTTP operations in Flex outside of AIR

I am currently pretty deep into a Flex/AS3 RIA desktop app project whereby I have several advanced needs. Such as to download partial files to the desktop (byte-range requests), execute HEAD requests to get remote file sizes, execute multipart POSTs, talk to some REST apis, and finally be able to read any write HTTP headers..... … Continue reading Advanced HTTP operations in Flex outside of AIR

Local IO write performance in Zinc improved

Looks like the folks over at MDM have improved their local IO write support (windows only) with the release of v3.0.10 of MDM Zinc. This is probably due to Adobe AIR and people's complaints about the lack of better support for writing ByteArray data to disk in Zinc. Note that this new feature is only … Continue reading Local IO write performance in Zinc improved

Local disk IO write performance in MDM Zinc

UPDATE: MDM Zinc's recent update of 3.0.10 added a new method for writing binary data from a ByteArray directly (windows only), please read this post for the latest info. NOTE that the below is still relevant for other platforms (Mac/Linux) I have recently been working on local disk IO in MDM Zinc using mdmScript as … Continue reading Local disk IO write performance in MDM Zinc

How to detect if your SWF is executing within the MDM Zinc runtime

Been poking around with writing a runtime abstraction layer for Flex/AS3 apps. This would provide support for writing Flex/AS3 desktop app code once and deploy it as an AIR app or any other swf2exe like product such as Zinc. (or FP on the web, -minus the IO features) So how do you detect which runtime … Continue reading How to detect if your SWF is executing within the MDM Zinc runtime