  | | | Saving out a w3d member (off topic?) | Saving out a w3d member (off topic?) 2003-12-13 - By NoiseCrime
Back -- -- Original Message -- -- From: "Carl Lydon" <sillyp@(protected)>
> Thanks to you all I managed to get my Lightwave-w3d-fixerupper thingy > working.Noisecrime, you used copytoclipboard to output the final w3d > member. Is there a way to use file I/O to output the resultant member?
Sadly not, thats the whole problem with using savefilemode it only works with w3d members in the cast library. Once they there you can't save them back out to a file.
However there is sort of a way to achieve this through an xtra. There is a sample that comes with the director XDK called Draccess. In it there is a function called SaveMedia, which exports the composite data of a cast member. Basically this means the media in DIrectors own internal format. I've tested using the demo file provided and have been succesful in exporting and importing ' Mega W3D's ' so it does work. But like I said you'll need to write an xtra to get this functionialty.
I should point out this does not mean you can export a w3d file to just import into the cast. The file is composite data, so the only way to load it back in is with the ReadMedia function in the xtra.
Alternatively you could try vlist or one of those xtras that can export Director data, they might have the same capabilitity.
> Also, I am using file I/O to allow the user (me) to import the files > one by one. Is there a way in File I/O to batch import a folder? I > realize this is off-topic for this list.
Yes use filextra instead. It should be installed in your xtras folder, or perhaps its in the goodies folder of your Director CD I forget now, but that in conjunction with fileIO can do everything you want. You should find a pdf with the xtra that explains all its features and functions.
BTW I'm missing half of this discussion at the moment, most of the posts aren't getting through to my email, so I'm having to check in the archives. I have a feel this has happened before so I could be missing quite a few emails. Just wanted to give a heads up in case anyone thinks I'm ignoring them, could be I just didn't get the mail.
PS Thanks Darrel for the heads up on the media of an inserted sw3d member being 0. Never knew that.
NoiseCrime 2003 www.noisecrime.com Purveyor of cool Shockwave games, toys and new media content.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|
 |