Friends,
i have movie which run ok in simple scripting like this..
<object classid="clsid😃27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="175">
<param name="movie" value="images/loading.swf">
<param name="quality" value="high">
<embed src="images/loading.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="175"></embed></object>
But i need to run this moving during uploading file when i click on upload button .... i am using the file uploding is...
<form enctype="multipart/form-data" action="upload.php" method="POST">
<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="26214400000" />
<!-- Name of input element determines name in $_FILES array -->
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form
and the file upload.php is like this
<?
$uploaddir = '/home/mydomain/public_html/test/';
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
echo '<pre>';
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
echo "File is valid, and was successfully uploaded.\n";
} else {
echo "Possible file upload attack!\n";
}
echo 'Here is some more debugging info:';
print_r($_FILES);
print "</pre>";
?>
file is upload nicely but i want to do when the file uploading start the movie above is run and when upload completed movie stop and it redirect to another page...
So any idea now....????