Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-09-2004, 11:33 PM   #1
Registered User
yuan's Avatar
Join Date: Nov 2002
Posts: 141
Default Cannot upload file??

HTML Code:
function browseFile() {      

function submitFile() {
<body bgcolor="#ffffff">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550" height="400" id="upload" align="middle">
  <param name="allowScriptAccess" value="sameDomain" />
  <param name="movie" value="upload.swf" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="#ffffff" />
  <embed src="upload.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="upload" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<div id="browser" style="position:absolute; width:100px; height:10px; z-index:15; left: 0px; top: 0px; visibility:hidden;">
  <form name="uploader" method="POST" enctype="multipart/file-data">
    <input id="file" name="filename" type="file" size="1" onChange="upload.SetVariable('filename.text', this.value)">    

function submitFile() {
document.uploader.submit(); //why can't pass through my action file??
yuan is offline   Reply With Quote
Old 08-09-2004, 11:41 PM   #2
Super Moderator
CyanBlue's Avatar
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666

Moved to HTML and JavaScript forum...
Please post to the appropriate forum...
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 09:04 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.