|
Home
Workshop-Seite
Deutsche
Version
download
demo movie
published in Screen Business
Online
|
This trick only works with Director 8, NOT with Director 8.5, MX, ...
The
following technique uses undocumented features of Director. So it
is not a recommended use of Director ;-) BUT the below script shows
very clear that there are real treasures to find once you get into
the exploration of all those Macromedia Xtras that come with the
product.
It
is obviously possible to export JPEGs with only the Xtras Macromedia
puts into the Director package. With the help of all the fellow-developers
that contributed to my initial proposal of this technique (see here),
and some necessary changes for Director 8, it is a reliable technique
that has been used in quite a few professional projects.
In
Director 8 you'll need the following Xtras: Image Translator Helper,
JavaConvert, JPEG Export and Mix Services. Install the Java components
off your Director CD to get all of them. These xtras are NOT shockwave-save,
thus the technique will only work in authoring and projectors. If
you're still using Director 6 or 7: have a look at the old JPEG
export page. You may also use the below
movie and behavior in Director 7.
The
main exporting routine in-nuce looks like this:
-- Movie script
-- Call:
-- converttojpeg("hans", "aDisk:aFolder:aFile.jpg",
75)
-- converttojpeg("hans", "c:\aFolder\aFile.jpg",
75)
on convertToJPEG mymember, myfilepath, myquality
myinst = new(xtra "JavaConvert")
the itemdelimiter = "."
myinst.ExportMedia(item 1 of the movie, mymember, \
myfilepath, 1, myquality, mymember.castlibnum)
myinst = 0
end
details...
|


 |