At 23:14 -0500 03/07/2002, " lingo-l-request"@mail4.fcgnetworks.net wrote:

>I have got a problem about creating File.
>I want to export a web page in which I must create Files for
>data storing. But if I use Xtra as FileIO, buddy API.. in my
>movie, the Web page will not carry out. I made an attempt at
>using the Lingo's functions as "setPref", "getPref" to
>creating & reading File but it's unable to set the path for
>the File.

That's correct; with setPref you can only save to a pre-determined location.

What you want to do cannot be done in a shockwave context, because 
security concerns are too grave. One cannot simply design a plugin 
which allows files to be written to any random location on a given 
hard drive.

I'd suggest having end users download a stub projector that includes 
those Xtras, and then loads your shockfile via a goToNetMovie call. 
That way you are not dealing with plugin security issues, so you'll 
be able to export web pages.

That's about the only way to get it done, barring CGI programming 
which then places the finished files an an FTP directory someplace 
that users log in to retrieve them from, or that then opens htem in a 
separate browser window for saving by the user. That would be 
(probably) harder to do, of course.

Those are really about it for your options, though.

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to