December 15th, 2009
Recently I had to create an irc chat for flex (Created with as3irclib). Everything worked pretty well, except of these damn stylesheets for textfields.
This is my textarea with a stylesheet, which interprets tags.

Now clicking into the textarea – e.g. drag the slider or the select something… nothing is changing.

After inserting the next message, the font has broken down. Damn stylesheets.
Now here’s the workaround: …
Read the rest of this entry »
Tags: flex, problem, sheet, style, textarea
Posted in flex | 2 Comments »
November 15th, 2009
So, it seems, that there isn’t anywhere in the world wide web and especially in the Adobe Flex components collection, a component which will let you choose the date and time. Horrible!
Here I made two subclasses, which will do that for you. It was nearly impossible to create this, because every function that was needed to override was set by them to private. … and they have this wonderful scrubTimeValue function, which kills your time of the whole date, every time you want to actualize your data.
With lot’s of fudging, finally, there came up a working overwritten class!
Get it here

As you can see in this example, it works properly in Datagrids and keeps the data-binding alive. I hope this class works for you as well as for me!
*** UPDATE ***
Due to some bugs when using this component outside of a datagrid, i recreated this component. So check it out in the example. Everything is working properly!
Tags: chooser, date, field, flex, time
Posted in flex | 18 Comments »
November 7th, 2009
After some studies about the complex numbers, I saw this pretty thing – the only really nice example for an useful complex number usage.
Looks impressive ? For the first moment, … yeah – but isn’t that hard.

#edit:
Yeehar, yesterday Flash Player 10.1 was released – and the performance increase is incredible!! For the step-size 80 I had 12 fps in average with the old one. With the new one i get the nearly full 30 fps in average … and even if i increase the step-size. Good job, Adobe.
#update:
Now there is an better rendering technique included. Now you can type in the calculation rate, instead of ony clicking up and down. Also you can drag the image and zoom in and out by using your mouse wheel! Now it’s a lot of more fun to explore!
Read the rest of this entry »
Tags: flash, haXe, mandelbrot
Posted in haXe | 1 Comment »