blog
2009 December Archive at Jozef Chúťka's blog
December 16, 2009
DisplayObject Graphics hitTestPoint RayMath
RayMath class
While working on newest project I created a simple util class that simulates rays of spot light. It uses DisplayObject hitTestPoint() method to test for ray stream collisions so it does not go beyond the obstacles (corners etc.). Feel free to use RayMath class as you wish
December 8, 2009
Facebook facebook api FacebookEvent FacebookLogger FacebookLoggerEvent FacebookSessionUtil LoaderInfo
FacebookLogger

In a last couple of weeks I have been working on a lot of facebook applications. It did not took long to realize that there is always the same logic behind logging/connecting to facebook. So I came to FacebookLogger abstraction class that handles these basic steps. It only contains login/connection logic, so its pretty much the core that is usable only after extending.
December 4, 2009
Charts Flex interpolateValues LineChart LineSeries Stroke
Flex Charts – interpolating values in Series

Recently, I felt into problem with chart when using interpolateValues parameter set to true. You expect it to work as described in Language Reference. And guess what, it works 🙂 , but make sure you provide correct numeric values (not strings – those were problematic in my case). Parameter interpolateValues is able to draw a continuous line by interpolating the missing value. Missing values means null (v1 in example) or when key is omited (v2).
If you want to use Charts in Flex, download data visualization components for your flex builder and copy content into sdk directory.