27 February 2009

Desktop AIR weather widget

Just wanted to share another great AIR app I'm using all the time. It's desktop widget Stratus, from AccuWeather. Installation file is 1.8 Mb. Just choose your location and you are done. Data are pulled from AccuWeather site and displayed as one day or five days forecast. You can also choose if you want temperature displayed in Celsius or Fahrenheit degrees.

Widget colors are neutral and they can easily blend on any background which is particularly appealing. Widget is free.

Desktop AIR weather widget
.

22 February 2009

Adobe Code Names List

Ever wondered what Gumbo is or Moxie? What do they mean when they say Red Pill? Me too. Here is the list of Adobe Code Names for products like Flex, different versions of PhotoShop and even older Macromedia stuff.

1. Apollo — Adobe Integrated Runtime (AIR)
2. Big Electric Cat — Adobe Photoshop 4.0
3. Blaze — Adobe Flash CS3
4. Brimstone — Adobe Photoshop 2.5 for Windows
5. Dark Matter — Adobe Photoshop CS
6. Diesel — Adobe Flash CS4
7. Fast Eddy — Adobe Photoshop 2.0
8. Houdini — Adobe Acrobat
9. Hydra — Adobe AIF Toolkit
10. K2 — Adobe Indesign
11. Liquid Sky — Adobe Photoshop 7.0
12. Merlin — Adobe Photoshop 2.5 for Mac
13. Moxie — Adobe Flex 3.0
14. Red Pill — Adobe Photoshop CS3
15. Space Monkey — Adobe Photoshop CS2
16. Strange Cargo — Adobe Photoshop 4.0.1
17. Tiger Mountain — Adobe Photoshop 3.0 for Mac
18. Venus in Furs — Adobe Photoshop 6.0
19. Genesis - Enterprise Desktop
20. Gumbo - Flex 4

Macromedia

21. Eight Ball — Macromedia Flash 8
22. Royale — Macromedia Flex 1.0

Familiar with another one? Let me know.

Adobe Flash CS3 easter egg image
image: Flash CS3 easter egg

.

17 February 2009

TimeLoc, must-have Freelancer's tool

Desktop gadget for freelancers, TimeLoc created by Rad3, rich Internet applications development team is AIR (Adobe Integrated Runtime) based app written in Flex Builder. It's purpose is to give freelancers a chance to record accurate time spent on different jobs or projects. One feature is daily or monthly CSV report export capability whether your project is chargeable or not.

Using TimeLoc is easy and straightforward so I'm not gonna type anything about it, but I want to say how this freelancer's tool despite of its small size and limited functions (or maybe just because of them) comes very handy and have easily become one of my must-have freelancers apps.

TimeLoc is helping me do more work. Its pause button allows me to stop recording job time while answering phone or taking quick snack break. Because of this, log is accurate down to the minute and clients get fair price.

favorite freelance tool
.

12 February 2009

Box shared Flash files stats

Free online storage and collaboration web service Box.net has introduced some changes recently. I'm their user and Flanture Flash files are affected. One of changes is e-mail notification system which informs you when someone downloads any of your file from reserved storage.

Take a look at download statistics for some of the files. My custom search array functions are way ahead of other files with over 1160 downloads. That's big number right there, at least for me. Thanks all for downloading and I hope they are useful to you :) Second place is Flash Bookshelf Widget.

Flanture free flash files stats
Not all of Flanture free flash files are hosted with Box. Even in same category, like flash clocks, some are hosted at mediafire and some at 4shared. I decided to combine all Flanture free Flash analog clocks in single zip and upload it to Box.net for easy access. Download them below:


All Flash clocks (43.7 kb).


More free stuff soon. Stay alert.
.

03 February 2009

Robot Robby and his everyday work (AS3)

They say how best practice when learning new language is to write small chunks of code, mini test apps all the time. Since reading about motions in actionscript3 right now, small useless idea came to me and robot Robby was born.

Robby is movie clip that moves around the stage and draws some random lines until reaches his limit or your cpu burns out in flames.

How to create Robby the robot?

He is movie clip, right? So, make one and add linkage class property robot, base class flash.display.MovieClip. To place a robot on the stage and name it use following code:

var robby:MovieClip = new robot();
robby.x = 250;
robby.y = 200;
addChild(robby);

and that's it, the robot is born. But this particular robot (named robby) doesn't do much, so let's make something about it. Robby will draw some lines, he will create some random art. Let's decide what kind of lines are good for robby. Make your taste plays with you here.

var sp:Sprite = new Sprite();
addChild(sp);
var g:Graphics = sp.graphics;
g.lineStyle(2, 0x000099);
g.moveTo(robby.x, robby.y);

Ok, robby is in a posession of one line and now he will get some instructions how to draw and until when.

var angle:Number = 45;
var radians:Number = deg2rad(angle);
var speed:Number = 50;
var xVel:Number = Math.cos(radians) * speed;
var yVel:Number= Math.sin(radians) * speed;
var counter:Number = 0;
var stopCounter:Number = 0;

Everything is obvious here, more or less. Counter tells robby when to start with new line and stopCounter tells him when work is done. Measure is number of frames, not seconds. If you wondered how deg2rad function looks like here it is:

function deg2rad(deg:Number):Number {
return deg * (Math.PI/180)
}

But robby won't start new line only when counter tells him to do so, it will create new line when he found himself out of stage. There is no point to draw lines somewhere we can't see, right? When this happens, robby will be instructed to go back, in the stage center and start all over again, but only after new line properties are calculated, using function with same name:

function calculate():void {
angle = Math.random()*360;
radians = deg2rad(angle);
speed = 50;
xVel = Math.cos(radians) * speed;
yVel= Math.sin(radians) * speed;
}

Only instructions are left and here it is, event listener and it's companion function onLoop:

addEventListener(Event.ENTER_FRAME, onLoop, false, 0, true);

function onLoop(evt:Event):void{
if (stopCounter < 1000) {
if (counter < 20) {
if((robby.x > 500)||(robby.x < 0)) {
robby.x = 250;
robby.y = 200;
}
if((robby.y > 400)||(robby.y < 0)) {
robby.y = 250;
robby.x = 200;
}
robby.x += xVel;
robby.y += yVel;
counter++;
g.lineTo(robby.x, robby.y);
}else{
counter = 0;
calculate();
}
stopCounter++;
}else{
stop();
}
}

Now, programming robby is fun. You can change lines color or robby's speed and even completely randomize it. You can even clone robby and add him different instructions! If you do so, I would really like to know about it.



.

 

template by blogger templates