Re: Flash Errors?

  •  05-31-2012, 11:50 AM

    Re: Flash Errors?

    Hi Yorkey,
     
    Please try the way below, then you will never get the flash error again.
     
    How to disable the flash upload mode by default. Please try the example below. the red code is which use to disable the flash upload mode. 
     
    <%@  language="VBScript" %>
    <!-- #include file="aspuploader/include_aspuploader.asp" -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>example </title>
    </head>
    <body>
        <div>
            <form id="form1">
                <%
    Dim uploader
    Set uploader=new AspUploader
    uploader.MaxSizeKB=10240
    uploader.Name="myuploader"
    uploader.InsertText="Upload File (Max 10M)"
    uploader.MultipleFilesUpload=true
    dim htmlcode
    htmlcode=uploader.GetString()
    htmlcode=Replace(htmlcode,"onload=","AdvancedOptionNoFlash='1' onload=")
                %>
                <%=htmlcode %>
            </form>
        </div>
    </body>
    </html>
     
    Regards,
     
    Ken 
View Complete Thread