Flex ¿Ùͼ³ÌÐò
ÏîÄ¿ÖУ¬Óû§×Ô¶¨ÒåÍ·Ïñ¹¦ÄÜÒªÇóʵÏÖÓû§×Ô¶¨ÒåÍ·Ïñ£¬²¢ÇÒ¿ÉÒÔ×ÔÓÉÑ¡ÔñͼƬָ¶¨ÇøÓò×÷ΪͷÏñÏÔʾ¡£ ڤ˼¿àÏ룬ÕÒÁË°ëÌì×ÊÁÏ£¬ÖÕÓÚÕÒµ½Ò»ÆªÏà¹ØÎÄÕ£¬²¢ÌṩÁËÔ´´úÂë¡£ËäÈ»ÑÛ¿´ÓÐÁËüĿ£¬µ«ÊÇËÆÐзÇÐС£ http://www.flashas.net/html/flashasyy/20080423/2950.html £¨BitmapData¿Ùͼ £©AS3ʵÏÖ¡£ µ«ÊÇ£¬ÕⶫÎ÷ÒªÅÜÔÚFlexÖУ¬»¹ÐèÒªµ÷Õû¡£¾¹ý×Ô¼ºÒ»Õó×ÓµÄϹµ·¹¾.... ×ÜËã»ù±¾¹¦ÄÜʵÏÖÁË¡£8´í~¼Ç¼¹þÀ´~£¡ÃâµÃÒÔºóÖظ´ÔìÂÖ×Ó~ºÙºÙ£¡Ò²¸øÓÐÐèÒªµÄÅóÓÑһЩ²Î¿¼£¡ ÒÔÏÂÊÇʵÏÖ´úÂ룺·â×°Àà CutImageTest £¨Ñ¡ÔñÖ¸¶¨ÇøÓòÏÔʾ£© package { view plaincopy to clipboardprint?
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import flash.geom.*;
import mx.controls.Image;
import mx.core.UIComponent;
/** * @author CYPL * ÉèÖÃͼƬԪ¼þʵÀýÃûΪImage */
public class CutImageTest extends UIComponent {
private var _imageBitmapData : BitmapData;
private var _imageHotAreaData:BitmapData;
private var _imageBitmap : Bitmap;
private var _mouseRectContainer:Sprite;
private var _mouseRe
Ïà¹ØÎĵµ£º
¸ÅÊö
ÓÎÏ·¿ª·¢ÊǸöºÜ´óµÄ¿ÎÌ⣬¸ÃϵÁÐÖ»¼òµ¥½²ÊöÈçºÎʹÓÃFlex¼¼Êõƽ̨´î½¨Ò»¸ö¼òµ¥µÄÓÎÏ·¿ò¼Ü£¬ÈçºÎÉè¼ÆÄÜÓÅ»¯ÓÎÏ·µÄCPUÕ¼Óã¬ÄÚ´æµÈ£¬×îºóÖÆ×÷Ò»¸öÍêÕûµÄFlexСÓÎÏ·(ÌṩԴÂë)¡£
ÓÎÏ·µÄ³ÊÏÖ
·½Ê½1£ºÔª¼þ·½Ê½
ÕâÖÖ·½Ê½±È½ÏÊʺÏСÐ͵ÄÓÎÏ·£¬ÓÎÏ·Ôª¼þÊýÁ¿ÉÙµÄÇé¿ö¡£µ±ÓÎÏ·Ôª¼þÊýÁ¿´óʱ¾Í²»ºÏÊÊÁË£ºÔª¼þ»á¶ÔÓÎϷͼÐΡ¢ÒôÆ ......
Æäʵһ°ãµÄÇé¿öÏÂÊDz»»áÓõ½ÕâÖÖÇé¿öµÄ£¬Ò»°ãÔÚ³ÌÐòÀ±ÈÈçÑ¡ÖÐÒªÌîдµÄÏîÄ¿£¬¶¼Ï²»¶ÓÐÒ»¸öÑ¡ÖеÄ״̬£¬µ«ÊÇÏÖÔÚÎÒÃÇÀ´¸ö·´ÆäµÀ¶øÐÐ,Èç¹ûÎÒ²»ÏëÒªÕâ¸ö״̬¸ÃÔõô°ìÄØ?
²Î¿¼ÁËЩ×ÊÁÏ,ÆäʵҲ¼òµ¥,Óкü¸ÖÖ·½·¨£¬µ«ÊÇ·¢ÏÖÁËÒ»¸ö×îÓÐÓõķ½·¨,Ê×ÏÈÎÒÃÇÔÚÎę̀ÉÏËæÒâ·Å¼¸¸öTEXTINPUT ......
ÎʸöÎÊÌâ ×î½üÔÚѧϰFlex¡£¡£¡£ÕÕ×ÅÍøÉÏ×ÊÁÏ£¬ÔÚMyEclipseÖÐÍê³ÉÁËFlexÓëwebÏîÄ¿ÕûºÏ
ÔÚ×öÆÕͨFlexÔËÐвâÊÔÊÇÊÇûÓÐÎÊÌâµÄ£¬µ«Èç¹ûÏëµ÷ÓÃjavaÀ࣬°´ÕÕÍøÉϵÄ×ö·¨£¬ÊÇÒª¸ü¸Ä¸ÃÄ¿
¼ÏµÄremoting-config.xml£¬µ«ÊÇÎÒ×Ô¶¯Éú³ÉµÄWebRoot/WEB_INFO/flexĿ¼ÏÂÃæ½ö½öÖ»ÓÐ
services-config.xmlÒ»¸öÎļþ£¬ÕâÊÇʲôÔÒò£¿£¿ÎÒµÄÊÇ ......
ÎÊÌâÃèÊö£º
ÊäÈëÒ»¸öÊý£¬È»ºó°´Ä³¸öÔËËã·û£¬ÔÙÊäÈëÁíÒ»¸öÊý£¬°´µÈºÅ¼´¿ÉµÃ³ö½á¹û¡£Ö»°´ÕÕÊäÈë˳Ðò¼ÆËã½á¹û£¬¶ø·Ç°´ÕÕÔËËã·ûÓÅÏȼ¶À´µÃ³ö½á¹û£¬¼´£¬Èç¹û°´Ë³ÐòÊäÈë2+8*3£½»áµÃµ½30£¬¶ø·Ç26.
Ëã·¨ÃèÊö£º
¶¨ÒåÈý¸öÈ«¾Ö±äÁ¿£¬·Ö±ðÊÇfirst£¨Number£©£¬ second£¨Number£©£¬ symbol£¨String£©
first´ú±í¶þÄ¿ÔËËãÖеÚÒ»¸öÊý£¬se ......
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/09/04/adding-animations-and-effects-to-flex-tool-tips/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertic ......