Reworked based on the feedback - 2nd. (https://github.com/Moncader/QuickSWF/pull/44).