Flash XML Grid Slider
var flashvars = {};
flashvars.xml_file = "photo_list.xml";
var params = {};
params.wmode = "transparent";
var attributes = {};
attributes.id = "slider";
swfobject.embedSWF("flash_slider.swf", "flash_grid_slider", "440", "250", "9.0.0", false, flashvars, params, attributes);
Adjust width and height values of the Flash file ( flashmo_224_grid_slider.swf ) in the SWF embedded HTML tags
Default XML file name
photo_list.xml ( or any file name can be set in SWF embedded HTML tags )
Example: flashmo_224_grid_slider.swf?xml_file=photo_list.xml
Optional Variables in XML <config> tag
auto_play = true by default ( or false )
auto_play_duration = 3 seconds by default ( or any number of seconds )
grid_row = 4 rows by default ( or any number of rows in photo grid transition effect )
grid_column = 8 columns by default ( or any number of columns in photo grid transition effect )
tween_duration = 0.6 seconds by default ( duration of motion tween of each block in grid transition )
tween_delay = 0.01 seconds by default ( delay between each block in grid transition )
stylesheet = flashmo_224_style.css by default ( or any CSS file name for formatting photo description text field )
bar_status = 0 ( to hide the bar ) or 1 by default ( to show the bar ) or 2 ( to show the bar and photo description )
Transition Effects in XML <transition> tag
direction = left | right | up | down | center
rotation = -180 | -90 | 0 | 90 | 180 | or any degree
Nenhum comentário:
Postar um comentário