LOGIN Don't have an account yet?   Register

Forgot password?
 

XML Banner Rotator

  • avatar
    ionelb
    on 16/7/11
    Ador componenta aceasta dar va rog ajutati-ma sa o integrez in index html. Am incercat la o adresa free http://relax.24.eu, am uploadat folderul deploy in root-ul siteului am modificat path-urile dar tot nu functioneaza.Pur si simplu nu inteleg ce gresesc. Va rog sa ma ajutati.Codul html este urmatorul:
                    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <div align="center">
    <head>
    <title>Relax - The place who give you relaxation</title>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <meta name="keywords" content="relax, meditation, music, relaxation, relaxation music">
    <meta name="description" content="relax.24.eu is a simple site where you can receive a moment of YOU.">
    <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="1280">
    <TR>
    <TD>
    <img src="http://relax.24.eu/story/logo.gif"  width="756" height="350" />
    </TD>
    <TD>
    <script type="text/javascript" src="deploy/js/swfobject.js"></script>
    		
    		<script type="text/javascript">
    			
    			// JAVASCRIPT VARS
    			// cache buster
    			var cacheBuster = "?t=" + Date.parse(new Date());
    			// stage dimensions		
    			var stageW = "524";//"100%";
    			var stageH = "350";//"100%";
    			
    			
    			// ATTRIBUTES
    			var attributes = {};
    			attributes.id = 'FlabellComponent';
    			attributes.name = 'FlabellComponent';
    
    			// PARAMS
    			var params = {};
    			params.bgcolor = "#ffffff";
    		    params.menu = "false";
    		    params.scale = 'noScale';
    		    params.wmode = "opaque";
    		    params.allowfullscreen = "true";
    		    params.allowScriptAccess = "always";			
    			
    			
    			/* FLASH VARS */
    			var flashvars = {};
    			
    			/// if commented / delete these lines, the component will take the stage dimensions defined 
    			/// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml
    		    flashvars.componentWidth = stageW;
    			flashvars.componentHeight = stageH;
    			
    			/// path to the content folder(where the xml files, images or video are nested)
    			/// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")			
    			flashvars.pathToFiles = "deploy/banner/";
    			
    			// path to content XML
    			flashvars.xmlPath = "deploy/xml/banner.xml";
    			
    			
    			/** EMBED THE SWF**/
    			swfobject.embedSWF("deploy/preview.swf"+cacheBuster, attributes.id, stageW, stageH, "9.0.124", "deploy/js/expressInstall.swf", flashvars, params, attributes);
    			
    		</script>
    			
    				<div id="FlabellComponent">
    					<p>In order to view this object you need Flash Player 9+ support!</p>
    					<a href="http://www.adobe.com/go/getflashplayer">
    						<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>
    					</a>
    				</div>			   
    
    </TD>
    </TR>
    </TABLE>
    </head>
    
    <body bgcolor="#3BB9FF"> 
    <body topmargin=0 leftmargin=0>
    <body style="width:1280px">
    </body>
    </div>
    </html>
    
                    

    Va rog sa-mi spuneti unde gresesc. Multumesc anticipat!

    Last edit on 16/7/11
  • avatar corneliu.chitanu
    on 18/7/11
    Hello,

    Please write in English on our websites so that the other visitors will understand. Maybe they have the same problem you had.

    So you tried to embed the component in your webpage and you can't get it to work. This tutorial explains how to complete the process:

    http://www.flabell.com/blog/1829/how-t...

    You seem to have done everything right, but you can check it again. The path to the xml file is not correct though. We construct the xml path relative to the pathToFiles flashvar. So please correct it. Also, the paths to the images are constructed relative to the pathToFiles folder so please check the paths in the XML file too.

    If you can't get it to work, please buy a support ticket and share a link to your component. We'll inspect it and figure out what the problem is.
  • avatar
    ionelb
    on 20/7/11
    Ok, tank you very much, now every thing is ok.
    I ask you if i can add a logo to this banner and how.
    Tanks again!
  • avatar corneliu.chitanu
    on 25/7/11
    You're welcome. You can only add a logo by writing some ActionScript code in the project. If you need our help on this, we can do it as custom work. Send our team an email at [email protected], if you're interested.
  • avatar
    carviz
    on 25/7/11
    hi everyboby, i have a question

    how i can hide the controler in this banner rorator? if i dont want show, the numbers of pics and next and prev button.. thanks for your help
  • avatar
    ionelb
    on 28/7/11
    Go to banner/xml open the file banner.xml and set to false the next lines:
                    
    controllerVisible = "false"
    controllerBackgroundVisible = "false"
    		
    prevNextVisible = "false"
    playBtVisible = "false"
    
                    



    Last edit on 28/7/11

rss Subcribe to topic RSS

Post a comment

Please login to join the discussions. Don't have an account? Register (it takes 30 seconds)

This week's featured product

Store Locator

This cool AJAX application will enhance your website by showing your stores' locations. You can also display an image and a short description so your users know exactly where to find your business.

Become a premium member

premium membership Flabell and Themesbell membership provides users with the ability to download any of our components for Adobe Flash and website themes for free, during an entire year.
read more