July 31st, 2006
Although this has been a part of Flash 8 previously, one of the coolest new features of Flex 2 is the ability to upload images and files. Here is a quick little component that allows set the max file size allowed, set the types of files allowed, automatically show the upload progress, and then display the image when the upload is completed. The syntax is simple:
<eFlexComponents:Uploader uploadButtonLabel=”Browse for New Image”
uploadToURL=”http://www.yourdomain.com/uploads/uploader.cfm”
imagesFilter=”*.jpg;*.gif;*.png”
displayNewImage=”true”
displayImagePath=”http://www.yourdomain.coms/uploads”
maxUploadSize=”100000″/>
Here is a ColdFusion (uploader.cfm) sample script to catch the file:
<cffile action=”upload” filefield=”Filedata” destination=”#ExpandPath(’./’)#” nameconflict=”OVERWRITE” />

Right Click on application to view & download Source Code.
Run This Code
6 Comments |
Components, Flex 2, Tutorials |
Permalink
Posted by everythingflex
July 27th, 2006
Tim Hoff has posted a new datagrid component that can be used to conditionally change rowColors through CSS. Here is the link:
http://www.iepl.net/DataGridRowColorSample/DataGridRowColorSample.html

No Comments » |
Components, Flex 2 |
Permalink
Posted by everythingflex
July 27th, 2006
Vasiliy Nuzha has posted a very slick color picker component. Here is the link:
http://kss.korax.ru/flex/cp/index.html

2 Comments |
Components, Flex 2 |
Permalink
Posted by everythingflex
July 26th, 2006
Brendan Meutzner has posted a dual slider component that captures multiple values and has an adjustable range. It is a very cool component, check it out at:
http://www.visualconcepts.ca/flex2/dualslider2/DualSlideTest.html

No Comments » |
Components, Flex 2 |
Permalink
Posted by everythingflex
July 22nd, 2006
Ted Patrick has posted a new custom preloader that allows the use of a splash screen image. Here is the link:
http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php

No Comments » |
Components, Flex 2 |
Permalink
Posted by everythingflex