|
SWFGen can substitute strings in the Action
Script, such as the parameters of the GetURL
method or FSCommand command, the parameter of
tellTarget methods, function names, parameter
names, variable names and string values, etc.
SWFGen cannot substitute a string in a button
event.
E.g. The parameters of the getURL method cannot
be changed by SWFGen for the getURL method is
in a button event
on (release) {
getURL("http://www.swfkit.com",
"_blank");
} |
In the following example, the parameters of
the getURL method can be changed by SWFGen.
btn.onPress = function ()
{
getURL("http://www.swfkit.com",
"_blank");
} |
SWFGen can substitute the text, font, color,
offset of text or text field elements, it can
also substitute the variable name of a text
field.
SWFGen can substitute an image in the SWF file
with a jpg, png or gif file. It also supports
transparent png and gif files.
SWFGen can substitute a sound element in the
SWF file exported for Action Script with a mp3
file.
You can use SWFGen to set the main sound stream
of the SWF movie with a mp3 file. If the SWF
movie has already a main sound stream, it will
be replaced. |