Flash Full Text Search Component
This is a fully customizable Flash Full Text Search Component, built with support for multiple images and texts. Everything is customizable in the XML files, including the images, the texts, the colors, the sizes and much more.
This Flash Full Text Search Component contains a handful of features and settings.It is easy to use the search in your Flash projects or as an independent Flash Search Components on your html based website. If you want to use the search in Flash file, importing it , is as moving some actionscript files around, and dragging the movieclip containing the component in your Flash file.
Features
This search component contains a handful of features and settings.
- Customize search playlist through the XML file.
- Add unlimited images/texts.
- Customizable colors from the XML file.
- Size of images customizable from the XML file.
- Auto scrolling
It is easy to use the search in your Flash projects or as an independent Flash Search Component on your html based website. If you want to use the search in a Flash file, importing it , is as moving some actionscript files around, and dragging the movieclip containing the component in your Flash file.
Skinning
Skinning is very simple as well. To edit the file you don't need any Flash experience, as all the settings are loaded from an external XML file, which you can edit with any text editor. You can change the colors of the elements, the speed of the effects, the size of the images, the size of search component and much more.
As an example, you can set the itemHeight from the XML file and the search component will automatically resize depending on the no of image items.
The playlist is also loaded from an external XML file, so you can add unlimited images and texts. The user can quickly change the icon color, the list that contains the images.
Coding style
The code is very well commented, written following the best OOP practices, and the downloaded file comes with all the assets used to create the Flash Full Text Search Component such as the fonts, the PSD source files, and the Flash source files.
Flash Full Text Search Component - tips and tricks
This is a fully customizable Flash Full Text Search Component, built with support for multiple images and texts. Everything is customizable in the XML files, including the images, the texts, the colors, the sizes and much more.
This Flash Full Text Search Component contains a handful of features and settings.It is easy to use the search in your Flash projects or as an independent Flash Search Components on your html based website. If you want to use the search in Flash file, importing it , is as moving some actionscript files around, and dragging the movieclip containing the component in your Flash file.
Please check our general video tutorial to se how this is done. Please make sure you check the details page, the video tutorials tab, in this product details page – select the product in the archive, on Flabell.
Skinning is very simple as well. To edit the file you don't need any Flash experience, as all the settings are loaded from an external XML file, which you can edit with any text editor. You can change the colors of the elements, the speed of the effects, the size of the images, the size of search component and much more.
As an example, you can set the itemHeight from the XML file and the search component will automatically resize depending on the no of image items.
The playlist is also loaded from an external XML file, so you can add unlimited images and texts.
The user can quickly change the icon color, the list that contains the images.
The code is very well commented, written following the best OOP practices, and the downloaded file comes with all the assets used to create the Flash Full Text Search Component such as the fonts, the PSD source files, and the Flash source files.
Features:
Customize search playlist through the XML file.
Add unlimited images/texts.
Customizable colors from the XML file.
Size of images customizable from the XML file.
Auto scrolling.
Folder structure:
Please navigate to the deploy folder, inside project folder. This folder contains all the files you need to upload to your server to have the Full Text Search Component work.
search/xml/settings.xml - This is where you make all changes to the look and feel of your search component.
search/xml/content.xml - This is where you make all changes to the playlist images and texts, as well as add new images/texts.
js/swfobject.js Deconcept SWFObject is a small JavaScript file used for embedding Adobe Flash content. The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible.
js/expressInstall.swf SWFObject has full support for the Adobe Flash Player Express Install feature. Using expressinstall, your users never have to leave your site to upgrade their Flash Player.
content/images Put your images into this folder. You can choose another folder name in your XML settings file.
preview.swf This is the Flash Full Search Text Component file which is embedded in your website.
index.html HTML document used to embed the swf file. Please check the source code to see how the variables are passed to the swf file.
settings.xml structure:
Below you can see what each of the attributes in the XML file means.
1. <background color="0xEEEFEF" contentMargin="15"/>
Sets the main background color of the search component and the width of the margin.
2. <search backgroundHeight="50" backgroundColor="0x000000"
textBackgroundHeight="30" textBackgroundColor="0xffffff"
titleColor="0xffffff" titleFontSize="20"
textColor="0x333333" textFontSize="14"
iconBackgroundColor="0xAC2332" iconColor="0xffffff" deleteBackgroundColor="0xB0B2B5"><![CDATA[SEARCH:]]></search>
Sets the search background height, the background color, the text background height, text background color, the title color, the title font size, the search text color, the text font size, the icon background color, the icon color and the last, the title text inside the node value.
3. <list itemHeight="80"
distanceBetweenItems="10"
visibleTextCharacters="100"
itemStrokeColor="0xE1E2E3" itemFillColor="0xffffff"
itemTitleColor="0x000000" itemTitleFontSize="18"
itemTextColor="0x666666" itemTextFontSize="12"
itemButtonBackgroundColor="0xAC2332" itemButtonBackgroundOverColor = "0xdddddd" itemButtonTextColor="0xffffff" itemButtonOverTextColor="0x000000" itemButtonTextFontSize="12"
itemImageWidth="90" itemImageHeight="60"/>
Sets the item height, the distance between list items, maximum number of characters in the item info, item stroke color, item fill color, item title color, item title font size, item text color, item text font size, item button background color, item button background over color, item button text color, item button text over color, item button text font size, item image width, item image height.
4. <scroll backgroundWidth="16"
backgroundColor="0x000000"
offset="5"
scrollerColor="0xffffff"/>
Sets the scrollbar background width, the background color, the scrub offset(margin around scrub) and the scrub color.
content.xml structure:
This xml contains the search data. It has a number of item nodes like the next one:
<item image="content/images/1.jpg" title="Title one" buttonText="more" link="http://www.flabell.com">
<info>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</info>
</item>
Every item node has three attributes: image path, title, buttonText and link.
<item image="content/images/1.jpg" title="Title one" buttonText="more" link="http://www.flabell.com">
Also, every album node contains another sub node, which represent the text of the search.
<info>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</info>
Flashvars:
In the html file you can set some variables for the component like: dimensions (width and height), the path to the files if you choose to put them in another location rather than the same folder, the images dimensions (width and height), the xml settings file path and of course, the component xml file path.
flashvars.stageW = stageW;
flashvars.stageH = stageH;
flashvars.pathToFiles = "search/";
flashvars.xmlSettingsPath = "xml/settings.xml";
flashvars.xmlContentPath = "xml/content.xml";
 
bobocel
on 19/12/09
 
asbu
on 19/12/09
2. where can I change the default empty text in search input text? so that after complete loading theres already a certain search word in the search input text.
 
bobocel
on 19/12/09
 
asbu
on 19/12/09
 
mancho
on 28/12/09
of course the results would not be separate such as this, they would appear under the search, correct?
http://webix.com/dev/naomi/naomi_retai...
Thank you! This component looks to be exactly what we need!
on 28/12/09
 
mancho
on 28/12/09
I think we can skin it to make it work. Just has to be closer to the design we need, which is very minimal.
on 29/12/09
We also do custom work, and you can also hire a freelancer if you need to modify it to do more than it does. Either way, give it a try and see how well it goes. ;)