Posts Tagged ‘flex’

Flex textarea stylesheet problems

Tuesday, 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.
chat_style_good

Now clicking into the textarea – e.g. drag the slider or the select something… nothing is changing.
chat_style_bad
After inserting the next message, the font has broken down. Damn stylesheets.

Now here’s the workaround: …
(more…)

Flex DateTimeField and DateTimeChooser

Sunday, 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


mb

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!