Notice: Array to string conversion in /var/www/wiki.sourcebinder.org/includes/Setup.php on line 304

Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /var/www/wiki.sourcebinder.org/includes/StubObject.php on line 58
Exporting a composition to SWF and FLA - SourceBinder Wiki

Exporting a composition to SWF and FLA

From SourceBinder Wiki

Jump to: navigation, search

This tutorial shows you how to export your composition into a SWF.

Let's say, you've created a composition that shows a little gallery.

Here you can find this composition

comp.jpg


Exporting

When you're ready with the composition, select the File/Export Composition

export.jpg


then you have to give a valid class name which basically means that you can't use space and other funky characters like $ or # signs. English characters are OK.

In this case, you'd use like Gallery

exportwindow.jpg


Let's click on the Export button.

After that, you get a download button, click on it to download the ZIP file, which has the same name as you gave as class name.

download.jpg


Result

In the ZIP you have three kinds of files

  • resources such as images, videos, music that the composition uses
  • index.html and bin.swf which are basically the composition
  • "class name".fla, you can use this file in other flash projects


zip.jpg


You can embed the SWF and HTML into blogs or websites. There is only one notice, if you use resources like images, etc. you have to embed/copy them as well.

In this case, you have to copy the images as well.

Important notes

  • Currently, you can't export compositions that uses remote data sources, like Twitter API or GetImageFromURL
  • If you use shader nodes you need to set the resulting swf trusted in order to work on a local machine (online it will work properly)
  • You need Flash 10 or better to run the SWF
  • You need Flash CS4 to open the FLA
Personal tools