About XML Options Bar AS3
The XML Options bar is meant to be used as a starting point to create your website in Flash. It allows you to add multiple backgrounds, multiple songs, and an option to go into fullscreen mode.
This file can be customized through XML as well as editing the fla. The XML allows you to list all of your backgrounds and songs that will be loaded into the .swf. You can also specify if you want to use the background options, the music options, and the full screen options.
The FLA file
Make sure to leave XMLOptionsBar movie clip as the top-most layer, and the 2 backgrounds as the 2 bottom-most layers
Put all of your other content between the XMLOptionsBar movie clip and the backgrounds
The .XML File
The XML files contains all of the varibles you will need to edit your XML Options Bar. Listed below are each of the tags and what they will edit within the .swf
- WEB_ADDRESS - Type the web address of where you will be putting your webisite. This helps with flash security issues and the music visualizer.
- ADD_BACKGROUNDS - Put "true" if you want to have the background options visible. Else, put "false".
- ADD_MUSIC_PLAYER - Put "true" if you want to have the music options visible. Else, put "false".
- ADD_FULLSCREEN - Put "true" if you want to have the fullscreen options visible. Else, put "false".
- BACKGROUND_TIMER - Put the number of seconds for the background autoplay timer.
- autoplay Attribute - Put "true" if you want the backgrounds to autoplay when the site loads. Else, put "false".
- BACKGROUNDS - This is where you put the information for your different backgrounds
- LOCATION - Type the path of your background image. (Background can be an image or swf).
- THUMB - Type the location of your thumbnail. (Must be 90 x 60 pixels).
- PROPORTION - Put "true" if you want the background to stay proportional. Else, put "false"
- TYPE - Specify the type of background. Put "image" for a .jpg, and put "swf" for a .swf file
- MUSIC - This is where you specify your song list
- SONG - Type the locations of your song
This file uses Caurana Tweener
Documentation for Tweener can be found at http://code.google.com/p/tweener/
Licensing for Tweener can be found at http://www.opensource.org/licenses/mit-license.php
Licensing notice for Caurina Tweener
The MIT License
Copyright (c)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

