如题..
现在要弄的 是 flash + 图片 
希望各位高手给个解决办法.
我只能发100分的帖子.......

解决方案 »

  1.   

    http://www.svnhost.cn/Article/Detail-51.shtml
      

  2.   

     谢谢这个效果很好... 
    我现在想要的是 广告控件的 那种效果.中间还要有falsh.
      

  3.   

    你说的是asp.net的广告控件AdRorator的使用方法吗?这个好像只能支持图片flash好像不可以....
      

  4.   

    http://blog.csdn.net/rovecat/archive/2008/11/02/3204885.aspx
      

  5.   

     这个不是我想要的. 
    两个flash  刷新一次 变一个的那种.
      

  6.   

    http://www.7stk.com/,进这个网站看看,看有没有帮助。
      

  7.   

    纯js实现的AdRorator,随机取广告不过没有实现Impressions图片显示的权重<script>
    /*
      Edit by ShowBo
                --2008-5-11
      please keep this message above,thks.
    */
    function AdRorator(data){
      this.data=data;
      this.min=0;
      this.max=(data&&data.length)?data.length-1:0;
      this.adJson=null;
      this.getRnd=function(min,max){
        return Math.floor((max-min+1)*Math.random()+min);
      }
      this.getExt=function(Str){
        try{
          return /\.([^\.]+)$/.exec(Str)[1].toLocaleLowerCase();
        }catch(e){return "";}
      }
      this.getLineHTML=function(){
        return "<a href='"+this.adJson.naviUrl+"' target='"+(this.adJson.target?this.adJson.target:"_blank")+"' title='"+this.adJson.title+"'>"           
      }
      this.getSizeHTML=function(){
        return (this.adJson.width?" width='"+this.adJson.width+"px'":"")
               +(this.adJson.height?" height='"+this.adJson.height+"px'":"");
      }
      this.getSwfHTML=function(){
        return this.getLineHTML()
        +'<embed src="'+this.adJson.imgUrl+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"'
        +' type="application/x-shockwave-flash"'+this.getSizeHTML()+'></embed></a>';
      }
      this.getImageHTML=function(){
        return this.getLineHTML()
               +"<img src='"+this.adJson.imgUrl+"' border='0' alt='" +this.adJson.title+"'"+this.getSizeHTML()+"/></a>";
      }
      this.getOtherHTML=function(){
        return this.getLineHTML()+"点击查看\""+this.adJson.imgUrl+"\"</a>";
      }
      this.createHTML=function(){
        if(this.max==this.min)return "";
        this.adJson=this.data[this.getRnd(this.min,this.max)];
        var adHTML="";
        switch(this.getExt(this.adJson.imgUrl)){
          case "swf":
            adHTML+=this.getSwfHTML();
            break;
          case "gif":
          case "jpg":
          case "bmp":
          case "png":
            adHTML+=this.getImageHTML();
            break;
          default:
            adHTML+=this.getOtherHTML();
            break;
        }
        return adHTML;
      }
    }
    //需要注意的是数据结构
    var data=[{imgUrl:"http://b2b.lvyou168.cn/images/cttc.swf",naviUrl:"http://www.lvyou168.com",title:"中国旅游俱乐部",target:"_self",width:170,height:50}
             ,{imgUrl:"http://www.chinabn.org/cbntravel/images/logo.gif",naviUrl:"http://www.chinabn.org/cbntravel/",title:"中商世界游"}
             ,{imgUrl:"hello.txt",naviUrl:"http://www.chinabn.org",title:"中国商务集团"}];var ad=new AdRorator(data);
    document.write(ad.createHTML())
    </script>