A quick and easy way of setting the runtime properties outside of the IDE. Place this before your Class deceleration but AFTER the package bracket.[SWF(backgroundColor="#000000", frameRate="25", width="1024", height="768")]
Don’t panic! It’s easy to solve. You’re running your SWF in a Flash Player version lower than the one you compiled it in. For me I compiled it as a FP10 SWF but my version of Eclipse ran by default in FP9 and that’s the error it spat out. If you are using Eclipse/FDT/Flash Builder then :
- Window -> Preferences
- FDT -> Tools -> Flash
- Change the Flash Player path to point to Flash Player 10.
That’s it. Problem solved.