To use Matador to create content for Flash Player 4, specify Flash Player 4 and ActionScript 1 in the Flash tab of the Publish Settings dialog box (File > Publish Settings).
Flash 4 ActionScript has only one basic primitive data type, which is used for both numeric and string manipulation. When you author a movie for Flash Player 4, you must use the deprecated string operators located in the Deprecated > Operators category in the Actions toolbox.
You can use the following Matador features when you export to the Flash Player 4 file format:
[]
).
)%
), and all methods and properties of the Math object The following language elements are not supported natively by Flash Player 4. Matador exports them as series approximations, which creates results that are less numerically accurate. In addition, because of the inclusion of series approximations in the SWF file, these language elements take up more room in Flash Player 4 SWF files than they do in Flash Player 5 or later SWF files.
for
, while
, do..while
, break
, and continue
actionsprint
and printAsBitmap
actionsswitch
actionThe following ActionScript features can't be used in movies exported to Flash Player 4 file format:
Built-in objects (except Math) | isFinite |
localToGlobal |
parseFloat |
typeof |
Custom functions | isNaN |
Local variables | parseInt |
unescape |
delete |
for..in |
Movie clip methods | _quality |
XML elements |
escape |
globalToLocal |
Multiple data types | return |
_xmouse |
eval with dot syntaxfor example, eval("_root.movieclip.variable") |
hitTest |
new |
targetPath |
_ymouse |
For additional information, see "About targeting older versions of Flash Player.