You can only create text based files (.txt, .xml, etc..).
mdm.FileSystem.saveFile("myText.txt", "some text to put in file");

If you want to create a specific file type (e.g. fla) you could include an 
empty fla with the project and make a copy of it when 
needed ;-)

regards,
Muzak

----- Original Message ----- 
From: "Ned Perry" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 23, 2007 5:12 PM
Subject: [Flashcoders] MDM Zinc v2.5 Trial _ Writing files to hard drive


> Hi
>
> I need to make a Projector that writes files to the hard-drive. All the
> content elements are going to be Flash and  I was hoping to use Zinc as
> a wrapper that could handle the file system elements. But I can't find
> any command to create a file. Does anyone know if there is one?
> There seems to be loads of stuff to copy and move files etc but not to
> make one.
> If there isn't can anyone recommend an alternative to Zinc other than
> Director.
>
> Cheers
>
> Ned
>


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to