File Updated: 09/13/2009
- this source file updated, fixed a little scrollbar bug
Feature:
- XML driven. easy change all media contents from external xml file
- support four media type: video, images,audio,frame animation swf file. you can mix all media in one gallery
- Support three play mode: autoplay first media,autoplay all media and autoplay one by one. you can set these play mode from config.xml file
- Auto detect the video,images,audio background,swf width and height,Auto-Scale by ratio on normal mode and fullscreen mode.
- dynamic icon from external xml file. you can change it or delete it from external xml file
- All media numbers are unlimited, the category numbers are unlimited
- Advanced horizonal scroll function. Advanced menu selected function. the selected thumb auto slide and lock the first position. Advanced scroll bar function. auto-adapt all the thumbnails width , you can click the scroll bar background to scroll.
- Almost all the interface elements colors can be changed from the config.xml file
- All the dynamic text color,size can be changed from the global.css file
- Auto-adjust width tooltip function. easy change the fonts color from the global.css file
- Fonts and help document included.
- Resizeable.
the config section in external xml file:
< fps >28< / fps>
< volume>60< / volume >
< countdown >5< / countdown>
< autoPlayFirst >true< / autoPlayFirst >
< autoPlayAll >true< / autoPlayAll >
< autoNext >true< / autoNext>
< bufferTime >10< / bufferTime>
< cssURL >global.css< / cssURL >
< backStyleColor >0×000000< / backStyleColor>
< itemStyleColor >0×000000< / itemStyleColor >
< navStyleColor >0×101010< / navStyleColor>
< videoControlButton >0×6DB4D6< / videoControlButton>
< videoControlBackground >0×000000< / videoControlBackground>
< scrollEasingSpeed >5< / scrollEasingSpeed>
< scrollBackground >0×2e2e2e< / scrollBackground>
< scrollLeftButton >0×6DB4D6< / scrollLeftButton>
< scrollRightButton >0×6DB4D6< / scrollRightButton>
< scrollDragBar >0×000000< / scrollDragBar>
< / config >
Note:this file is complex than all my other file. becasue it mixed four media types. so if you want to custom it by your self , please be sure you have enough the flash design and actionscript knowladge ,thanks.
FAQ
1. how to resize the media screen size?
say you want to change the media screen size as 600×300.
the first step: open the fla. select the layer named “mc”. then select the “mediaback” on the stage. change its size as 600×300 from the property panel of flash.
the second step: selet the layer named “ref” . then select the movieclip named “mediaItem” on the stage. double click enter into it. select the movieclip “back” on the layer named “back”. change its size as 600×300 from property panel. then select the movieclip named “mediaMC” . double click enter into it. select the movieclip named “mask”,”video”,”back” , change all this movieclip size as 600×300. it will be ok.
2. how to resize the Navgation item?
for change the navigation size. open the library of flash. find the “cNavItem” movieclip , enter into it. select the “back” ,”mask” movieclip. then change its width from the property panel of flash. it will be .
3. how to resize the Navgation height?
open the “cNavItem.as” file. find the line 32 code, the code like this “mask._height = 460” , change the value ,it will be ok.
4. how to change the media gallery positions?
open the preview.fla file. find the line 133 code ,the code looks like this:
_config.playerWidth = navItem._width+1+titleItem._width ;
_config.playerHeight = 495 ;
change the value “1” and “495”, it will be ok.
5.How to hide the category list on the left?
For hide the category list on the left. please open the preview.fla file. open the first frame actionscript,find the function named “onResize ( ) ” , in this function. add a new line code at the end of this function. the code is like this:
navItem._visible = false ;
then the category list will hide.
My Portfolio:
New Files
flash website template
Dynamic image or video gallery
Dynamic news with xml
Dynamic Text scroll with easing
Dynamic xml scroll with easing
Dynamic Auto slideshow
menu and button
other



































































