If you are a flash developer, you should have seen lots of comboBox designs and they're always different from each other. And the default comboBox component in flash? You know how it is, I realy don't need to say anything about it.
So, I needed a comboBox that is easily editable, easy to use and more developer friendly; and I decided to create one. So here it is:
And yeah, it's open source and licensed under creative commons noncommercial license.
You can edit the skin, just like editing a movieclip and use its methods as easy as standard combobox.
It has ability to arrange the position of the list automatically, according to the combobox' positon on stage, so the list will be opening on the above or below of the combobox.
comboBox.dataProvider("String","String","String","String");
comboBox.dataProvider({label:"String", data:2},{label:"String", data:3},{label:"String", data:4});
comboBox.addItem("String");
comboBox.addItem({label:"String", data:2});
comboBox.listItemsLeftMargin = 0;
comboBox.listItemsRightMargin = 0;
comboBox.listItemsTopMargin = 0;
comboBox.listItemsBottomMargin = 0;
comboBox.itemDefaultColor = 0x3CBDE3;
comboBox.itemOverColor = 0x3399CC;
comboBox.itemPressColor = 0xFFFFFF;
comboBox.itemSelectedColor = 0xA4E0F2;
comboBox.itemDefaultTextColor = 0x003366;
comboBox.itemOverTextColor = 0x000000;
comboBox.itemPressTextColor = 0x999999;
comboBox.itemSelectedTextColor = 0x3333;
comboBox.setSize(150);
comboBox.size = 150 ;
comboBox.value;
comboBox.getValue();
comboBox.getSelectedItem();
comboBox.getSelectedIndex();
comboBox.clear();
comboBox.length;
Click here to download the component.
(I appreciate your donations)
Please send your comments, suggestions and any enhancements you made on the comboBox, so we can build it together.
Tags: combobox, combo box, dropdown, selectbox, pulldown, component, free, open source, easy, editable, flash, as2
var lib = fl.getDocumentDOM().library; var libItemLength = lib[0].length; for (i=0; i < libItemLength; i++){ if(lib.getItemType(lib[0][i].name) == "bitmap") { lib.selectItem(lib[0][i].name); lib.setItemProperty('allowSmoothing', true); lib.setItemProperty('compressionType', 'photo'); } }
download the jsfl file, and please share your comments and improvements.

On the 25 and 26 of February, it’s time for Flash in the Can to visit Europe for the first time in their history. Tickets have been sold out on January 30th, as you can see, it'll be full of talented people. So, I'll be there to meet fantastic people who lives with flash, actionscript, design and technology. You can see the presentations here. And of course, I'll share my experiences with you all.
A combination of papervision3D and Tweener . Uses XML to get the images, so you can add any image you want. Displays unlimited images with stack effect ,as you can see has perspectve and reflections. And it's only 34 kb.
Take a look at the demo.
If you would like to use this effect, you can buy and download instantly ImageFlow Lite for $14.95 .
ImageFlow Lite, includes a Swf file, sample image files and an XML file which is very easy to edit (example tag: <image file="imgs/image1.jpg"></image> , you just need to change the image path, that's all!)
If you like this effect but you want to use it on your way or want to see what happens on the background, you can buy and download instantly the ImageFlow Pro for $25.95.
With ImageFlow Pro, you will get all of the class files that you need , Flash CS3 "fla" file . So you need Flash CS3 to compile. ( ImageFlow Pro, includes ImageFlow Lite)
Don't hesitate to send your thoughts,questions and feature request as a comment.
ImageFlow Lite $14.95![]()
ImageFlow Pro $25.95![]()
Tags: imageflow, photoflow, cover, coverflow, slide show, showcase, stack,apple, itunes, iphone, album, flalog, apple, photoflow, effect, flash, actionscript, papervision, image gallery, slide, reflection, perspective
If you try to dispatch a MouseEvent in a dispatchEvent(), you will get an Error that says "cannot convert "click"(or whatever) to flash.events.Event". So here is the trick for that:
movieClipInstanece.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true, false));
Tags: Actionscript 3 , MouseEvent, Events, Click, Roll_Over, Roll_Out, Double_Click, dispatchEvent, dispatch, EventListener, AddEventListener
To download source of this file click here
This is a completely dynamic FLV video player (streamer) flash file.
You can change the video path and title with the XML file.
You can click the progress bar to jump any time of the video.
If you want to change the interface, just change them from the FLA, there is no need for the programming knowledge.
Extra Features:
Automatic streaming.
Automatic loading progress bar.
Automatic video time detection.
If you want to download source of this file click here
You can download it for just $1 ![]()
Tags: showcase, youtube, streaming, stream, useful, movie, clip, trailer, teaser, film, video, playing, flv, flash, actionscript, mov, avi, mpeg, mpg, wmv, easy, XML, database, cheap, basic
Today I needed to change heights of the rows in the ComboBox component . After a bit of search , I figured out that we can reach the List component with its Instance name as “dropdown” , so.. see code below ; )
comboBoxInstance.dropdown.rowHeight = 20;
To download source of this file click here
It can show news / text from any RSS address on the web, just change the RSS path in the file.
For example: This flash file can get the last.fm recently played tracks,or you can display your blog’s news with this little SWF file on your website or myspace profile.
Features:
If you want to download source of this file click here
You can download it for just $1 ![]()
You want to use Flash Plasyer 8 features in your swf file but you don’t know your visitors have the Flash Plasyer 8 on their system? Now, Adobe has developed Detection kit and it provides us to upgrade user’s Flash Player automatically. You wanna learn how you can do it? follow me :
1) Firstly, we should download Detection kit package.
2) Extract the package somewhere and than open the playerProductInstall.fla which waiting for us in the Express Intallation folder.
3) In this Fla file, we will see a grey box (MovieClip) on the stage, you should copy and paste it to your own Fla file.
4) Open the playerProductInstallCallback.as file in the Express Intallation folder.
Now you see “Download.Complete” , “Download.Cancelled” and”Download.Failed” strings in there.
After Download.Complete,you should place the codes that will run after the Flash Player download completes.
If the user chooses “Cancel” or “No” Download.Cancelled will run after this selection,
After Download.Failed you should write codes for any network/server and etc. problems .
5) Again in Express Intallation folder, open the playerProductInstall.html file in edit mode
You will see
var requiredMajorVersion = 8;
in there and you can change the number to your flash player requirement
After that, you should open this file and, Change the codes in the Red boxes for your upgrader swf file
The Green boxes shows us the codes for target SWF, which can run only on the latest or required Flash Player version .
Thats all. Now your visitors can upgrade their Flash Player automatically . (This system requires Flash Player 6 to run)