Psyked *
it’s easy once you know how.ImageSizer updated! (again)
Posted by James - 24/07/09 at 05:07:03 pmIt’s been a while since I’ve posted anything substantial, and in a sense this post isn’t going to buck that trend!
ImageSizer version 0.4.12.4 is available on the AIR Marketplace and via the automatic update framework. Much to my dismay ImageSizer version 0.4.12 went out into the wild with some showstopping bugs, and it’s taken a long time for me to devote enough time to hunting them down and fixing them. Version 0.4.12.4 should finally kill off that bug – namely because I’ve managed to work out what it was. (I’ll get to that in a moment.)
If you’ve tried to use ImageSizer and found that it didn’t work then I apologise, and encourage you to download the latest version of ImageSizer from the AIR Marketplace and give it another shot! I’ve improved my pre-release testing process and am in the process of refactoring the internal code – which should both stop bugs like this from occuring again and also improve the extensibility of ImageSizer and make everything faster and a little more robust!
Continue reading ImageSizer updated! (again)…
How to: Post images to TwitPic with Actionscript
Posted by James - 05/07/09 at 09:07:23 pmUploading images to services like TwitPic is actually as easy as sending a HTTP POST request, which means its also pretty darned simple to upload something from Flash Player 10 or AIR. This is an example for AIR, but doing something similar in Flash Player 10 should also be possible – you just need to swap the references to the File class to FileReference.

So, how do we get our photos on TwitPic? Well, let’s check the API: TwitPic API. According to the API, it’s just a case of posting an image file with additional parameters of username, password and if you like, message. And the upload location is pretty simple too - http://twitpic.com/api/upload or http://twitpic.com/api/uploadAndPost. One for just uploading, and the other for posting things to your twitter feed at the same time.
If you’re posting automatically to twitter, TwitPic will automatically add the url to your image to the start of your tweet.
So, let’s check out some basic code:
Continue reading How to: Post images to TwitPic with Actionscript…



