Month: April 2011

  • Uploading multiple images/data to server!

    Oh man what a life saver this was! Super easy to implement and works awesomely so far! Multipart form data in as3 [Class version 1.2] Implementing is as easy as this: jpgEncoder = new JPGEncoder( 100 ) var photo:ByteArray = jpgEncoder.encode( this.getBitmapData( photoBitmap) ); var thumbnail:ByteArray = jpgEncoder.encode( this.getBitmapData(thumbnailBitmap) ); var ml:MultipartURLLoader = new MultipartURLLoader(); […]