At 21:31 -0500 03/10/2002, " lingo-l-request"@mail4.fcgnetworks.net wrote:

[someone else]

>>Wondering out loud:
>
>>Depending on what he really wants to do, could he write the
>html file with setpref and construct a file:/// URL that
>points to it?
>
>My project, using text_Files as a database, so I think if
>using html file, it's difficult of access.  could you give me
>the methor & any question you want. The problem made me hot
>so I need your cool air. Please!

I don't think that would work, mostly because there's no way to 
reliably predict where the Prefs folder will be on the end user's 
system. Not only is there no way to determine whether it's in (for 
instance) c:\windows\, but there's no way to know what language is 
being used for the system directory, or even if the applet is running 
on a Windows platform. Furthermore a *smart* virus monitor app will 
immediately see what's happening and prevent it. This is a big no-no. 
There are very strong net security measures in place to prevent 
illicit drive access, and it is pointless to attempt to defeat them. 
This is a path which will yield no merit; thus treading it is of no 
value.

The only way to make this happen from within a Shockwave file alone 
is to have the end user download a stub projector program that 
contains the requisite Xtras, which then does a goToNetMovie to get 
this to work. Of course then it's not really a Shockwave file alone 
any more, but at least it's doable. Anything else is going to either:

1. Require the shock app to communicate with a server-side CGI, which 
then constructs pages on demand and opens them in separate browser 
windows; or

2. Require the shock app to load some JavaScript-header'd pages that 
accept parameters along with a goToNetPage call, and which then 
construct key parts of the page before opening them in a window, 
allowing them to be saved locally.

-- 

              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