浏览模式: 普通 | 列表
A上放N多B。如果想鼠标经过任何一个B的时候,让该MC置于最顶层。

A.setChildIndex(e.currentTarget,(A.numChildren-1));
                             
import flash.filters.ColorMatrixFilter;
var matrix:Array = [ 0.5,0.5,0.082,0,0,0.5,0.5,0.082,0,0,0.5,0.5,0.082,0,0,0,0,0,1,0 ];
                             
var str:String=my_xml.txt[0];
for(var i:uint=0;i<str.length;i++){
str=str.replace("&lt;","<")
                             
if(stage)
        {
          addStageEvents();
        }else
        {
          addEventListener(Event.ADDED_TO_STAGE, addStageEvents);
                             
AS3:
//全屏部分

import flash.display.StageScaleMode;
stage.scaleMode = StageScaleMode.NO_SCALE ;