Documente Academic
Documente Profesional
Documente Cultură
Steps:
1. First prepare your images in the desired size and put them in a folder.
2. Open the data.xml file and update the image names and hyper links as per your
own data. Below is one node of xml file which contains data for one image. Just
repeat the following data for more images:
The yellow area is where you need to enter your own data.
3. Alter the settings in data.xml if needed. You can change the text size, color,
transition effects, buttons and many more through the xml file.
Parameters Description
If you are directly implementing the banner into an html file, just
leave this value as blank.
bannerWidth="" If you are loading this banner into another flash file, you need to
specify the width and height of the banner. Otherwise the buttons
may tend to be positioned according to the stage size of the main
movie.
You can mask the entire banner with rounded rectangle. Set corner
radius value to make it rounded. If you want to use custom shape to
bannerCornerRadius=""
mask, just leave the value as blank and create your shape in the fla
as mentioned below in this help page.
TEXT
textMarginLeft="12" Space between the overall caption and left end of the flash.
You can add color over the blur area to make sure the text is
textBackgroundColor="000000"
more readable. This value should be in hexadecimal.
BUTTONS
The time clock will show the progress before transition. You
can hide if preferred.
showTimerClock="yes"
Note that the time clock will not display if the autoPlay
option disabled.
Note that the SWF files will not be resized to fit but center
aligned.
Here is the file size difference in SWF for embedded font and non embedded font versions:
Embedded: 37kb
Non Embedded: 19kb
Other than the above parameter you can also use custom shape to mask the banner. To do so, find
the symbol named BannerMaskGraphic in the library and draw your shape there with the same size
as your banner width and height. In this case you need to leave the xml parameter as blank:
bannerCornerRadius=""
When you load this banner on an swf multiple times, you may notice that the timer not working
properly. This will happen only if you are loading the banner multiple times repeatedly. This happens
due to multiplication of interval timer used in banner which should be cleared each time you unload
or load. So add the following code before you load or unload the banner:
clearInterval(yourMc.BannerMc.delay);
(Note that in the above line, yourMc should be replaced with your own target movie clip’s instance
name )
-----------------------------X----------------------------