Jump to content

Flash Slide


Recommended Posts

ok i found one that i liked. Its called a XML Banner Rotator. It seems to use the index.html to call on the xml and all that to make it work. How do i get it to show up in the area where the homepage_logo.jpg is from the editorial? I tried to replace homepage_logo.jpg with index.html hoping that it would just call on it to load the whole thing but that didnt seem to work.

http://www.flabell.com/flash/XML-Banner-Rotator-233

Link to comment
Share on other sites

on my webpage www.aquatic-refuge.com in the center, where you see the img with all the free stuff on it, thats what i need to change to a flash banner rotator and that image is being pulled by the editorial module.

Link to comment
Share on other sites

I think i'll just have to place this code in place of the editorial to get my image since there doesnt seem to be anyone online that can help. I'm going to try to put it in place of the homepage_logo.jpg and see if it will call on it. I'll just have to get rid of anything related to the homepage_logo in the editorial module i think.

 

XML Banner Rotator screenshot[removed]
             /* <![CDATA[ */
             function initProduct(){
             var pathToFile = '/files/233_e0906_416b717e7dae5a0126e743449dd61de0/deploy/'; // PARAMS
var params = {};
params.bgcolor = "#FFFFFF";
params.menu = "false";
//params.scale = 'noScale';
//params.wmode = "opaque";
params. wmode = "transparent";
params.allowfullscreen = "true";
//params.allowScriptAccess = "always";

// ATTRIBUTES
var attributes = {};
attributes.id = 'FlabellComponent';
attributes.name = 'FlabellComponent'

// JAVASCRIPT VARS 
// cache buster
var cacheBuster = Date.parse(new Date());            

// stage dimensions
var stageW = 560;
var stageH = 374; 

/** FLASH VARS **/
var flashvars = {};

// component dimensions inside the SWF file
flashvars.componentWidth = stageW;
flashvars.componentHeight = stageH;

// path to files (can be "")
flashvars.pathToFiles = pathToFile + "banner/";

// path to content XML
flashvars.xmlPath = "xml/banner.xml";

/** EMBED THE SWF**/        
swfobject.embedSWF(pathToFile + 'preview.swf', 'FlabellComponent', stageW, stageH, '9.0.45', 'js/expressinstall.swf', flashvars, params, attributes);


             }
             /* ]]> */[removed] 
 <!--end main product area-->

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...