Banner rotating with audio

Hello,
Could any one tell me how can I rotate banners with audio for every 10 seconds. Source code will be helpful.
Thanks

<div id="whiskey" style="position:absolute; width:475px;
height:60px;
z-index:3; left: 351px; top: 486px; visibility: hidden;">
<div align="center"><img
src="images/sponsors/whiskey.gif" width="475"
height="60"></div>
</div></td>
<td width="73%"
This layer "whiskey" is in a table cell (see the closing
</td> tag
immediately after the closing </div> tag for the
layer). That's a nono.
Please read this about how to work with layers -
http://www.thepattysite.com/layer_laws.cfm
Anyhow, the simplest fix for you would be the following.
Change this -
<div id="whiskey"
to this -
<div style="position:relative"><div id="whiskey"
and this -
</div></td>
<td width="73%"
to this -
</div></div></td>
<td width="73%"
and see what happens.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"sneedell" <[email protected]> wrote in
message
news:e3fvbj$1gh$[email protected]..
>I just created a rotating banner with layers and like the
guy earlier that
>was
> having problems when you resize the window i am having
the same problem.
> Wondering if i could ask nicely for some help?
> Here is a link to my homepage where the banner will
reside so you can look
> at
> the code
>
http://www.wchacutting.com
> any help would be greatly appreciated!
>

Similar Messages

  • Help with embedding XML / Flash Banner Rotator?!?

    Hey guys, please help me; I'm having some trouble embedding this flash/xml banner rotator into this page, I can see that the file has been uploaded, however when I try to place it into the page, it just doesn't work. I even get error reports from IE, the code was all place by dreamweaver.
    The first set of code below is the entire page, the second set is the part that isn't working for me (the part I'm too dumb to fix).
    The code that is highlighted in red is the code with the <embed> tag.
    Whole page:
    <!--
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Bognogginz - from the mind of Jim Jenkins</title>
    <meta name="description" content="Bognogginz - from the mind of Jim Jenkins, professional sculptor for hire."/>
    <meta name="keywords" content="Bognogginz, Jim Jenkins, Jenkins, Jim, sculpting, sculptor, professional, for hire, hire, hire sculpting, sculptor for hire, professional sculptor, art, artist, artist for hire, artisan, sculptings"/>
    <style type="text/css">
    <!--
    body {
         background-image: url();
         background-repeat: no-repeat;
         background-position:center;
         background-position:top;
         margin-top: 0px;
         margin-bottom: 0px;
         background-color: #26231C;
    .style3 {
         font-size: 23px;
         letter-spacing: -1px;
         color: #FFFFFF;
         font-family: Geneva, Arial, Helvetica, sans-serif;
    .style7  {
         font-size: 12px;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         color: #f2d2a6;
    .style9 {
         font-size: 11px;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         color: #FFFFFF;
    .style10 {font-size: 4px}
    .style11 {
         letter-spacing: 0px;
         color: #FFFFFF;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         font-size: 17px;
    a:link  {
         text-decoration: none;
         color: #FFFFFF;
    a:visited  {
         text-decoration: none;
         color: #FFFFFF;
    a:hover  {
         text-decoration: underline;
         color: #FE38AF;
    a:active  {
         text-decoration: none;
         color: #FFFFFF;
    body,td,th {
         font-family: Geneva, Arial, Helvetica, sans-serif;
    .style13 {color: #26231C}
    .style16 {
         letter-spacing: -1px;
         font-size: 20px;
         font-weight: normal;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         font-style: normal;
         font-variant: normal;
         color: #000000;
    .style18 {
         color: #FFFFFF;
         font-size: 11px;
    .style20 {
         font-size: 8px;
         color: #DAC375;
    .style21 {
         font-size: 20px;
         font-family: Geneva, Arial, Helvetica, sans-serif;
         font-style: italic;
         font-variant: normal;
         color: #000000;
         letter-spacing: -1px;
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    //-->
    </script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script src="Scripts/AC_ActiveX.js" type="text/javascript"></script>
    </head>
    <body>
    <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0" background="bognogginz_site_pageBG_rev.jpg">
      <tr>
        <td height="1050" align="center" valign="top"><table width="1000" border="0">
          <tr>
            <td height="277" align="center"><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="316" height="44" align="left" valign="top"> </td>
                <td width="274" align="left" valign="top"> </td>
                <td width="46" align="center" valign="middle"><a href="http://www.milkm.com/bog/index.html" target="_self"><img src="http://www.milkm.com/bog/buttons/home_on.png" alt="Home" width="46" height="16" border="0" longdesc="http://www.milkm.com/bog/index.html" /></a></td>
                <td width="19" align="left" valign="top"> </td>
                <td width="63" align="center" valign="middle"><a href="/gallery/gallery.html" target="_self" onmouseover="MM_swapImage('Gallery','','http://www.milkm.com/bog/buttons/gallery_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/gallery_off.png" alt="Click here to view my gallery." name="Gallery" width="63" height="16" border="0" id="Gallery" /></a></td>
                <td width="19" align="left" valign="top"> </td>
                <td width="146" align="center" valign="middle"><a href="/contact.html" target="_self" onmouseover="MM_swapImage('Contact','','http://www.milkm.com/bog/buttons/contact_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/contact_off.png" alt="Click here to contact the artist." name="Contact" width="146" height="16" border="0" id="Contact" /></a></td>
                <td width="19" align="left" valign="top"> </td>
                <td width="45" align="center" valign="middle"><a href="/more.html" target="_self" onmouseover="MM_swapImage('More','','http://www.milkm.com/bog/buttons/more_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/more_off.png" alt="Click here to learn more." name="More" width="45" height="16" border="0" id="More" /></a></td>
                <td width="20" align="center" valign="middle"> </td>
                <td width="45" align="center" valign="middle"><a href="http://bognogginz.blogspot.com" target="_blank" onmouseover="MM_swapImage('Blog','','http://www.milkm.com/bog/buttons/blog_on.png',1)" onmouseout="MM_swapImgRestore()"><img src="http://www.milkm.com/bog/buttons/blog_off.png" alt="Click here to read my blog!" name="Blog" width="43" height="16" border="0" id="Blog" /></a></td>
              </tr>
              <tr>
                <td height="48" colspan="11"> </td>
              </tr>
              <tr>
                <td height="143" colspan="11" align="center" valign="middle"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="102" align="left" valign="top" class="style3">Welcome to Bognogginz.com, the online gallery for the works of Jim Jenkins. <a href="/contact.html" class=".class1">You can contact Jim for a current list of items available for purchase.</a></td>
                  </tr>
                </table>
                  <br /></td>
              </tr>
            </table></td>
          </tr>
        </table>
        <br />
        <table width="1000" border="0" align="center">
          <tr>
            <td height="504" align="center" valign="top"><table width="952" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="952" height="460" align="center" valign="bottom"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','952','height','445','src','rotator','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','rotator' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="952" height="445">
                  <param name="movie" value="rotator.swf" />
                  <param name="quality" value="high" />
                  <embed src="rotator.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="952" height="445"></embed>
                </object></noscript></td>
              </tr>
            </table>
            <table width="950" border="0" align="center" cellpadding="0" cellspacing="0" onclick="MM_goToURL('parent','/gallery/gallery.html');return document.MM_returnValue">
                <tr>
                  <td width="940" height="39" align="left" valign="middle" class="b" onclick="MM_goToURL('parent','/gallery/gallery.html');return document.MM_returnValue" td><span class="style16">featured Bognogginz © creations...</span><span class="style21"> more</span></td>
                </tr>
              </table>
              <br /></td>
          </tr>
        </table>
        <br />
        <table width="1000" border="0">
          <tr>
            <td height="192"><table width="950" border="0" align="center">
              <tr>
                <td height="115" align="left" valign="top" class="style11"><div align="left">This website features images of original works of art created by Jim. Everything you see on this website is a one of a kind creation from the imagination of Jim Jenkins. No molds or mass production methods are used to create these collector pieces.</div></td>
              </tr>
            </table>
              <br />
              <table width="950" border="0" align="center">
                <tr>
                  <td width="559" align="left" valign="middle"><span class="style9"><a href="htp://www.milkm.com/bog/index.html" target="_self">home</a> | <a href="/gallery.html" target="_self">gallery</a> | <a href="/contact.html" target="_self">contact the artist</a> | <a href="/more.html" target="_self">more</a> | <a href="http://bognogginz.blogspot.com" target="_blank">blog</a></span></td>
                  <td width="375" align="right" valign="middle" class="style7 style18">all information and images copyright © 2009 by Jim Jenkins</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <table width="1024" border="0" align="center" cellpadding="5" cellspacing="0">
      <tr>
        <td width="1014" align="right" valign="top" class="style13"><a href="http://www.milkm.com/" target="_blank"><img src="http://www.milkm.com/stampOnDark.png" alt="This website by Milk!" width="81" height="18" border="0" /></a></td>
      </tr>
    </table>
    </body>
    </html>
    -->
    problem here :
    Really, all of you thank you so much for your help, it is appreciated more than you know! Thank you!

    Hi
    All I am seeing is your actual page layout, no code.
    But as you say it is an xml file (swf), it is more than likely that you have placed the swf and xml files in incompatible places. So without seeing your code, all I can suggest is to check the file placement of all items.
    PZ
    Can see the code now, for some reason it was rendering the code, not displaying it until I refreshed the page.
    Message was edited by: pziecina

  • Need help with Banner Rotator

    I'm trying to help a friend with the Flash Banner Rotator
    She needs to make the image clickable and pop up the scroll text box item exactly like when you rollOver the title and the scroll text box pops up.
    She wants the image to trigger the text box to open and close onRelease and onRollOut from the image.
    Here's the swf live:
    http://bgehome.com/index3.php
    Any help would be great
    This AS opens the Text Box
    textMc.scrolltxt.bg.onRollOver = function(){                                            // pop up scrolltxt
            mainContent["tex" + newPos]._y = thumbHeight - textMc.scrolltxt.bg._height;
            isReading = true;
        textMc.scrolltxt.bg.onRollOut = textMc.scrolltxt.bg.onReleaseOutside = function(){        // pop down scrolltxt
            if(!mainContent["tex" + newPos].scrolltxt.bg.hitTest(_root._xmouse, _root._ymouse, true)){
                mainContent["tex" + newPos]._y = thumbHeight - textMc.imtext._height;
                isReading = false;
    Full AS
    thumb.useHandCursor=false;
    // Thumb/ Banner Rotator //
    ///Initialisation //
    var bgmask:MovieClip = bckgrnd.duplicateMovieClip("bgmask"); // Create a mask to place on top of mainContent, which contains the images
    var contentWidth:Number = bgmask._width;
    bgmask._width = contentWidth;
    var XMLContent = new XML();                     // Create a new XML object
    XMLContent.ignoreWhite = true;               
    XMLContent.load("Banner.xml");                 // Load the XML content from Banner.xml (which is the name of the xml file) in XMLContent variable
    //XMLContent.load("Thumbnail.xml");            
    var cssStyle = new TextField.StyleSheet();        // Create a new StyleSheet object
    // Create Containers
    var mainContent:MovieClip = this.createEmptyMovieClip("mainContent",this.getNextHighestDepth());         // Contains thumbs
    leftBtn.swapDepths(mainContent);                                                                         // Make sure leftBtn ...
    rightBtn.swapDepths(leftBtn.getDepth + 1);                                                                // and rightBtn is on top of the mainContent
    var pieMc:MovieClip = this.createEmptyMovieClip("pie", this.getNextHighestDepth()); // Create movieClip which contains the pieLoader
    var format = new TextFormat();                                             // Make a new TextFormat
    format.font = "arial";                                                // with font PF Ronda Seven, if you want to change the font, do it here
    format.size = 18;                                                        // Font size, for pixel fonts use 8
    var mclListener:Object = new Object();                                     // Make event listener object
    var clipLoader = new MovieClipLoader();                                    // Make a MovieCLipLoader to load the images
    clipLoader.addListener(mclListener);                                    // The event listener is added to the MovieClipLoader object
    var iniNum:Number = 0;            // initional relative number for thumb/banner positioning
    var thumbHeight:Number;         // see xml document
    var thumbWidth:Number;            // see xml document
    var thumbSpace:Number;            // see xml document
    var contentPos_Y:Number;        // see xml document
    var thumbDir:String;            // see xml document           
    var dispThumbNumber:Number;        // see xml document
    var linkDestiny:String;            // see xml document
    var shiftTime:Number;            // see xml document
    var fadeInTime:Number;            // see xml document
    var easeSpeed:Number;            // see xml document
    var imagesTotal:Number;            // amount of thumbs
    var dwLoader:Number = 0;        // pie segment angle
    var arcVal:Number = 0;            // total pie angle
    var isReading:Boolean = false;  // boolean: set true when reading. When true the pieLoader will stop
    var prevXPosition:Number = 0;   // previous absolute x position
    var nextXPosition:Number = 0;    // next absolute x position
    var images;                        // image array
    // XML, CSS Loading //
    cssStyle.load("ThumbBannerRotator.css");
    XMLContent.onLoad = function() { // Couple xml parameters with program variables
        iniNum = 0;
        nextXPosition = 0;
        prevXPosition = 0;
        dwLoader = 0;
        arcVal = 0;
        // images = array with images and titles and webUrls
        images = XMLContent.firstChild.childNodes[0].childNodes;
        imagesTotal = images.length;
        // Other parameters
        thumbHeight         = XMLContent.firstChild.attributes.thumbHeight;
        thumbWidth             = XMLContent.firstChild.attributes.thumbWidth;
        startPos            = XMLContent.firstChild.attributes.startPos;
        easeSpeed             = XMLContent.firstChild.attributes.easeSpeed;
        linkDestiny            = XMLContent.firstChild.attributes.linkDestiny;
        thumbDir            = XMLContent.firstChild.attributes.thumbDir;
        dispThumbNumber        = XMLContent.firstChild.attributes.dispThumbNumber;
        shiftTime            = XMLContent.firstChild.attributes.shiftTime;
        fadeInTime            = XMLContent.firstChild.attributes.fadeInTime;
        // Calculate the other program variables
        contentPos_Y        = (bckgrnd._height - Number(thumbHeight))/2
        thumbSpace            = (contentWidth - dispThumbNumber*thumbWidth)/(Number(dispThumbNumber) +1);
        dwLoader            = 100 * 3.6 / (Number(shiftTime) * 24);
        mainContent._y = contentPos_Y; // Position form top
        bgmask._height = thumbHeight;
        bgmask._y = contentPos_Y;
        mainContent.setMask(bgmask);
        // Load the first images
        for(var i = 0; i < dispThumbNumber ; i++){
            loadImage(i,0,"load");
            loadText(i,0,"load");
    function shiftPic(direction:String){
        if (isReading == false){
            callPic(direction);
    function callPic(direction:String) { // Call images, captions and titles and add them to containers: mainContent   
        if(direction == "left"){
            var newPos:Number = (iniNum -1) % imagesTotal;                              // Calculate the relative position off the new image, this number corresponds with the index number from the image-array
            var remPos:Number = (iniNum+( Number(dispThumbNumber) - 1)) % imagesTotal;    // Calculate the relative position off the image that needs to be removed
            var prevPos:Number = iniNum % imagesTotal;                                    // Calculate the relative position off the images before the new image
            nextXPosition = prevXPosition + Number(thumbSpace) + Number(thumbWidth);    // Calculate the absolute x position = previous position + thumbSpace and thumbWidth, used in ease function
            prevXPosition = nextXPosition;                                                // Update prevPosition
            iniNum = iniNum - 1;                                                        // Substract the iniNumber
        if(direction == "right"){
            var remPos:Number = iniNum % imagesTotal;                                      // Calculate the relative position off the new image, this number corresponds with the index number from the image-array
            var newPos:Number = (iniNum+ Number(dispThumbNumber)) % imagesTotal;        // Calculate the relative position off the image that needs to be removed
            var prevPos:Number = (iniNum+(Number(dispThumbNumber) - 1)) % imagesTotal;  // Calculate the relative position off the images before the new image
            nextXPosition = prevXPosition - Number(thumbSpace) - Number(thumbWidth);    // Calculate the absolute x position = previous position + thumbSpace and thumbWidth
            prevXPosition = nextXPosition;                                                // Update prevPosition
            iniNum = iniNum + 1;
            if (newPos < 0){                                    //If newPos is negative, make it positive
                newPos = imagesTotal + newPos;
            if (remPos < 0){                                    //If remPos is negative, make it positive
                remPos = imagesTotal + remPos;
            if (prevPos < 0){                                    //If prevPos is negative, make it positive
                prevPos = imagesTotal + prevPos;
            loadImage(newPos, prevPos, direction);                // Load images and image titles
            loadText(newPos, prevPos , direction);                // Load titles and caption
            mainContent[remPos].removeMovieClip();                // remove the image with name "remPos"
            mainContent["tex" + remPos].removeMovieClip();        // remove the text with name tex"remPos"
            arcVal = 0;                                            // reset the pieLoader
    function loadImage(newPos:Number, prevPos:Number, direction:String){
        thumbURL     = images[newPos].attributes.thumbPath;                                            // Get thumbUrl from images-array   
        thumbMc = mainContent.createEmptyMovieClip(""+newPos, mainContent.getNextHighestDepth());    // Create new thumbMc movieClip variable
        thumbMc._alpha = 0;                                                                            // Alpha = zero for fade in effect
        if (direction == "left"){
            thumbMc._x = mainContent[prevPos]._x - Number(thumbWidth) - Number(thumbSpace);            // positioning of thumbMc
        if (direction == "right"){
            thumbMc._x = mainContent[prevPos]._x + Number(thumbWidth) + Number(thumbSpace);            // positioning of thumbMc
        if(direction == "load"){
            thumbMc._x = Number(thumbWidth*newPos) + Number(thumbSpace*(newPos+1)) ;                 // positioning of thumbMc
        addLoader(thumbMc);
        clipLoader.loadClip(thumbDir+thumbURL, thumbMc);                                            // Load the images in the thumbMc
    function loadText(newPos:Number, prevPos:Number, direction:String){
        thumbTitle  = images[newPos].attributes.title;                                                // Get title from images-array
        thumbDesc    = images[newPos].attributes.description;                                         // Get caption description from images-array
        textMc = mainContent.createEmptyMovieClip("tex"+newPos, mainContent.getNextHighestDepth()); // Create new titleMc moveClip variable
        if (direction == "left"){
            textMc._x = mainContent[prevPos]._x - Number(thumbWidth) - Number(thumbSpace);            // positioning of textMc
        if (direction == "right"){
            textMc._x = mainContent[prevPos]._x + Number(thumbWidth) + Number(thumbSpace);            // positioning of textMc
        if(direction == "load"){
            textMc._x = Number(thumbWidth*newPos) + Number(thumbSpace*(newPos+1)) ;                 // positioning of textMc
        textMc.attachMovie("scrollText" , "scrolltxt", textMc.getNextHighestDepth());               
        textMc.scrolltxt.bg._width = Number(thumbWidth);                                            // set background width   
        textMc.scrolltxt.main.content.styleSheet = cssStyle;                                        // set css style
        textMc.scrolltxt.main.content._width =  Number(thumbWidth) - 30;                            // set scrolltext components width
        textMc.scrolltxt.maskMc._width = Number(thumbWidth) - 10;                                    // set scrolltext components width
        textMc.scrolltxt.dragger._x = textMc.scrolltxt.bar._x = textMc.scrolltxt.upBtn._x  = textMc.scrolltxt.downBtn._x = textMc.scrolltxt.stripe._x = Number(thumbWidth) - 10; // positioning of scrolltext components
        textMc.scrolltxt.main.content.text = thumbDesc;                                                // set text
        textMc.scrolltxt.main.content.embedFonts = true;
        textMc.scrolltxt.main.content.selectable = false;
        textMc.scrolltxt.main.content.setTextFormat(format);                                         // set text format
        textMc.scrolltxt.main.content._height = textMc.scrolltxt.main.content.textHeight + 5;        // calculate height of text
        textMc.createTextField("imtext",1,0,0,thumbWidth,48);                                    // Create a textfield in the titleMc for the image title
        textMc.imtext.embedFonts = true;
        textMc.imtext.text = thumbTitle;                                                        // Add text
        textMc.imtext.selectable = false;
        textMc.imtext.textColor = 0xaddf99;                                                        // Set textColor to pink
        textMc.imtext.setTextFormat(format);                                                    // set text format
        textMc.imtext._x = Math.round((thumbWidth - textMc.imtext.textWidth)/2);
        textMc._y = thumbHeight - textMc.imtext._height;   
        textMc.attachMovie("arrow", "arrowMc", textMc.getNextHighestDepth());                    // add arrow
        textMc.arrowMc._x = Number(thumbWidth) - textMc.arrowMc._width;
        textMc.arrowMc._y = Number(textMc.arrowMc._height);
        textMc.arrowMc._alpha = 0;
        textMc.scrolltxt.bg.onRollOver = function(){                                            // pop up scrolltxt
            mainContent["tex" + newPos]._y = thumbHeight - textMc.scrolltxt.bg._height;
            isReading = true;
        textMc.scrolltxt.bg.onRollOut = textMc.scrolltxt.bg.onReleaseOutside = function(){        // pop down scrolltxt
            if(!mainContent["tex" + newPos].scrolltxt.bg.hitTest(_root._xmouse, _root._ymouse, true)){
                mainContent["tex" + newPos]._y = thumbHeight - textMc.imtext._height;
                isReading = false;
    function addLoader(thumb:MovieClip){                                    // Add a preloader to every thumbnail
        mainContent.attachMovie("smallLoader", "preloader" + thumb._name, mainContent.getNextHighestDepth());                // add preloader
        mainContent["preloader"+thumb._name]._x = thumb._x + (thumbWidth - mainContent["preloader"+thumb._name]._width) /2; // positioning
        mainContent["preloader"+thumb._name]._y = (thumbHeight - mainContent["preloader"+thumb._name]._height) /2;            // positioning
    mclListener.onLoadInit = function(thumb:MovieClip) {
        mainContent["preloader"+thumb._name].removeMovieClip();
        mainContent[""+thumb._name].onEnterFrame = function(){                 // Fade in Effect
            mainContent[""+thumb._name]._alpha += Number(fadeInTime);        // Every frame the alpha of the thumbnail is added by fadeInTime.
            if(mainContent[""+thumb._name]._alpha >= 100){
                delete mainContent[""+thumb._name].onEnterFrame;            // When fade in effect is done, remove the onEnterFrame funtion
    mclListener.onLoadComplete = function(thumb){                            // When a thumb is fully loaded, add button action
        thumb.onRelease = function(){                                        // When button released, execute function below
            var i = Number(thumb._name)%imagesTotal;   
                             // Go to a website defined in the xml document
        thumb.onRollOver = function(){                                        // make alpha of arrow 100 on roll over
            var i = Number(thumb._name)%imagesTotal;
            mainContent["tex" + i].arrowMc._alpha = 100;
        thumb.onRollOut = function(){                                        // make alpha of arrow 0 on roll over
            var i = Number(thumb._name)%imagesTotal;
            mainContent["tex" + i].arrowMc._alpha = 0;
    // Button and Position Handling ///
    // Left button
    leftBtn.onPress = function() {
        if (isReading == false){                                        // onPress call the next picture on the right
            callPic("left");
    leftBtn.onRollOver = function(){                                    // onRollOver move the arrow by 5 pixels
        if(isReading == false){
            leftBtn.arrow._x -= 5;
    leftBtn.onRollOut = leftBtn.onReleaseOutside = function(){
        if(isReading == false){
            leftBtn.arrow._x += 5 ;                                        // onRollOut reset the arrow
    // Right button
    rightBtn.onPress = function() {
        if(isReading == false){
            callPic("right");                                        // onPress call the next picture on the right
    rightBtn.onRollOver = function(){
      if(isReading == false){
        rightBtn.arrow._x += 5 ;                                    // onRollOver move the arrow by 5 pixels
    rightBtn.onRollOut = rightBtn.onReleaseOutside = function(){
        if(isReading == false){   
            rightBtn.arrow._x -= 5;                                    // onRollOut reset the arrow
    pieMc.onRelease = function(){                                    
        if (dwLoader != 0){                                         // Stops the pieLoader
            dwLoader = 0;
        else{
            dwLoader = 100 * 3.6 / (Number(shiftTime) * 24);        // Start the pieLoader
    // Easing function //
    //Used to give that cool ease effect on the mainContent, titleContainer and reflectContainer and dragger
    // Want to change the ease effect? check help document
    this.onEnterFrame = function() {                                    // Start endless loop, executed every time frame is updated    // If dragEase is false don't allow easing for the dragger
        if (dwLoader != 0 && isReading == false){                       
            arcVal += Number(dwLoader);                                    // new value of arcVal is the old value plus dwLoader
            pieMc.clear();
            pieMc.beginFill(0xaddf99, 100);                                // draw the pie shape with pink color,  you can change the color in this line
            pieMc.drawPie(bckgrnd._width - 20, 20, 90, -arcVal, 7);        // position the pieLoader, 90 = startAngle, 7 = radius
            pieMc.endFill();
        if (arcVal > 360){
            shiftPic("right");                                            // If the pie-angle = 360 call the next picture/thumbnail
            arcVal = 0;
        dx = (nextXPosition - mainContent._x) * easeSpeed;                // Calculates how much the mainContent needs to move, note that dx is becomming smaller and smaller when the mainContent reaches its final position.
        mainContent._x += dx;                                             // Move the mainContent
    MovieClip.prototype.drawPie = function(x, y, startAngle, arc, radius) {    // x, y = center point of the wedge.startAngle = starting angle in degrees.arc = sweep of the wedge. Negative values draw clockwise.
        this.moveTo(x, y);                                                        // move to x,y position
        var segAngle, theta, angle, angleMid, segs, startx, starty, anchx, anchy, contrx, contry;    // Init vars
        segs = Math.ceil(Math.abs(arc)/20);                                        // Devide the arc in 20 segments
        segAngle = arc/segs;                                                    // Calculate the sweep of each segment.
        theta = -(segAngle/180)*Math.PI;                                         // Convert to radions
        angle = -(startAngle/180)*Math.PI;                                        // Convert startAngle to radians
            startx = x + Math.cos(startAngle/180*Math.PI) * radius;                // Calculate curve start x position
            starty = y + Math.sin(-startAngle/180*Math.PI) * radius;            // Calculate curve start y position
            this.lineTo(startx, starty);                                        // Draw a line from the center to the start of the curve
            for (var i = 0; i<segs; i++) {                                        // Loop for drawing curve segments
                angle += theta;                                                    // Icrement angle with segAngle => theta (in radians)                               
                anchx = x+Math.cos(angle)*radius;                                    // Calculate parameters for curveTo function
                anchy = y+Math.sin(angle)*radius;                                    // Calculate parameters for curveTo function
                contrx = x+Math.cos(angle-(theta/2))*(radius/Math.cos(theta/2));    // Calculate parameters for curveTo function
                contry = y+Math.sin(angle-(theta/2))*(radius/Math.cos(theta/2));    // Calculate parameters for curveTo function
                this.curveTo(contrx, contry, anchx, anchy);                            // Draw the curve
            this.lineTo(x, y);                                                    // close the curve by drawing a line to the center

    As is always the case in this sort of situation, you ask the printer, or banner maker.  If you have a particular company in mond, they may have a website with guidelines, and that is going to be much better information than the guesses - good though 'some' of them might be.
    25' by 16' is huge.  Have you found somewhere that will make it?  This company will supply 25 foot long banners, at a surprisingly cheap $176, but only 3 foot high.  The problem being the width of the printer.
    http://www.allstatebanners.com/3x25-vinyl-banner

  • How to use Htm5 banner rotator and jqury responsive manue

    just purchased and installed HTML5 Banner Rotator and Jquery Responsive manu.  I need help or video tutorials on how to use these add-on in my dreamweave cc 2014 website. eg how do I adjust it to fit in my site

    Check with the developer's documents for your addons/extensions.  Failing that, we would need you to upload your test page and dependent files to a public web space you control and post the URL here so we can take a look at it.  Anything less is all guesswork.
    Nancy O.

  • Looking for a non XML driven Flash banner rotator

    I am looking for a non XML driven Flash banner rotator, something where I can load my images into the FLA and publish. The only rotators I can seem to find have external XML/image files, etc.
    All I want to do is create simple SWF's that I can use to display rotating images preferably is a smooth and stylish manner. Does anyone know of any, or could point me in the right direction?
    Many thanks for any help you may be able to offer and I am willing to follow any tutorials.

    Hi
    I wonder why not show you how to use Quicktime.
    Because I would use the html5 audio, that way the browser chooses the 'player' to use, and I wanted to give the OP the choice -
    <audio controls preload="auto" autobuffer>
      <source src="elvis.mp3" />
      <source src="elvis.ogg" />
      <!-- now include flash fall back -->
    </audio>
    PZ

  • Trouble getting banner rotator control buttons to line up. Please help!

    Hi guys,
    I had some help making a banner rotator and it all works fine but I can't get the control buttons to line up with each other properly.
    You can check my example by clicking here.
    Basically the left and right control arrows should align with the lights. Does anyone know how I can get them to line up?
    Thank you,
    S

    Spindrift wrote:
    I tried what you said and it kind of worked but I more want to bring the <ul> up to the level of the arrows, rather than giving the arrows a top margin to bring them down, if that makes sense. I want the black box to be a thin strip.
    Any other ideas?
    Add margin: 0; to your 'banner-rotation ul' css selector (as shown below)
    .banner-rotation ul {
        float: left;
        padding: 1px 0 0;
        width: 148px;
    height:11px;
    margin: 0;

  • Problem with Audio on HP Envy 6-1130sw (C6F62EA)

    Hello everyone.
    I have a problem with audio on my ultrabook HP Envy 6. Sometimes when I try to play music there are no low tones and music plays really silent... And then when I restart PC problem dissapears and music plays fine... I thought there is a problem with speakers, but when I connected 5.1 speakers there were also only high tones. Same thing happens on headphones. Is it a hardware problem or maybe software? Actually I use Windows 8.1 and drivers are up to date. If any one of you had same problem please post.
    Thanks. 

    Hi piotrek1130sw,
    From what you have described, I think the best approach would be to restore the original IDT driver, restart the computer, test that driver, then install the driver update, and test the outcome of installing the newest driver.
    Use the following link for instructions to recovery the ITD driver using Recovery Manager. Restoring applications and drivers.
    Once the driver is restored, restart the computer and test the audio. If the audio is good you can continue to use this driver, or you can reinstall the update and see what happens. IDT High-Definition (HD) Audio Driver.
    If installing the newest driver causes the issue to occur but the recovered driver worked, I suggest recovering again.
    If neither driver works I will gladly follow up and provide any assistance I can.
    Please let me know the outcome.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Importing P2 .mxf files with audio into AE CS4

    I hope this isn't the ultimate newbie question but, I have been working with After Effects for a few months but haven't need audio until now. Is there a different process for importing/exporting with audio? I have brought in the P2 video file but I don't think there is audio attached to it. When I export to a QT file, there is definitely no sound? Am I doing something wrong?
    Thanks in advance for any help.
    Kevin

    "FAQ: Why is there no sound (audio) in my output file?"
    "FAQ: How can I play or preview sound (audio)?"
    To make sure that you're importing the P2 audio essence files, follow the instructions here: "Import assets in Panasonic P2 format"

  • How do I connect an iPhone 5S or 6 with audio video cables?

    How do I connect an iPhone 5S or 6 with audio video cables? Our van only has these connections. Apple did have a cable that worked with the 4/4S, but it does not work with an adapter on the 5S. I want audio only.

    I Thought I probably was.
    something like this should work then, right?
    Belkin Y Audio Cable (12 foot) https://www.amazon.com/dp/B000067RBT/ref=cm_sw_r_awd_fYWzub11XY5MQ
    OR
    eForCity 3.5mm to RCA Auxiliary Cable Cord for iPod/MP3 https://www.amazon.com/dp/B0042DIZTE/ref=cm_sw_r_awd_R0Wzub1X33PD9
    thx SO much )

  • Problem with audio and vga adapter in presentations

    this is an odd problem. I potted a presentation that contained a qt movie. The video plays with sound just fine via the vga adapter until you plug in an external speaker system or earphone. the sound stops.
    if you play a video outside keynote or play the video with out the video vga adapter or just unplug from the audio jack it works fine. am I missing something or is this a bug. For the life of me I can not figure out what the VGA in keynote has to do with audio.
    John

    Dr. John, this might be a little simple of an answer, but is the video jack pushed all the way in?
    I had the same issue with my ipad playing a movie over a sound system and projecting it also, and discovered that the Apple issue iPad cover comes very close to interfering with the audio output jack, and that my plug into that jack wasn't all of the way in.
    After that it's worked fine.

  • I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the Component and Audio ports on my TV?

    I have an Retina display MacBook Pro with HMDI out port. I also have an HDMI to Component cable with Audio Plugs. How can I get HDMI out to work with this cable when plugged into the MacBook Pro and connected to the TVs Component and Audio in ports.

    Will not work.  To my knowledge, dual converting like that isn't supported.  The Mac must detect the connected video output device and that sort of info cannot be done across an analog component uni-directional connection.

  • Mini DVI to HDMI with audio. Where can I find it?

    I'm looking for a cable adapter (mini DVI to HDMI with audio) to my mac book air (2010). Where can I find it?

    DVI and miniDVI only transmit video-signals but no audio-signal.
    Regardless of the cable adapter you get (I don't have any recommendation) you always have to make a audio-cable connection between the MBA and the TV.
    Stefan

  • Can I put a Moshi Mini DisplayPort to HDMI Adapter (with audio) in a thunderbolt port in the new macBook Pro

    can I put a Moshi Mini DisplayPort to HDMI Adapter (with audio) in a thunderbolt port in the new macBook Pro, will it work?

    Should work perfectly.

  • Hi all, I'm trying to connect my macbook pro to Sony Bravia tv using Kanex Mini DisplayPort to HDMI Cable with Audio Support , when connected to the HDMI on tv I get a picture of the mac screen saver ( the starburst ) no video/audio,thanks, Derek

    Hi all, I'm trying to connect my macbook pro to Sony Bravia tv using Kanex Mini DisplayPort to HDMI Cable with Audio Support , when connected to the HDMI on tv I get a picture of the mac screen saver ( the starburst ) no video/audio,any ideas? thanks, Derek

    Dave I'm glad to say that it works perfectly but I'm embarrassed to say that my 12 year old nephew hooked it up in about 10 minutes.
    If you have the Kanex Mini DisplayPort cable it will work, what confused me was changing the display settings in System Preferences,
    and dragging the mac screen from the mac onto the tv. Sorry I cant be more helpful but you have the right cable now you need a 12 year old nephew.
    Good luck Derek

  • Any Mini DisplayPort to HDMI adapter with audio for macbook pro mid 2009

    connecting MacBook Pro (15-inch, Mid 2009) to Hisense TV with audio?!?!!?
    hello everyone.
    if anyone is familar with successfully getting the older macbook pros that dont support audio out to stream and preform digital audio on a TV or has any helpful information that will get me familiar with trying to successfully stream audio and visual. and can PLEASE HELP ME in any way to understand what they know and teach me how to solve my problem id really appreciate it.
    i want to connect my MacBook Pro (15-inch, Mid 2009) to my Hisense LED LCD TV, ModelNumber:40H3E  and getting digital audio sound from my TV as well as video, but have no clue on how or where to even start to successfully pairing the two and getting sound.
    I own a MacBook Pro (15-inch, Mid 2009) this MacBook model doesnt support an HDMI port. My MacBooks model has the Mini Displayport which supports video out but does not support audio out. Can someone help me by telling me exactly which Mini DisplayPort to HDMI adapter with audio will support my model MacBook Pro (15-inch, Mid 2009) and exactly what HDMI wire do i need to buy that will successfully preform digital audio and sadisfying quality visual through TV?
    i have NO expierence with the proccess have NO knowledge about any of this or these Mini DisplayPort to HDMI adapters with audio. i have no idea what kind of adapter and HDMI cord to buy that will give me sound from my tv for my type of macbook. '
    im not familar AT ALL with any of this so i hope me giving you my MacBook Pros make and model and my TV's model number will be enough information for someone to help me.
    just please give me anything you can on this topic
    thank you so much,

    With a 2009 MacBook Pro, you need to use two connections to your TV: one for video and another one for audio.  The miniDisplayPort on the 2009 models does not support audio, so you need a separate audio cable:
    miniDisplayPort adapter for video - I use the Apple miniDisplayport-DVI adapter + a DVI-HDMI cable like this one
    audio cable for audio - use a 3.5mm male stereo-to-2xRCA male cable like this one
    Connect the miniDisplayport adapter + DVI/HDMI cable to your MacBook Pro's miniDisplayPort output and the HDMI input on your TV
    Connect the audio cable to your MacBook Pro's audio out and your TV's audio in
    The only potential gotcha is if your Hisense TV requires audio via the HDMI cable when you use an HDMI cable.  The H3e user manual is unclear about this.

Maybe you are looking for

  • Stupid,annoying,s****y web browser is still freezing!!!!!!

    like i posted yesterday,ever since the stupid 8.0.1 update this c***** web browser has been freezing more then it was before. i would love to switch to google chrome or internet explorer,but google chrome freezes my computer up,and i can't get intern

  • User exit at billing and sales document level

    Hi, Like we use a quantity contract through that we create resource related billing order and thn do the billing of that order but in the resource related billing order user enters the data manually which can exceeds the quantity of the contract. Now

  • How do I maximise my media browser window?

    I've tried placing the cursor on the window and pressing the 'tilde' key (underneath 'escape') but nothing happens?

  • MIgrations programs in PM Module

    hai experts,    Can some one help me in listing all the predefined migration programs in PM Module?   I mean to say all the Bapi's, direct input methods etc....   Madhu

  • Keywords, Titles, and Comments don't travel - Sharing Pics with my PC

    What gives with iPhoto. Love it. Problem though. All the work I've put into adding key words, titles, and comments are only good in iPhoto. Why is this? Wouldn't those things be considered metadata and be stored in the file and then travel with that