Friday, January 16, 2009

Random Number Function

comment posted By Till Schneidereit on Digital Primates


function randRange3 (start:Number, end:Number) : Number
{
return Math.floor(start +(Math.random() * (end - start)));
}

Wednesday, January 7, 2009

New Flex Site



http://www.aircompinc.com/aircompinc.html

This one has some nice page transitions.

Flex Date Formatting

There are lots of different ways to format Dates in Flex.




or you can format on the fly.
In this example I am pulling the data in a RemoteObject and outputting to a TileList/ItemRenderer/Component text field.