Thanks to http://www.zedia.net/actionscript-3-tweens-tutorial/ import fl.transitions.Tween; import fl.transitions.easing.*; var myTweenX:Tween = new Tween(rectangle, “x”, Strong.easeOut, 0, 300, 3, true); var myTweenAlpha:Tween = new Tween(rectangle, “alpha”, Strong.easeOut, 0, 1, 3, true); var myTweenWidth:Tween = new Tween(rectangle, “width”, Strong.easeOut, rectangle.width, rectangle.width + 300, 3, true); var myTweenRotation:Tween = new Tween(rectangle, “rotation”, Strong.easeOut, 0, 90, 3, true);

This is something I have done and forgotten so many times. So lets try add it here as a reminder. To add an image to flash. import flash.display.Loader; import flash.net.URLLoader; myImageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImageLoaderReady); var fileRequest:URLRequest = new URLRequest(“XXX.jpg”); myImageLoader.load(fileRequest); public function onImageLoaderReady(e:Event) {       myContainer.addChild(myImageLoader); } Credits to Kirupa once again, a site with so much…

Read More

Today, I went back to my roots to AutoDesk Maya, actually when I was learning Maya at uni it was still Alias|Wavefront Maya. The image below of the skeleton is something I built for my final year project, Interactive guide to Martial Arts. It was fun working with Maya. I was never great at it,…

Read More

I’ve been listening to the Back to Work Podcast with Merlin Mann and Dan Benjamin for sometime now, always interested to hear how to make more work better and more efficient, there’s so many handy advice in it. Not just on tech but also on being a better person. Highly recommended! but the problem with this show…

Read More

As I’m trying to get my first android app onto the market within 2011 (Leaving me 26 days). I had a problem where my lists were not showing the data. I simply had an array pushing the data to a list. But it will only show when I scroll! not very useful and user-friendly. and after…

Read More

Considering Flash and Flex is closely knitted, why is it so hard for them to talk to one and another. I’ve tried a bunch of different ways to make a flash file show. Settled for SWC and calling by class to begin with, then I realised I couldn’t get it to talk to flex (Problem…

Read More

Mac Vs PC

My baby that is my 17” macbook pro is being pushed to it’s limit lately. For cost reasons I’m considering switching back to PC. Previously a PC user, I’m fairly comfortable with using a Mac these days, but i don’t think it’ll take me too long to switch over… decisions decisions