Hey guys,
I got the gorgeous script and it works,
BUT:
I want to use it, when the upload-script is in another folder.
For example, the including file is in /html/../stuff/
and the TWG - Flash - Uploader is in the subfolder /upload/ (so the absolute path is: /html/../stuff/upload/).
I includet the file like this:
Code:
<script type="text/javascript" src="/upload/swfobject.js"></script>
<div id="flashcontent"><div class="noflash">TWG Flash Uploader requires at least Flash 8.<br>Please update your browser.</div></div>
<script type="text/javascript">
var so = new SWFObject("upload/twg_flash_uploader.swf?lang=de", "mymovie", "500", "340", "8", "#ffffff");
so.write("flashcontent");
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="650" height="340" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="/upload/twg_flash_uploader.swf?lang=de" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="/upload/twg_flash_uploader.swf?lang=de" quality="high" bgcolor="#ffffff" width="650" height="340" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
so far it works, but i get the error-message, that the login failed, OR the konfiguration-file is not reachable.
I changet everything in the config, so that it is working when i to start it form the same folder, ..
made i any mistake, or is it not supportet, to start this script from another folder?
HF, THX Krueger
PS: my english is not verry great, so keep the mistakes you found