oh man, you expect me to *think* before replying? jeeze ...the high standards on this list :) uhh...Lewis, how much flexibility do you have on the interface? the only way i know of opening a "file open" dialog box in a browser (even after some looking around) is to use the pre-built html input tag....like so:

<body>
<form onsubmit="sendAway()">
<INPUT TYPE="file" NAME="dialogOpener">
<input type="submit" value="send to shockwave">
</form>

and then the javascript function sendAway() would send the file name to shockwave..which would then use that string to import the file ... convoluted to say the least...if you think you'll use this method, there's a thread in the archives ( http://mail4.fcgnetworks.net/archives/lingo-l/ ) on shockwave/javascript interaction if you need it.

btw - for ie only, it might be possible to do this automagically through a hidden layer of html and a bit of javascript. you can send a message (which can originate in shockwave, but for this example i'm just starting it w/ the "hey" link) through javascript to open this dialog box w/out seeing the html, but not cross browser in anyway...

<script>
function doit() {
document.forms[0][0].click();
}
</script>
<style>
#hiddenForm {
position:absolute;
visibility : hidden;
}
</style>
</head>

<body>
<a href="javascript:doit()">hey</a>

<div id="hiddenForm">
<form onsubmit="checkFile()">
<INPUT TYPE="file" NAME="dialogOpener">
<input type="submit" value="send to shockwave">


</form>
</div>

i pray that someone responds w/ a better way of doing this....perhaps another xtra that i'm not thinking of is shockwave safe?

Evan
-who, today, only has two empty halves of coconut and bangs them together


Carl West wrote:

Evan Adelman wrote:

ahhh - that would make so much more sense. lewis, to get a file open
dialog box i've used the mui xtra, w/ code
something around:

g=new(xtra "mui")
filename = FileOpen(g,"C:\")

Or filextra3
but neither seems to be shockwave-save. And therefor no help here.




--

_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _


m u t a n t
            m e d i a      >     solutions for success


Evan Adelman | 917.916.7378 | 598 Broadway  NY NY 10012
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> | www.mutantmedia.com
<http://www.mutantmedia.com>



[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