I think you can use flash in combination with mendix. But what do you mean with "when styling" ?
Though just a word of caution, Flash has had End-of-Life as of the end of 2020. You may want to look for a solution that is still supported. ( https://www.adobe.com/products/flashplayer/end-of-life.html )