Will to it is OK that the graph is made level, upend, the effect that retroflexions arbitrarily. Support dynamic style, support fixed size set only. Cannot detect the current volume of Mc, because block overspreads the area of the area outside and font casing,can increase come out white casing.
Code is as follows: Import Flash.display.BitmapData;Import Flash.geom.Matrix;Import Com_zszen.spirit.create;Function Mirror(mc:MOvieClip, objSet:OBject, newMC:STring, type:STring) {Var Bd:BItmapData = New BitmapData(objSet.width, objSet.height, true, 0);Var Tmc:MOvieClip = Create.Movie(mc. _parent, newMC);Var Bmc:MOvieClip = Create.Movie(tmc, “Mc” );Bd.draw(mc);Bmc.attachBitmap(bd, 1);Switch (type) {Case “h” : Bmc. _x =objSet.widthBmc. _xscale = -100;Break;Case “v” : Bmc. _y = ObjSet.heightBmc. _yscale = -100;Break;Case “hv” : Bmc. _x = ObjSet.widthBmc. _xscale = -100;Bmc. _y =objSet.heightBmc. _yscale = -100;Break;Case “vh” : Bmc. _x =objSet.widthBmc. _xscale = -100;Bmc. _y =objSet.heightBmc. _yscale = -100;Break;Default:
}Return Tmc;
}OnEnterFrame=function () {Var Tmc = Mirror(mc, {width:120, height:106} , “MirrorMe” , “H” );Tmc. _x = Mc. _x 119;Tmc. _y = Mc. _y;Var Tmc = Mirror(mc, {width:120, height:106} , “MirrorMe2″ , “V” );Tmc. _x = Mc. _x;Tmc. _y = Mc. _y 105;Var Tmc = Mirror(mc, {width:120, height:106} , “MirrorMe3″ , “Hv” );Tmc. _x = Mc. _x 119Tmc. _y = Mc. _y 105;
};
Bookmark:Digg Del.icio.us Reddit
