August 2007 Archives

Popup Dialogs as Modules

| 12 Comments

Recently, it was pointed out that there were bugs in the PopUpDialogAsModule example. The dialog would not center and was not draggable. The reason was that the thing being popped up was a Module that parented a TitleWindow and not the TitleWindow tiself. After thinking about that for a bit, I decided to create a subclass of TitleWindow that can be a Module's top level MXML tag. The source is available at this link:
Download source

Of course, the usual caveats apply. I could have certainly missed something again.

In theory, any component can be made into a module's top-level tag by adding the [frame] metadata. Hope this helps. I've been seeing this issue a lot recently. Also, sorry for the errors in the older example.

About this Archive

This page is an archive of entries from August 2007 listed from newest to oldest.

July 2007 is the previous archive.

October 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.