Sharing Ideas And Solutions <a href="index.cfm?fuseaction=idea.newsletter_subscribe">Our Newsletter</a> Downloadable Solutions PHP Classes For Small &amp; Medium Enterprise Free For Non-Profit Organization Customer Feedback Contact Us Featured Web Template View More Templates MasRizal In Numbers * 25 years in business. * 6856 corporations in 67 countries have chosen our products and service. * 73.20% are using more than one solutions from us. - MasRizal &amp; Partners -Enhancing Business With Trust CF_FlashUpload (Evaluation) Custom Tag: CF_FlashUpload (Evaluation version) Version: 1.1(c) 2006, MasRizal &amp; Partners Rizal Firmansyah, rizal.firmansyah@masrizal.comCF_FlashUpload is a quick solution to replace ordinary &lt;input type=&quot;File&quot;&gt;This custom tag also adds below functionalities:1. Filter file that can be uploaded. The filtering is done by file extension.2. Limit maximum size of file that can be uploaded3. Progress bar showing the progress of uploading process. Can &lt;input type=&quot;File&quot;&gt; do above functions? No.Are those functions requested by you and your clients? Yes, they are! Note: The original source code for FlashUpload.swf is not distributed and it's not intended for sale.Contact us if you want to customize this custom tag further. Evaluation version limitation:You're allowed to install this custom tag in your testing environment.Upon uploading files, the custom tag will trigger a window notifying that you're using evaluation version. Features Requirements Usage Application Example <h1> Easy to use! Simple operation for user.</h1>[h1] Just like ordinary file upload field Multi-platform.[/h1][h1] Works on all Macromedia Flash Player 8 supported platform.[/h1][h1] No Java applet to install, no &quot;unknown&quot; ActiveX to install.[/h1][h1] Instead this tag uses a world-leading Flash Player 8 from Macromedia Small footprint.[/h1][h1] Only 36KB.[/h1][h1] Ability to filter allowed files to upload by extensions.[/h1][h1] Ability to limit maximum uploaded file size.[/h1][h1] .[/h1][h1] Progress bar.[/h1][h1] Show the progress of upload process in real-time, not just a simple animation.[/h1][h1] Event callback.[/h1][h1] Track the status of upload from JavaScript.[/h1][h1]Ability to trigger the upload process from JavaScript too.[/h1][h1] Plain CF custom tag.[/h1][h1] Shared hosting friendly.[/h1][h1]Just copy this custom tag in your ColdFusion working directory, and you're set [/h1]Supported ColdFusion Server: ColdFusion 5 ColdFusion MX 6, 6.1 ColdFusion MX 7 on all operating systems Supported browsers:All browsers having Macromedia Flash Player 8.The custom tag will trigger the browser to download the player if it's not installed yet.Click here for more information to download Macromedia Flash Player Notes for MacOS and Opera user: Due to problem with Flash Player 8, both platform may not be able to utilize all functions in CF_FlashUpload. See limitation below. Limitation:Due to limitation in Flash, HTML, Webserver and Macromedia ColdFusion, below restrictions apply:1. FlashUpload CAN NOT be included in the &lt;form&gt;. Instead put this tag outside the form, and do the upload using JavaScript (if ShowUploadButton is set to false)Check this file: example_2.cfm on how to achieve this.2. The uploaded formfield always use the name: &quot;Filedata&quot;. So the &quot;Action&quot; URL must handle this &quot;form.Filedata&quot; variable.3. MaximumFileSize is also limited by Flash, ColdFusion and webserver configuration.Please consult ColdFusion and your webserver documentation to allow large file upload (Eg: 64MB or more)4. OS and browser issues- Opera 8 does not yet support Flash 8 ExternalInterface call. Therefor the upload process MUST be triggered inside cf_flashupload. It can't be called from Javascript function.- Macintosh. Flash Player 8 for Macintosh has a known IO error bug. The temporary workaround is to put a blank line after uploading files. &lt;cf_FlashUpload Name=&quot; The name of this object, required&quot; Action=&quot;URL of script that will handle the uploaded file, required&quot; Style=&quot;limited CSS-style to customize FlashUpload user interface. Optional&quot; RedirectTo=&quot;URL that will be redirected to upon upload completeion. Optional&quot; ShowUploadButton=&quot;true/false. Show the upload button in FlashUpload object. Optional, default=true&quot; MaxFileSize=&quot;Maximum file size allowed for upload in bytes. Optional, default=0=unlimited&quot; FileFilter=&quot;List of title and file extensions allowed for upload. Optional, default=all files&quot; OnProgress=&quot;Name of JavaScript function that will handle events send from FlashUpload. Optional&quot;&gt; Limitation:Due to limitation in Flash, HTML, Webserver and Macromedia ColdFusion, below restrictions apply:1. FlashUpload CAN NOT be included in the &lt;form&gt;. Instead put this tag outside the form, and do the upload using JavaScript (if ShowUploadButton is set to false)Check this file: example_2.cfm on how to achieve this.2. The uploaded formfield always use the name: &quot;Filedata&quot;. So the &quot;Action&quot; URL must handle this &quot;form.Filedata&quot; variable.3. MaximumFileSize is also limited by Flash, ColdFusion and webserver configuration.Please consult ColdFusion and your webserver documentation to allow large file upload (Eg: 64MB or more) We encourage downloading the evaluation version first, install and test it in your environment. Click here to download the free evaluation version -->Explanation:1. StyleCF_FlashUpload allow limited CSS-style to be applied to this tag.Those are: color and border-color. Other style will be ignored.For example: &lt;cf_flashupload style=&quot;color:#000000; border-color:#cc0000&quot;. Don't forget to use the &quot;#&quot;2. MaximumFileSizeThe maximum uploaded file size in bytes.See limitation #3 above3. FileFilterIs a comma delinmited list of title and file extensions allowed to be uploaded. Each extensions is separated by ;For example: To allow MS Word file -&gt; FileFilter=&quot;Microsoft Word Files,*.doc;*.rtf&quot;To allow Images -&gt; FileFilter=&quot;Images,*.jpg;*.gif;*.png;*.bmp&quot;To allow MS Word, MS Excel, and PDF upload -&gt; FileFilter=&quot;Word,*.doc;*.rtf,Excel,*.xls;*.csv,PDF,*.pdf&quot;(Note the &quot;,&quot; and &quot;;&quot;)4. OnProgressCF_FlashUpload allow JavaScript functions to handle event send by the object.For example:&lt;cf_FlashUpload OnProgess=&quot;WhatIsIt&quot;&gt;In the HTML, you will have to add a JavaScript function named &quot;WhatIsIt&quot; with one parameter&lt;script language=&quot;JavaScript&quot;&gt;function WhatIsIt(iFlashUploadStatus){if (iFlashUploadStatus==1) alert(&quot;Upload completed&quot;);else if (iFlashUploadStatus==-1) alert(&quot;Upload canceled&quot;);else if (iFlashUploadStatus==-2) alert(&quot;Upload Fail: IO error&quot;);else if (iFlashUploadStatus==-2) alert(&quot;Upload Fail: Security error&quot;);else if (iFlashUploadStatus==-4) alert(&quot;Upload Fail: HTTP Eeror&quot;);if (iFlashUploadStatus==2) document.body.style.cursor=&quot;wait&quot;; // uploadingelse document.body.style.cursor=&quot;&quot;;}&lt;/script&gt; 5. Triggering upload process from JavaScriptTo start uploading triggered by JavaScript, call this function: objFlash.FlashUpload_DoUpload()With objFlash is the FlashUpload object in your HTML.To get this objFlash, you can use this code snippet:if(navigator.appName.indexOf(&quot;Microsoft&quot;) != -1) objFlash = window.#form.FlashUploadName#;else objFlash = window.document.#form.FlashUploadName#;6. FlashUpload functions that can be called from JavaScript are:FlashUpload_DoUpload -&gt; to start file upload, as explained aboveFlashUpload_GetFileName -&gt; to get the uploaded filenameFlashUpload_GetStatus -&gt; to get the last status of FlashUpload1 = upload completed0 = upload hasn't been enabled. File not selected-1 = upload canceled-2 = upload fail because of IO error-3 = upload fail because of security error-4 = upload fail because of HTTP error This tag comes in handy when your website requires file upload from user.Some web applications that may benefit by using this tag are: e-Commerce websites Photography websites Blogs Backend application and all other applications which need file upload capability For a complete example please click this link (Open in new window) (Tabbed page powered by CF_Tab) Licensing Information CF_FlashUpload (Evaluation) is available for immediate download. After registration, you will receive a confirmation email with your download link. Please ensure your email address is entered correctly during the evaluation process. Customers Who Downloaded CF_FlashUpload (Evaluation) Usually Purchased These Products Too 1. CSV2Query 2. CF_Email_Validator 3. Query2CSV 4. CF_GUnzip 5. Related Select 6. Slidebar Menu 7. CF_Tab 8. Resize Image 9. Verify Image 10. ColdFusion Blogger - CF_Blogger Why Customers Choose Us Find out why our valued customers choose MasRizal &amp; Partners solutions. Click here to see their reasons Featured Customers More than 6850 companies rely on MasRizal &amp; Partners solutions. Click here to see our featured customers Free For Non-Profit Organization MasRizal Charity program allows eligible nonprofit organizations to get MasRizal's products at no cost. Click here for program detail Testimonials Take the word of our clients Top Selling Products See our top selling products Let Us Help You Can't find solution you need? Click here to get solution from MasRizal.
fusion,upload,javascript,custom,file,flash,input,cf,applet,coldfusion,cold,tag,progressSharing Ideas And Solutions

Our Newsletter
Downloadable Solutions
Free For Non-Profit Organization
Customer Feedback
Contact Us
Image Compressor 2008.
Batch recompress, resize, rotate and watermark your image.
Save up to 10x more in any storage.
Speed up upload, download, and e-mail transmission time.
Featured Web Template
MasRizal In Numbers

* 25 years in business.
* 6856 corporations in 67 countries have chosen our products and service.
* 73.20% are using more than one solutions from us.

- MasRizal & Partners -
Enhancing Business With Trust
CF_FlashUpload (Evaluation) Cheapest Only At MasRizal.Com

Custom Tag: CF_FlashUpload (Evaluation version)
Version: 1.1
(c) 2006, MasRizal & Partners
Rizal Firmansyah, rizal.firmansyah@masrizal.com

CF_FlashUpload is a quick solution to replace ordinary <input type="File">
This custom tag also adds below functionalities:
1. Filter file that can be uploaded. The filtering is done by file extension.
2. Limit maximum size of file that can be uploaded
3. Progress bar showing the progress of uploading process.

Can <input type="File"> do above functions? No.
Are those functions requested by you and your clients? Yes, they are!

Note:
The original source code for FlashUpload.swf is not distributed and it's not intended for sale.
Contact us if you want to customize this custom tag further.

Evaluation version limitation:
You're allowed to install this custom tag in your testing environment.
Upon uploading files, the custom tag will trigger a window notifying that you're using evaluation version.

(Tabbed page powered by CF_Tab)   


Licensing Information

CF_FlashUpload (Evaluation) is available for immediate download.
After registration, you will receive a confirmation email with your download link.
Please ensure your email address is entered correctly during the evaluation process.



Customers Who Downloaded CF_FlashUpload (Evaluation) Usually Purchased These Products Too
1. CSV2Query 2. CF_Email_Validator 3. Query2CSV
4. CF_GUnzip 5. Related Select 6. Slidebar Menu
7. CF_Tab 8. Resize Image 9. Verify Image
10. ColdFusion Blogger - CF_Blogger

Why Customers Choose Us
Find out why our valued customers choose MasRizal & Partners solutions.
Click here to see their reasons

Featured Customers
More than 6850 companies rely on MasRizal & Partners solutions.
Click here to see our featured customers

Free For Non-Profit Organization
MasRizal Charity program allows eligible nonprofit organizations to get MasRizal's products at no cost.
Click here for program detail
Testimonials
Take the word of our clients

Top Selling Products
See our top selling products

Let Us Help You
Can't find solution you need?
Click here to get solution from MasRizal.
© Copyright 1999-2024 MasRizal & Partners
All Rights Reserved.
OISV - Organization of Independent Software Vendors - Contributing Member    Solutions for designers provided by TemplateMonster.com    Payment processing by 2Checkout    2Checkout.com supports Master Card Secure Code    2Checkout.com is verified by Visa
HALF PRICE SLASH TODAY!
Get 50% Discount
on Premium Component Collection

+ FREE Lifetime Upgrade.
Best Investment.


Offer valid until March 31, 2024

Use Coupon: HALFPRICE3
(Copy this coupon and use it during checkout)

Buy Premium Component Collection With 50% Discount

[ X Close This Window ]