Acoordion Panel Pro
|
|
|
|
| FlashStore rating: |
|
| User rating: |
Not rated yet.
|
| Date: |
15-08-06 |
| Submited by: |
jumpeye |
| Skill: |
intermediate |
| Price: |
$ 25.50 |
|
|
| |
About |
Built by Jumpeye Creative Media Inc., Accordion Panel Pro v1 is a professional component that can be used along with your flash movies. Accordion Panel Pro is special designed for FLASH 8 and Flash MX2004.
The Accordion Panel Pro can load external swf and jpg files and display them in the component's compartments.From the properties panel you can customize 12 parameters, such as size, colors, title font, font size, tweening method (true/false), all/one opened window at a time. The tool's skin is very modern and looks good within every web site. The Accordion's look is inspired from Macromedia's authoring environments such as Flash 8, Dreamweaver 8 and Fireworks 8.
The Accordion Panel Pro v1 is made for VERTICAL purposes, it can be rotated and also needs fonts to be embed when rotating it to the horizontal position. So we have launched now, the Accordion Panel Pro V2 which is recommended for HORIZONTAL purposes. Its title-bars are also skinable (not only customizable). THE ACCORDION PANEL PRO V2 is not an upgrade to the Accordion Panel Pro v1. It's a different component, more likely to be used for horizontal purpose. We used the "v2" naming only because it is another edition of the accordion panel idea...
The Accordion's content source file is an XML. ( a basic XML content for the header accordion can be found here and for the vertical one here ) The path attribute holds the path of the swf movie loaded in an accordion compartment, the title attribute holds the title of the compartment and the opened attribute specify if a compartment will load opened or closed first.
There are 4 events broadcasted: onLoadXML , onLoadContents , onOpenItem and onCloseItem. Use a listener object attached to the accordion in order to retrieve events. We also included a function for opening/closing an item without clicking over it: accordionInstance.openItem(itemNumber).
|
UI Access |
| Components panel under UI Pro Components – jumpEYE |
Support address |
|
|
Useful links |
|
Code samples |
Simply drag and drop component to the stage.
Use the parameter panel to customize the behaviors and look of Accordion Panel Pro. In order to listen to the events broadcasted use a listener object.
The xml file that you need link in the parameter field for names and attributes of the title bars and content of the accordion's compartments has to be written as follows:
...
"path" is for external file (swf,jpg)
"title" is for title bar
"opened" is boolean, true if you want the component to open with this compartment opened. false for closed.
color optional attributes:
"upColor" , "middleColor" , "downColor"
values are in hexa like 0xCCCCCC
There are 4 event broadcasted: onLoadXML , onLoadContents , onOpenItem and onCloseItem.
In order to have the accordion rotated you have to rotate all the contents before importing them, also, you have to include the component into one Use a listener object attached to the accordion in order to retreive events. We also included a function for opening/closing an item without cliking over it: accordionInstance.openItem(itemNumber).
The use of any other attributes, functions and procedures that are not documented are specullative and NOT recommended.
Code Samples
_global.lis = new Object();
container_mc.acordion1.addListener(_global.lis);
preloader.text = "loading XML";
container_mc.acordion1._visible = false;
lis.onLoadXML = function(message) {
trace("rotated accordion xml loaded");
preloader.text = "loading contents";
};
lis.onLoadContents = function(message) {
trace("rotated accordion contents loaded");
preloader.text = "";
};
lis.onCloseItem = function(message) {
trace("rotated accordion close "+message);
};
lis.onOpenItem = function(message) {
trace("rotated accordion open "+message);
};
button2.onRelease = function(){
container_mc.acordion1.openItem(2)
}
|
|
|
|
|
|