Apply themes to Accordion Panel V3 - tutorial
home » flash components » user interface » accordion panel v3 » apply themes to accordion panel v3 - tutorial »
1. Open your Adobe Flash CS3 software and create a new file (File/New/Flash Document). Drag an accordion panel on the stage from the Component palette.
2. If you can't find the accordion panel component, please see the How to install a MXP file tutorial. If you have trouble configuring your accordion panel please see the How to find Help for Jumpeye components.
3. Before you continue with this tutorial please read the Create a Simple Accordion Panel tutorial.
4. Open the SkinAssets.fla file from the Demo folder that came with the Accordion Panel. Move back to your accordion panel file that you created and click the little button on the upper right corner of your library for adding a new library panel.
5. Click the dropdown button from one of the library panels and chose the SkinAssetsAccordionpanelV3 file. From this library drag the APGreenA2MainClip movie clip to your accordion panel file.
6. Now you don't need anymore the SkinAssetsAccordionpanelV3 library panel. You need to define your new styles in the xml file like this (or you can simply use the edited xml file:
In order to read about every style tag, please read the style help page.
7. After you defined you styles, you have to call them up in the data node like this :
<item title="Chocolate" contentPath="images/img1.jpg"/>
……………. ……………. ……………. …………….
8. Save your xml file and hit Ctrl + Enter to test your movie. This is how your swf should look like :