SWF Generator ActiveX component (SWFGen) is an ActiveX component that can substitute the elements in a Macromedia© Flash movie (SWF file). It takes a SWF file (Flash 3, 4, 5, MX or MX 2004) as input and generates a new SWF file (Flash MX or Flash MX 2004). You can use it in a C#, VC, VB, Delphi or SWFKit application. You can also use it to generate Flash movies dynamically in an ASP.Net web application.
The elements in a Flash movie (SWF file) can be substituted by it are
- Action Script
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");
}
- Text and Text Field
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.
- Image
SWFGen can substitute an image in the SWF file with a jpg file.
- Sound
SWFGen can substitute a sound element in the SWF file exported for Action Script with a mp3 file.
- Sound Stream
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.
SWFGen Features:
- Fully compatible with Flash 3, 4, 5, MX and MX 2004
- Generates Flash movies from any existent SWF movies, no special templates needed
- Can substitute Action script elements like function name, variable name, string value, etc
- Can substitute Frame labels
- Can substitute go to label action
- Can substitute tell target action
- Can substitute text and text fields
- Can substitute images
- Can substitute sounds and sound stream
- Can substitute the getUrl action or fscommand
- Can substitute clip names
- Can be used in VC, VB, Delphi, C# or any other programming languages support ActiveX components and event handling
- Can be used in ASP.net web applications