Flex——ÃüÁî¹ÜÀí£¬UndoÀ´RedoÈ¥
Ç°ÑÔ
Undo£¬RedoÊDZ༻·¾³Àï³£¼ûµÄ²¢Çҷdz£ÖØÒªµÄ¹¦ÄÜ£¬ÏÂÃæ½éÉÜ¡¾ÃüÁîģʽ¡¿ÔÚFlex/AS3ϵÄʵÏÖ¡£
ICommand½Ó¿Ú
¶¨ÒåICommand½Ó¿Ú£¬ÆäÖÐExecuteºÍUnExecuteÊÇÏà·´µÄ2¸ö²Ù×÷£¬TitleÊôÐÔÓÃÓÚÃüÁîÏÔʾ£¬ÀýÈçÏÔʾÔÚ²Ù×÷ÀúÊ·ÁбíÀï¡£
package cwn.wb.ui.core.command
{
import cwn.core.IDispose;
public
interface ICommand extends IDispose
{
function
get Title():String
function Execute():void
function UnExecute():void
}
}
CommandBase»ùÀà
CommandBaseÀàÖ÷ҪʵÏÖICommand½Ó¿Ú£¬ËùÓÐCommandÀ඼½«¼Ì³ÐCommandBaseÀà¡£
package cwn.wb.ui.core.command
{
import cwn.core.IDispose;
public
class CommandBase implements ICommand
{
public
function CommandBase()
{
}
//===================ICommand========================
protected
var _Title:String;
public
function
get Title():String
{
return _Title;
}
public
function Execute():void
{
throw
new Error("Not implementation.");
}
pub
Ïà¹ØÎĵµ£º
Top 10 things new Flex developers should know
By Michael Portuesi | Published: November 27, 2009
While helping a coworker get started with Flash and Flex development, I thought it would be a good time to cover the list of things that I have found pretty essential to know about Flex development, co ......
FlexÖеı¾µØ¹²Ïí¶ÔÏó--SharedObject
±¾µØ¹²Ïí¶ÔÏóÓÐʱ±»³Æ×÷“Flash Cookie”£¬ËüÊÇÒ»¸öÊý¾ÝÎļþ£¬¿ÉÒÔÓÉËù·ÃÎʵÄÕ¾µãÔÚÄúµÄ¼ÆËã»úÉÏ´´½¨¡£ÔÚFlashÖÐÌṩÁËÏÂÃæµÄ²Ù×÷±¾µØ¶ÔÏóµÄ·½·¨£º
SharedObject.clear() ɾ³ý±¾µØ¹²Ïí¶ÔÏó£»
SharedObject.flush() Á¢¼´°Ñ¹²Ïí¶ÔÏóÊý¾ÝдÈë±¾µØÎļþ£»
SharedObject.getLoc ......
µÇ½ҳÃæ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
<mx:Script>
<![CDATA[
import mx.messaging.messages.HTTPRequestMessage;
import mx.rpc.http.HTTPService;
import mx. ......
Flex
ÊÇÒ»¸ö¿ªÔ´µÄÓ¦Óÿª·¢¿ò¼Ü£¬ÓÃÀ´¹¹½¨ÔËÐÐÔÚweb£¨Ê¹Óà Flash Player£©»òÕß×ÀÃæÉÏ£¨Ê¹ÓÃAdobe
AIR£©µÄ¸»InternetÓ¦Óá£AdobeµÄFlex¿ª·¢ÕßÖÐÐÄÓÐһƪÎÄÕÂÌÖÂÛÁ˹ØÓÚFlexÐÔÄܵÄ×î¼Ñʵ¼ù£¬°üÀ¨ÁËÈÝÆ÷µÄʹÓÃϸ½Ú£ºFlex×î´óµÄ
ÐÔÄÜ·çÏÕÀ´×ÔÓÚ¶ÔÈÝÆ÷µÄÀÄÓá£ÔÚAdobe FlexÖÐÓдóÁ¿¿ÉÑ¡µÄÌØÐÔ£¬ÄãÓ¦¸Ã¿¼ÂÇÔÚÄãµÄÓ¦ÓÃÖÐʹÓÃËüà ......