Are you testing it locally or on a webserver? If your security settings are set by default, you will get that error when trying to run locally. You need to modify your security settings to allow the executing of local javascript, and change your sandbox with Flash : http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html