While testing scriptUI using flash files in indesign dialogs I experienced a crash. I have been successfully using flash in Indesign dialogs for a while but I can no longer display the dialogs correctly in Indesign CS4 on my mac. The same script shows the flash dialog correctly on the mac in CS5 and correctly on the pc in CS4 and CS5. I've rebuilt my Indesign preferences several times. I completely removed CS4 and reinstalled and flash dialogs still display incorrectly. All other non-flash dialogs still display correctly.
Well the container of the FlashPlayer looks like it's centered and small.
How does your code look? I can't suggest what's wrong without seeing the code...