Archive for December, 2008

Flex-Mojos keepAs3Metadatas Option to Apply keep-as3-metadata Compiler Option

If you use the flex-mojos plugin to compile flex code in a maven project, you might have the need to apply the -compiler.keep-as3-metadata option to the compiler, like I did. The documentation for compile-swf mojo says to put something like the following, into the configuration element: but that failed horribly. It seems like maven tries [...]

December 29, 2008 · polesen · One Comment
Tags: ,  Â· Posted in: Rich Internet Applications

Docked ApplicationControlBar Is Not In Children List

Here is a funny thing about how ApplicationControlBar acts differently as a child when docked and not docked. I had to write some code that traverse the complete tree of components in a flex application, and that was when I first discovered about rawChildren lists. It turns out, that not all components are added as [...]

December 29, 2008 · polesen · No Comments
Tags:  Â· Posted in: Programming, Rich Internet Applications

Resizing Flex Dialog to Flash Dimensions

Not long ago, we had created a flex dialog with fixed width and height, which gave users with less screen resolution a real problem. The dialog was opening with the titlebar and close buttons outside the screen. Hence, the dialog couldn’t be closed and it couldn’t be moved. Here is how to make the dialog [...]

December 1, 2008 · polesen · 2 Comments
Tags: ,  Â· Posted in: Programming, Rich Internet Applications