[疑难] [问题已经解决] 在火狐和IE 下显示不完整

http://bbs.9ria.com/viewthread.php?tid=72657&extra=page%3D1%26amp;orderby%3Ddateline%26amp;filter%3D86400


import flash.display.Sprite;
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.sampler.NewObjectSample;
import flash.filters.ColorMatrixFilter;
import flash.text.TextField;
import flashx.textLayout.elements.BreakElement;
import flash.text.TextFormat;
import flash.display.MovieClip;

stop();
var myarray:Array=new Array();
mark_layer.mouseEnabled = false;
mark_layer.mouseChildren = false;
ring1.mouseEnabled = false;
ring1.mouseChildren = false;
ring2.mouseEnabled = false;
ring2.mouseChildren = false;

for (var n:int=1; n<52; n++)
{
        var my_title:TextField = this["name_text" + n];
        my_title.selectable = false;
        my_title.mouseEnabled = false;
}


for (var i:int=1; i<55; i++)
{
        var MY_Chart:MovieClip = this["chart_mc" + i];
        MY_Chart.addEventListener(MouseEvent.CLICK, btnChick);
        MY_Chart.addEventListener(MouseEvent.MOUSE_OVER, btnOver);
        MY_Chart.addEventListener(MouseEvent.MOUSE_OUT, btnOut);
        MY_Chart.mouseChildren = false;
        //MY_Chart.buttonMode = true;
}

// 点击;
function btnChick(e:MouseEvent):void
{

        if (mouseX > stage.stageWidth / 3 * 2)
        {
                mc_tip.gotoAndPlay(3);
        }
        else
        {
                mc_tip.gotoAndPlay(2);
        }

}


// 移动到上方;
function btnOver(e:MouseEvent):void
{
        mc_tip.visible = true;
        mc_tip.x = this.mouseX;
        mc_tip.y = this.mouseY;

        if (mouseX > stage.stageWidth / 3 * 2)
        {
                mc_tip.gotoAndPlay(3);
        }
        else
        {
                mc_tip.gotoAndPlay(2);
        }


        //菜单文字样式;
        var btntf = new TextFormat();
        btntf.color = 0x666666;
        btntf.font = "verdana";
        btntf.leading = 10;
        btntf.size = 12;
        mc_tip.my_title.setTextFormat(btntf);

        switch (e.target)
        {
                case chart_mc1 :
                        mc_tip.my_title.text = "Collaboration";
                        break;

                case chart_mc2 :
                        mc_tip.my_title.text = "Borderless Network";
                        break;

                case chart_mc3 :
                        mc_tip.my_title.text = "Virtualization";
                        break;

                case chart_mc4 :
                        mc_tip.my_title.text = "Data center";
                        break;

                case chart_mc5 :
                        mc_tip.my_title.text = "R/S";
                        break;
        }

        var mat:Array = [ 12,0,0,0,0,
        0,1,0,0,0,
        0,0,1,0,0,
        0,0,0,1,0 ];
        var colorMat:ColorMatrixFilter = new ColorMatrixFilter(mat);
        e.currentTarget.filters = [colorMat];
        trace(e.currentTarget.name ,e.target);
        

}



// 移走
function btnOut(e:MouseEvent):void
{
        var mat:Array = [ 1,0,0,0,0,
        0,1,0,0,0,
        0,0,1,0,0,
        0,0,0,1,0 ];
        var colorMat:ColorMatrixFilter = new ColorMatrixFilter(mat);
        e.target.filters = [colorMat];

        mc_tip.visible = false;
        mc_tip.gotoAndStop(1);

}



[疑难] [问题已经解决] 在火狐和IE 下显示不完整


点击时没有问题
但鼠标移动在上方时,如图上一样,显示的是残缺的。看上去像被其他东西遮挡了,但是上方实际上只有字my_title,且mc_tip(悬浮提示)位于最上层。

IE,  FF下有问题,直接使用flashPlaer播放器或 safari都没有问题。

出现问题的原因是无意间把侦数  改成了0.1侦每秒,刷新速度不够导致

你可能感兴趣的:(PHP,IE,Flash,bbs,Safari)