mxmlc: Compile an MXML file to a SWF file

Description Usage Arguments Value Author(s) See Also

Description

This is an R function that allows us to call the installed Flash/Flex/MXML compiler. We can specify various different compiler options, including where to look for ActionScript code and libraries.

compileFlash and mxmlc are just different names for the same function.

Usage

1
2
mxmlc(file, src = RFlashDir, flags = Default.MXMLC.Flags, libs = character(), mxmlc = mxmlcCommand)
compileFlash(file, src = RFlashDir, flags = Default.MXMLC.Flags, libs = character(), mxmlc = mxmlcCommand)

Arguments

file

the name of the file to compile. This should be an .mxml file

src

a character vector giving the names of directories which should be added to where the compiler searches for ActionScript code referenced in the MXML code and scripts.

flags

flags for the Flash compiler

libs

a character vector of directory names specifying where to find already compiled Flash/Flex/ActionScript libraries

mxmlc

the command to invoke the Flash compiler. We try to determine this at installation time when installing the package from source. You can also set the value via an option options(mxmlc = "/path/to/mxmlc").

Value

A character vector giving the output from the compilation.

Author(s)

Duncan Temple Lang

See Also

mxmlDevice flash


duncantl/FlashMXML documentation built on May 15, 2019, 5:26 p.m.