Flash 10 Woes
Posted: 2008-11-19 00:00:00

Ah Adobe, you just love to update flash and break code. Flash 10 created a couple of annoyances that broke in production code.

First off was the user action security requirement for things like copying to the clipboard or for initiating a file download. Those were things used in a few apps, all which now have an annoying alert box saying "Your file is ready to download, do you wish to continue? Yes/No".

The second one is, well, just a flat out bug of Adobe flash/flex lists and trees. Any list control doesn't horizontally scroll. Yep, that's right: if your text in the list or tree is longer than the horizontal size of the control, the text will be cut off. So, a long time ago I found a piece of code that showed how to override the list control to put in a real auto scroll policy for the horizontal scrollbar. However, this code also made a reference to an mx_internal-ly scoped variable that was changed in flash 10.

After testing and making a couple of changes in a few projects, all of the flash 10 issues were resolved. At least they were easy fixes.

Back to the main page