|
|
| FlashStore rating: |
Not rated yet.
|
| User rating: |
|
| Date: |
15-08-06 |
| Submited by: |
jumpeye |
| Skill: |
intermediate |
|
|
|
|
|
About |
Fully sinkable accordion for horizontal purposes. The Horizontal Accordion Panel Pro V1 can load images and flash movies in its compartments. The new Accordion also loads title-Bar Movies (swf,jpg) so you can design your own title bars. The title bars can also contain functionality: buttons, roll over objects, etc. When a user clicks on the bars, the movie attached to that compartment opens up.
The Accordion's content source file is an XML. The path attribute holds the path of the swf movie loaded in an accordion compartment, the titleBar attribute holds the movie path that will load in the title bar compartment and the opened attribute specify if a compartment will load opened or closed first.
» Features
1. Load swf and jpg files into the accordion's compartments
2. Load swf and jpg files into the accordion's title bar compartments, buttons
3. Tweening can be switched on and off
4. Tweening speed is also editable, works perfectly at 10-24 values.
5. Use listener object to retrieve events...
6. Use function to open/close the compartments.
7. Configure XML file in less time, very easy to set up, every movie can have it's own dimensions, all compartments will re-size on the width of the movie loaded in it. The height of compartments is equal to the component.
|
UI Access |
| Components/UIProComponents - Jumpeye |
Support address |
|
|
Useful links |
|
Code samples |
Drag and drop the component to the stage, than simply attach a unique identifier to the instance, and code along the component. Use the XML file in order to specify what movies have to be contained into the Horizontal Accordion Panel Pro V1 compartments.
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)
"titleBar" is for external file (swf,jpg) that will load in the title bar
"opened" is Boolean, true if you want the component to open with this compartment opened. false for closed.
There are 4 event broadcasted: onLoadXML , onLoadContents , onOpenItem and onCloseItem.
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
acordion._visible = false;
lis = new Object();
acordion.addListener(lis);
lis.onLoadXML = function(message) {
trace("xml loaded: ");
};
lis.onLoadContents = function(message) {
acordion._visible = true;
loading._visible = false;
trace("content loaded: ");
};
lis.onCloseItem = function(message) {
trace("item closed: "+message);
};
lis.onOpenItem = function(message) {
trace("item open: "+message);
};
|
|
|