flex ³£ÓÃÔª±êÇ©½²½â
Flex
ÒýÈëÁËÔªÊý¾Ý±êÇ©µÄ¸ÅÄ´ó¶àÊýÈ˶¼Ê¹ÓùýµÄ
[Bindable]
±êÇ©±ãÊÇÆäÖеÄ
meta tag
Ö®Ò»£¬ËüÔÚ´úÂëÖеÄ×÷ÓþÍÊÇÏò±àÒëÆ÷ÌṩÈçºÎ±àÒë³ÌÐòµÄÐÅÏ¢¡£Êµ¼ÊÉÏ£¬ÕâЩ±êÇ©²¢Ã»Óб»±àÒëµ½Éú³ÉµÄ
SWF
ÎļþÖУ¬¶øÖ»ÊǸæËß±àÒëÆ÷ÈçºÎÉú³É
SWF
Îļþ¡£
adobe
¹ÙÍø
http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_3.htmlÏêϸ½²½âÁË
16ÖÖ
meta
µÄʹÓ㬼òµ¥ÈçϱíËùʾ¡£
Tag
Description
[ArrayElementType]
Defines the allowed data type of each element of an Array.
[Bindable]
Identifies a property that you can use as the source of a data
binding expression.
[DefaultProperty]
Defines the name of the default property of the component when you
use the component in an MXML file.
[Deprecated]
Marks a class or class element as deprecated so that the compiler
can recognize it and issue a warning when the element is used in an
application.
[Effect]
Defines the MXML property name for the effect.
[Embed]
Imports JPEG, GIF, PNG, SVG, and SWF files at compile time. Also
imports image assets from SWC files.
[Event]
Defines the MXML property for an event and the data type of the
event object that a component emits.
[Exclude]
Omits the class element from the Flex Builder tag inspector. The
syntax is as follows:[Exclude(name="label",
kind="property")]
[ExcludeClass]
Omits the class from the Flex Builder tag inspector. This is
equivalent to the @private tag in ASDoc when applied to a class.
[IconFile]
Identifies the filename for the icon that represents the component
in the Insert bar of Adobe Flex Builder.
[Inspectable]
Defines an attribute exposed to component users in the attribute
hints and Tag inspector of Flex Builder. Also limits allowable values of the
property.
[InstanceType]
Specifies the allowed data type of a property of type
IDeferredInstance.
[NonCommittingChangeEvent]
Identifies an event as an interim trigger.
[RemoteClass]
Maps the ActionScript
Ïà¹ØÎĵµ£º
×î½ü¿´ÁËflexÏà¹Ø×ÊÁÏ£¬ÐĵÃÌå»áÈçÏ£º
Flex³ÌÐò°üÀ¨£º
1.flex framework
2.MXML ³ÌÐòÖ÷Îļþ£¬»ùÓÚxmlµÄÒ»ÖÖʵÏÖ¡£
3.Actionscript 3.0 ÀàËÆJSµÄÒ»Öֽű¾
4.CSS Ñùʽ
5.ͼÐÎ×ÊÔ´ ͼ±êÖ®ÀàµÄ¶«¶«
6.Êý¾Ý
Flex±àÒë·¢²¼¹ý³Ì£º
FlexÓ¦ÓóÌÐò±»±àÒë³ÉÒ»¸öSWFÎļþ£¬È»ºóÔÚFlash PlayerÏÂÔËÐС£µ±Ô´´úÂë±»±àÒëÊÇ£¬Ëü¾Í±»× ......
Ö÷³ÌÐò´úÂ룺
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
xmlns:mdi="ext.containers.windows.mdi.*"
width="100%"
height= ......
½ñÌìÔÚ×öÏîĿʱºò£¬ÔÚ¿ªÊ¼ÏîĿʱºòÓÐÒ»¸öºÜÖØÒªµÄÎÊÌ⣬¾ÍÊÇÔÚ×ö»ÃµÆµÄÏîĿʱºò£¬ÒòΪ³õʼ»¯µÄʱºò½«Í¼Æ¬È«²¿¼ÓÔØ½ø³ÌÐò£¬Ôì³ÉÏîÄ¿Æô¶¯µÄʱºò£¬»úÆ÷¾Í±ÀÀ£ÁË£¬ÒòΪÏîÄ¿ÒѾÍê³ÉÁË£¬Ö»ÄÜÏëһЩ²¹¾ÈµÄ·½·¨£¬¾ÍÊÇÀûÓÃflashplayµÄÀ¬»ø»ØÊÕ£¬ÒÔÏÂÊÇÁ½ÖÖ·½·¨¡£
1. flash.system.System.gc();
2. try
& ......
flex Ò³ÃæÌø×ª
·½·¨Ò»£ºÊ¹ÓÃnavigateToURL
var url:String = "http://localhost/flex/test.jsp";
var request:URLRequest = new URLRequest(url);
navigateToURL(request,"_self");
·½·¨¶þ£ºÒýÓÃflashÖÐµÄ import flash.external.ExternalInterface Õâ¸ö½Ó¿Ú
ËûÄÜÌṩÏñjsÖÐwindow.location.href·½·¨Ò»Ñù·½±ã
Extern ......
servlet ¶Ë£º
String userId = request.getParameter("userId");
System.out.println(userId);
response.setCharacterEncoding("UTF-8");
response.getWriter().println("hello world -- ÎÒ°®Äã¡£¡£¡£");
Flex ǰ̨¶Ë
<fx:Script>
<![CDATA[
import flash.trace.Trace;
private var loader:UR ......