Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: check this out! (batch image/sound/text replacement)
From: til
Date: Fri, 7 Jul 2000 13:28:20 +0100

hi,

apparently most of you have never worked with the coolest third-party
(freeware!) flash tool, so here is a little step by step explanation how to
i.e. get the batch image replace done:

get swift-generator from http://www.swift-tools.com

I made a movie which only has 1 frame and placed a bitmap called "demo.gif"
on the stage. Exported it to "demo.swt". (Export as Generator Template)

Open dos command box, run "swiftgen -d demo.swt > demo.sws"

You now have a text-dump of the content of "demo.swt" which looks like this:

demo.sws
-------------
% Script template from Flash file demo.swt

INPUT "demo.swt"

% Output for testing
OUTPUT "export.swf"
% Output for CGI
%OUTPUT -cgi "-"

TTFPATH "C:\WINDOWS\Fonts"

DEFINE IMAGE "demo.jpg" -size 77,83 "new.jpg"
----------

open "demo.sws" in a text editor, replace "new.jpg" with the name of the
image you want to have inserted (or write a script which batch replaces the
OUTPUT parameter and the "new.jpg" filename). save it.

run swiftgen demo.sws
voila. you got "export.swf" and demo.jpg is magically replaced by new.jpg.

This also works for sound and text and the new version of swift generator
can directly connect to a MySQL database to fetch variables. I know. I
sound like a sales representative for swift generator. i am not. This
program is just so damn cool that i can't believe you can use it for free
(if you include his banner on your site).

Thank you Olivier Debon.

The fact that you can replace text in a flash movie you made 2 years ago
(and lost the source movie due to a "forgot to backup" incidence) makes
invaluable alone.

Bye,
Till


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: check this out! (batch image/, Helen Triolo

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]