How to burn SWF to CD / DVD?

I have a movie that consists of a series of SWF files that read XML. Is there a way to burn it to CD / DVD, or at least convert it to a "recordable" format like AVI, MPEG or ISO? Nowadays, in order to burn it, I have to take so many funky screenshots and burn it to DVD that way.

+1


source to share


3 answers


Flash CS3 has a great way to export any SWF (including those using scripts) in a video, but for some reason this is only available when exporting to .mov



Open your animation in Flash, if you don't have a .fla available making a simple wrapper that loads your swf will work too. Then go to File → Export → Export Movie and select Quicktime. Set the different bits to your liking, and then Flash picks your animation as fast as it can, saving both the risk of dropped frames and waiting for a 1 fps capture.

+2


source


What's your goal? Do you just want to run the flash as a demo or do you want it to be interactive so the user can use it as usual on the website?

If you just want this to play, then the method @grapefrukt will probably work just fine. I had some problems making the movie play correctly. The most complete method we have used is to view the file as a movie, as you mentioned.



If you want to make it interactive, you can use a program like Zinc to create cross-platform executable flash file and then burn it and your XML data to a CD as an application. The user will then be able to run the executable and fully interact with your file.

+1


source


If you are targeting disk media, embedding XML in your SWF files can help. Here's an example snippet - this is with JSON data, but XML files will work more or less the same.

package ost.panda.map.core {

/// ...

public dynamic class Signatories extends EventDispatcher {

    [Embed(source='../build/json/local_all.json',
        mimeType='application/octet-stream')]
    public static var rawSignatoryJSON:Class;

    public static function loadAll():void {
        loadFromJSON(JSON.deserialize(String(new rawSignatoryJSON())));
    }
    /// etc ...
}

} /// package

      

... embedding data in SWF prevents Flash Player from taking multiple round trips to disk to read another file, which is important in the case of optical media.

0


source







All Articles