E
Eric
I have the following code I am calling from a flash file. Everything
works fine except that the string it returns for the file location
does not include the slashes. It is returning
G:SwaneyDownloadsReadme.txt instead of G:\Swaney\Downloads\Readme.txt.
Is it something in my code that is causing this, or how flash is
interpreting the variable?
<!--
function browse()
{
document.forms.upload.file.click()
while(document.forms.upload.file == "")
{
setTimeout(100)
}
idio_controller()
}
function submitIt(){
document.upload.submit()
}
function idio_controller() {
var obj=parent.main.uploadflash;
if (obj) eval('obj.SetVariable("filename",
"'+document.forms.upload.file.value+'")');
}
//-->
works fine except that the string it returns for the file location
does not include the slashes. It is returning
G:SwaneyDownloadsReadme.txt instead of G:\Swaney\Downloads\Readme.txt.
Is it something in my code that is causing this, or how flash is
interpreting the variable?
<!--
function browse()
{
document.forms.upload.file.click()
while(document.forms.upload.file == "")
{
setTimeout(100)
}
idio_controller()
}
function submitIt(){
document.upload.submit()
}
function idio_controller() {
var obj=parent.main.uploadflash;
if (obj) eval('obj.SetVariable("filename",
"'+document.forms.upload.file.value+'")');
}
//-->